Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP (32bit)
From: "Zhan Zhang" <zhanzhang@anl.gov>
To: "'Janet Anderson'" <jba@aps.anl.gov>
Cc: tech-talk@aps.anl.gov
Date: Fri, 20 May 2011 16:06:39 -0500
Hi Janet,

	Actually, I was using 
		SHARED_LIBRARIES=YES and STATIC_BUILD=NO.  
	I saw your message answering to Kaz's question and double-checked
before I asked.  So I thought it would not be the problem.

	But after I run into sscan problem, (and asyn, too), I found an old
thread where Mark Rivers suggested using 
		SHARED_LIBRARIES=NO  and STATIC_BUILD=YES
	And Tim Mooney just pointed that problem out a moment ago.  

	So I went back change the options and did the Base 3.14.12.1
installation again.  Now it works!  I checked again, and sure, for 3.14.11,
I used the former option set and it worked.  Apparently it is not for
3.14.12.  I guess something is changed between the two version?
	
	Now I am recompiling the synApp and hope things work better there,
too.  

	Thanks all for the help!

Zhan
---------------------------------
Zhan Zhang, Ph. D.
Argonne National Laboratory
X-ray Science Division, 438-D005
9700 S. Cass Ave.
Argonne, IL 60439
Tel : 630-252-0863
Email: zhanzhang@anl.gov

-----Original Message-----
From: Janet Anderson [mailto:jba@aps.anl.gov] 
Sent: Friday, May 20, 2011 3:30 PM
To: Zhan Zhang
Cc: tech-talk@aps.anl.gov
Subject: Re: Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP
(32bit)

This can happen if you have  both SHARED_LIBRARIES=YES and  
STATIC_BUILD=YES?

 From the CONFIG_SITE file:

#     NOTE WIN32: YES results in a DLL.  Valid settings are
#                   SHARED_LIBRARIES=YES and STATIC_BUILD=NO
#                   SHARED_LIBRARIES=NO  and STATIC_BUILD=YES


Janet



