EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Failed to install sequencer 2.0.11 on WIN32
From: "Mark Rivers" <[email protected]>
To: "Zhang, Zhan" <[email protected]>, <[email protected]>
Date: Tue, 10 Oct 2006 12:12:30 -0500
Zhan,

For each module in synApps that can be built on win32-x86 there is a
RELEASE.win32-x86 file.  For example in the calc module:

corvette> pwd
/home/epics/devel/calc/2-6-3/configure
corvette> more RELEASE.win32-x86
#RELEASE Location of external products
# Run "gnumake clean uninstall install" in the application
# top directory each time this file is changed.

TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top

# EPICS_BASE usually appears last so other apps can override stuff:
EPICS_BASE=H:/epics/base-3.14.8.2

# Need recDynLink
SSCAN=J:/epics/devel/sscan/2-5-3

# Need genSubRecord
GENSUB=J:/epics/devel/genSub/1-6

#Capfast users may need the following definitions
#CAPFAST_TEMPLATES=
#SCH2EDIF_PATH=


>From the above you can see the syntax that we use.

I have been building for win32-x86 with the Cygwin bash shell, but I
think that the DOS shell should also work.

Mark






> -----Original Message-----
> From: Zhang, Zhan [mailto:[email protected]] 
> Sent: Saturday, October 07, 2006 4:00 PM
> To: Mark Rivers; [email protected]
> Subject: RE: Failed to install sequencer 2.0.11 on WIN32
> 
> Mark,
> 	Thanks for your response!
> 	Actually, I am quite confused about how to set the path in the
> file 'RELEASE' or 'MASTER_RELEASE'.  I tried 'C:\CGWIN\base-3.148.2',
> 'C:\\CGWIN\\base-3.14.8.2', 'C:/CGWIN/base-3.14.8.2', and
> '/base-3.14.8.2'.  I forgot all the details but somehow I decided to
> settle with the '/base-3.14.8.2'.  I assumed that is a valid form
> because it seems to me paths like '/usr/local' are recognized 
> (I assume
> C:\CGWIN is the root).  Is this correct at all?
> 	I did a quick check on the four different expressions and the
> first one (with '\') does not work, but the second '\\' and the third
> '/' both ended up with same error message, which is different 
> from what
> I got previously--
> 
> =================================================================
> make -C configure install
> make[1]: Entering directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/configure'
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/convertRelease.pl -h
> win32-x86 checkRelease
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/makeMakefile.pl
> O.win32-x86 ../..
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/mkdir.pl O.Common
> make -C O.win32-x86 -f ../Makefile TOP=../.. T_A=win32-x86 install
> make[2]: Entering directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/configure/O.win32-x86'
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/convertRelease.pl -h
> win32-x86 CONFIG_APP_INCLUDE
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/convertRelease.pl -h
> win32-x86 RULES_INCLUDE
> make[2]: Leaving directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/configure/O.win32-x86'
> make[1]: Leaving directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/configure'
> make -C src install
> make[1]: Entering directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src'
> make -C pv install
> make[2]: Entering directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv'
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/makeMakefile.pl
> O.win32-x86 ../../..
> perl C:\\CGWIN\\base-3.14.8.2/configure/tools/mkdir.pl O.Common
> make -C O.win32-x86 -f ../Makefile TOP=../../.. T_A=win32-x86 install
> make[3]: Entering directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
> make[3]: Leaving directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
> make[3]: Entering directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
> MakefileInclude:95: *** target pattern contains no `%'.  Stop.
> make[3]: Leaving directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv/O.win32-x86'
> make[2]: *** [install.win32-x86] Error 2
> make[2]: Leaving directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src/pv'
> make[1]: *** [pv.install] Error 2
> make[1]: Leaving directory
> `/usr/local/synApps_5_1_1/support/seq/2-0-11/src'
> make: *** [src.install] Error 2
> ===================================================================
> 
> 	I could not figure out what corresponses to 'MakefileInclude:95:
> ...'  This might be the reason I opt for '/base-3.14.8.2' 
> format, which
> seems carrying on a bit further.
> 	Any suggestion?
> 	Thanks!
> 
> Zhan
> 
> 
> >Zhang,
> > 
> >I'm not sure that the LNK4044 warning is the problem.
> >
> >However, this line suggests the problem:
> > 
> >cl /nologo /EHsc /GR -c          -DPVCA    /D_CRT_SECURE_NO_DEPRECATE
> >/D_CRT_NONSTDC_NO_DEPRECATE /D__STDC__=0  /Ox /GL
> >  /W3 /w44355       /MD    -I. -I.. -I..\\..\\..\\include\\os\\WIN32
> >-I..\\..\\..\\include 
> >-I\\base-3.14.8.2\\include\\os\\WIN32  
> >-I\\base-3.14.8.2\\include  /Tp ..\\pvCa.cc pvCa.cc
> >
> >It looks to me like it is looking for EPICS base in the wrong place,
> i.e. \\base-3.14.8.2, with no dirve specification, rather 
> than something
> >>like 
> >C:\EPICS\base-3.14.8.2.
> > 
> >How have you defined EPICS_BASE in seq-2-0-11/configure/RELEASE?
> > 
> >Mark
> >
> 
> *****************************************
> Zhan Zhang
> Argonne National Laboratory
> X-ray Science Division
> Bldg 438, D005
> 9700 S. Cass Ave
> Argonne, IL 60439
> Tel: (630) 252-0863
> Email: [email protected]
> *****************************************
> 


Replies:
RE: Failed to install sequencer 2.0.11 on WIN32 Zhan Zhang

Navigate by Date:
Prev: Re: sequencer installation Janet Anderson
Next: RE: Failed to install sequencer 2.0.11 on WIN32 Zhan Zhang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Failed to install sequencer 2.0.11 on WIN32 Zhan Zhang
Next: RE: Failed to install sequencer 2.0.11 on WIN32 Zhan Zhang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·