EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: areadetector dbExpand.pl error: Braces must be closed in the same file they open in.
From: Mark Rivers <[email protected]>
To: "'Heinz Junkes'" <[email protected]>, "[email protected] ([email protected])" <[email protected]>
Date: Fri, 9 Jan 2015 15:16:06 +0000
I have never encountered this error.  What version of areaDetector and what version of EPICS base are you using?

This is the command that was executing for you when building for linux-x86_64 in that directory:

make[6]: Entering directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
Creating dbd file simDetectorApp.dbd
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd -I/home/h1/EPICS/support/asyn4-25/dbd -I/home/h1/EPICS/support/areaDetector/ADCore/dbd -I/home/h1/EPICS/support/calc-3-4/dbd -I/home/h1/EPICS/support/busy-1-6-1/dbd -I/home/h1/EPICS/support/sscan-2-10/dbd -I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd


This is the command that was executing for me:

make[3]: Entering directory `/home/epics/devel/areaDetector-2-1/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
perl /corvette/usr/local/epics/base-3.14.12.4/bin/linux-x86_64/makeIncludeDbd.pl simDetectorSupport.dbd commonDriverSupport.dbd simDetectorAppInclude.dbd
echo "../O.Common/simDetectorAppInclude.dbd : ../Makefile" >> simDetectorApp.dbd.d
Expanding dbd
Installing created dbd file ../../../dbd/simDetectorApp.dbd

Note that your perl command has a "-CSD" flag and yours is executing "dbdExpand.pl" while mine is executing "makeIncludeDbd.pl".  I am running ADCore R2-2 pre-release (but basically the same as R2-1) and EPICS base 3.14.12.4.  Just before I ran "make" I ran "make clean uninstall" in the simDetectorIOC directory.

Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Heinz Junkes
Sent: Friday, January 09, 2015 8:58 AM
To: [email protected] ([email protected])
Subject: areadetector dbExpand.pl error: Braces must be closed in the same file they open in.

running into following trouble:

...
make[5]: Entering directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[6]: Entering directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
Creating dbd file simDetectorApp.dbd
perl -CSD /home/h1/EPICS/base/bin/linux-x86_64/dbdExpand.pl  -I. -I.. -I../O.Common -I../../../dbd -I/home/h1/EPICS/base/dbd -I/home/h1/EPICS/support/asyn4-25/dbd -I/home/h1/EPICS/support/areaDetector/ADCore/dbd -I/home/h1/EPICS/support/calc-3-4/dbd -I/home/h1/EPICS/support/busy-1-6-1/dbd -I/home/h1/EPICS/support/sscan-2-10/dbd -I/home/h1/EPICS/support/autosave-5-5/dbd -o simDetectorApp.dbd simDetectorSupport.dbd commonDriverSupport.dbd
dbdExpand.pl: Leaving context "file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'", found "file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/NDPluginSupport.dbd'" instead.
		Braces must be closed in the same file they open in.
Context: file '/home/h1/EPICS/support/areaDetector/ADCore/dbd/commonDriverSupport.dbd'
  while reading 'commonDriverSupport.dbd' to create 'simDetectorApp.dbd'
dbdExpand.pl: Exiting due to errors
make[6]: *** [../O.Common/simDetectorApp.dbd] Error 255
make[6]: Leaving directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src/O.linux-x86_64'
make[5]: *** [install.linux-x86_64] Error 2
make[5]: Leaving directory `/home/h1/EPICS/support/areaDetector/ADCore/iocs/simDetectorIOC/simDetectorApp/src'
make[4]: *** [src.install] Error 2
...

and don't know how to fix it ;-)

Where should I look? Which file may really cause the error?

Cheers,
Heinz




Replies:
Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
References:
areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz Junkes

Navigate by Date:
Prev: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz Junkes
Next: Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz Junkes
Next: Re: areadetector dbExpand.pl error: Braces must be closed in the same file they open in. Heinz P. Junkes
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024