Zhan Zhang wrote:
> Hi EPICS folks,
> 	When trying to compile base 3.14.12.1 on my Cygwin installation on
> WinXp (32 bit), I got the error message about parse.c (attached at the
end).
> It is fairly similar to what Kaz described late last year in this thread--
> 	http://www.aps.anl.gov/epics/tech-talk/2010/msg02120.php
> 	However, in my case, I am not compiling for win32-x86 but for
> cygwin-x86.  There should be no '\\' problem for the paths.  I also
checked
> the file permission and my antelope.exe file is executable, both in
> Windows-native and Cygwin environment.  Similar to Kaz's experience, I had
> no problem compiling 3.14.11.  I am using Gnumake 3.8.1 coming with my
> Cygwin installation, though I am not sure hold old my cygwin is.  I kind
of
> remember that compiling 3.14.8.2 for win32-x86, I had to use 3.8.0 to deal
> with the '\\' problem.  But I just don't know how to get make-3.8.0 to
work
> with 3.14.12, because in RULES.TARGET, there is comments about 3.8.1 and
> later only.  I could not get pass that with 3.8.0.  For now, I will stick
> with 3.14.11.  But I just wonder what could cause my problem.  
> 	Thanks!
>
> Here goes the error message (between ****)--
> **********************************
> $ make
> make -C ./configure install
> make[1]: Entering directory `/usr/local/base-3.14.12.1/configure'
> make -C O.cygwin-x86 -f ../Makefile TOP=../.. T_A=cygwin-x86 install
> make[2]: Entering directory
> `/usr/local/base-3.14.12.1/configure/O.cygwin-x86'
> make[2]: Nothing to be done for `install'.
> make[2]: Leaving directory
> `/usr/local/base-3.14.12.1/configure/O.cygwin-x86'
> make[1]: Leaving directory `/usr/local/base-3.14.12.1/configure'
> make -C ./src install
> make[1]: Entering directory `/usr/local/base-3.14.12.1/src'
> make -C ./tools install
> make[2]: Entering directory `/usr/local/base-3.14.12.1/src/tools'
> make -C O.cygwin-x86 -f ../Makefile TOP=../../.. T_A=cygwin-x86 install
> make[3]: Entering directory
> `/usr/local/base-3.14.12.1/src/tools/O.cygwin-x86'
> make[3]: Nothing to be done for `install'.
> make[3]: Leaving directory
> `/usr/local/base-3.14.12.1/src/tools/O.cygwin-x86'
> make[2]: Leaving directory `/usr/local/base-3.14.12.1/src/tools'
> make -C ./makeBaseApp install
> make[2]: Entering directory `/usr/local/base-3.14.12.1/src/makeBaseApp'
> make -C O.cygwin-x86 -f ../Makefile TOP=../../.. T_A=cygwin-x86 install
> make[3]: Entering directory
> `/usr/local/base-3.14.12.1/src/makeBaseApp/O.cygwin-x86'
> make[3]: Nothing to be done for `install'.
> make[3]: Leaving directory
> `/usr/local/base-3.14.12.1/src/makeBaseApp/O.cygwin-x86'
> make[2]: Leaving directory `/usr/local/base-3.14.12.1/src/makeBaseApp'
> make -C ./makeBaseExt install
> make[2]: Entering directory `/usr/local/base-3.14.12.1/src/makeBaseExt'
> make -C O.cygwin-x86 -f ../Makefile TOP=../../.. T_A=cygwin-x86 install
> make[3]: Entering directory
> `/usr/local/base-3.14.12.1/src/makeBaseExt/O.cygwin-x86'
> make[3]: Nothing to be done for `install'.
> make[3]: Leaving directory
> `/usr/local/base-3.14.12.1/src/makeBaseExt/O.cygwin-x86'
> make[2]: Leaving directory `/usr/local/base-3.14.12.1/src/makeBaseExt'
> make -C ./libCom install
> make[2]: Entering directory `/usr/local/base-3.14.12.1/src/libCom'
> make -C O.cygwin-x86 -f ../Makefile TOP=../../.. T_A=cygwin-x86 install
> make[3]: Entering directory
> `/usr/local/base-3.14.12.1/src/libCom/O.cygwin-x86'
> make[3]: Nothing to be done for `install'.
> make[3]: Leaving directory
> `/usr/local/base-3.14.12.1/src/libCom/O.cygwin-x86'
> make[2]: Leaving directory `/usr/local/base-3.14.12.1/src/libCom'
> make -C ./toolsComm install
> make[2]: Entering directory `/usr/local/base-3.14.12.1/src/toolsComm'
> make -C ./antelope install
> make[3]: Entering directory
> `/usr/local/base-3.14.12.1/src/toolsComm/antelope'
> make -C O.cygwin-x86 -f ../Makefile TOP=../../../.. T_A=cygwin-x86 install
> make[4]: Entering directory
> `/usr/local/base-3.14.12.1/src/toolsComm/antelope/O.cygwin-x86'
> make[4]: Nothing to be done for `install'.
> make[4]: Leaving directory
> `/usr/local/base-3.14.12.1/src/toolsComm/antelope/O.cygwin-x86'
> make[3]: Leaving directory
> `/usr/local/base-3.14.12.1/src/toolsComm/antelope'
> make -C ./flex install
> make[3]: Entering directory `/usr/local/base-3.14.12.1/src/toolsComm/flex'
> make -C O.cygwin-x86 -f ../Makefile TOP=../../../.. T_A=cygwin-x86 install
> make[4]: Entering directory
> `/usr/local/base-3.14.12.1/src/toolsComm/flex/O.cygwin-x86'
> rm -f parse.c y.tab.c
> rm -f parse.h y.tab.h
> ../../../../bin/cygwin-x86/antelope.exe -l -d ../parse.y
> make[4]: *** [parse.c] Error 34
> make[4]: Leaving directory
> `/usr/local/base-3.14.12.1/src/toolsComm/flex/O.cygwin-x86'
> make[3]: *** [install.cygwin-x86] Error 2
> make[3]: Leaving directory `/usr/local/base-3.14.12.1/src/toolsComm/flex'
> make[2]: *** [flex.install] Error 2
> make[2]: Leaving directory `/usr/local/base-3.14.12.1/src/toolsComm'
> make[1]: *** [toolsComm.install] Error 2
> make[1]: Leaving directory `/usr/local/base-3.14.12.1/src'
> make: *** [src.install] Error 2
>
> **************************************	
>
> ---------------------------------
> Zhan Zhang, Ph. D.
> Argonne National Laboratory
> X-ray Science Division, 438-D005
> 9700 S. Cass Ave.
> Argonne, IL 60439
> Tel : 630-252-0863
> Email: zhanzhang@anl.gov
>


References:
problem with gateway and softIoc running on same server Kevin Tsubota
Re: problem with gateway and softIoc running on same server Dirk Zimoch
RE: problem with gateway and softIoc running on same server Kevin Tsubota
Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP (32bit) Zhan Zhang
Re: Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP (32bit) Janet Anderson

Navigate by Date:
Prev: Re: Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP (32bit) Janet Anderson
Next: RE: problem with gateway and softIoc running on same server Kevin Tsubota
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Problem installing EPICS Base 3.14.12.1 on Cygwin/Win XP (32bit) Janet Anderson
Next: Re: problem with gateway and softIoc running on same server Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·