Experimental Physics and Industrial Control System
I got a suggestion off-list to try
set MAKE_MODE=UNIX
(thanks Janet for that!).
This produces an interesting change. With that
flag set the make gets past this problem of launching
antelope.exe.
However it fails very shortly after with "/bin/sh.exe"
not found, like this:
make -C softIoc install
make[2]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/softIoc'
make -C O.win32-x86 -f
../Makefile TOP=../../.. T_A=win32-x86 install
make[3]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/softIoc/O.win32
-x86'
make[3]:
/bin/sh.exe: Command not found
Cygwin does of course contain "sh.exe" and it's on the
path. Clearing the MAKE_MODE flag and issuing make again (w/o a clean)
doesn't have this problem and the make runs on until it's time to run the next
executable and it fails again.
So right now I'm setting this flag, running make, watch
it fail on sh.exe, clear the flag, run make again, watch it fail at a later
point on an executable and repeat.
I think doing this I'll eventually get to the end of
the build but I'm wondering if someone has a better solution as this is slow and
painful (and of course I can never rebuild)?
I'm using "make" from Cygwin and I assume that's the
root problem here.
E:\epics\base-3.14.8.2>make -version
GNU Make
3.80
Copyright (C) 2002 Free Software Foundation, Inc.
Should I be using a different make or running it inside
a bash shell or something else?
Thanks a lot for everyone's help so far. I think
we're getting close here.
Doug
Thanks Tanyshyam for the quick reply, but
unfortunately I've already applied the fix to RULES_BUILD. Without
that the build fails at the point of copying the
executables.
With that fix the executables are copied and the make
runs on for a while but then it fails when it tries to execute
antelope.exe.
I'll also attach more of the trace to give some more
context to where the build is failing (doing a "make clean uninstall" and then
"make" fails at the same point but with just a lot more compilation steps
happening).
Thanks,
Doug
E:\epics\base-3.14.8.2>make
make -C configure
install
make[1]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/configure'
make -C O.win32-x86 -f
../Makefile TOP=../.. T_A=win32-x86 install
make[2]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/configure/O.win32-x
86'
make[2]: Nothing
to be done for `install'.
make[2]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/configure/O.win32-x8
6'
make[1]: Leaving
directory `/cygdrive/e/epics/base-3.14.8.2/configure'
make -C src
install
make[1]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src'
make -C makeBaseApp install
make[2]:
Entering directory `/cygdrive/e/epics/base-3.14.8.2/src/makeBaseApp'
make -C
O.win32-x86 -f ../Makefile TOP=../../.. T_A=win32-x86 install
make[3]:
Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/makeBaseApp/O.w
in32-x86'
make[3]:
Nothing to be done for `install'.
make[3]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/makeBaseApp/O.wi
n32-x86'
make[2]:
Leaving directory `/cygdrive/e/epics/base-3.14.8.2/src/makeBaseApp'
make -C
makeBaseExt install
make[2]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/makeBaseExt'
make -C O.win32-x86 -f
../Makefile TOP=../../.. T_A=win32-x86 install
make[3]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/makeBaseExt/O.w
in32-x86'
make[3]:
Nothing to be done for `install'.
make[3]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/makeBaseExt/O.wi
n32-x86'
make[2]:
Leaving directory `/cygdrive/e/epics/base-3.14.8.2/src/makeBaseExt'
make -C
libCom install
make[2]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/libCom'
make -C O.win32-x86 -f
../Makefile TOP=../../.. T_A=win32-x86 install
make[3]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/libCom/O.win32-
x86'
make[3]: Nothing
to be done for `install'.
make[3]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/libCom/O.win32-x
86'
make[2]: Leaving
directory `/cygdrive/e/epics/base-3.14.8.2/src/libCom'
make -C toolsComm
install
make[2]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm'
make -C antelope
install
make[3]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/antel
ope'
make -C
O.win32-x86 -f ../Makefile TOP=../../../.. T_A=win32-x86 install
make[4]:
Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/antel
ope/O.win32-x86'
make[4]:
Nothing to be done for `install'.
make[4]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/antelo
pe/O.win32-x86'
make[3]:
Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/antelo
pe'
make -C flex
install
make[3]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/flex'
make -C O.win32-x86 -f ../Makefile TOP=../../../..
T_A=win32-x86 install
make[4]: Entering directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/flex/
O.win32-x86'
perl
../../../../configure/tools/rm.pl -f parse.c y.tab.c
perl
../../../../configure/tools/rm.pl -f parse.h
y.tab.h
..\\..\\..\\..\\bin\\win32-x86\\antelope.exe -l -d
../parse.y
make[4]: ..\\..\\..\\..\\bin\\win32-x86\\antelope.exe: Command not
found
make[4]: *** [parse.c] Error 127
make[4]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/flex/O
.win32-x86'
make[3]:
*** [install.win32-x86] Error 2
make[3]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/flex'
make[2]: ***
[flex.install] Error 2
make[2]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm'
make[1]: ***
[toolsComm.install] Error 2
make[1]: Leaving directory
`/cygdrive/e/epics/base-3.14.8.2/src'
make: *** [src.install] Error
2
Hi,
during build it copies exe and required dll and obj in bin as well as
O.win32-x86 directory...i think
you have to modify some files in configure to do it correctly under windows
as follows
1.base-3.14.8.2\configure\RULES_BUILD
line no 330
ifdef WIN32
ifdef BORLAND
@$(INSTALL_PRODUCT) -d -m 555
$<* $(INSTALL_BIN)
else
@$(INSTALL_PRODUCT) -d -m 555
$< $(INSTALL_BIN)
endif
endif
2.base-3.14.8.2\configure\os\CONFIG_SITE.win32-x86.win32-x86 to select proper
compiler
you may encounter some other problem in makeBaseApp.pl.but clear it first
thnaks
tanushyam
****************************************************
TANUSHYAM BHATTACHARJEE
SCIENTIFIC OFFICER
VARIABLE ENERGY CYCLOTRON
CENTRE
1/AF BIDHANNAGAR ,SALTLAKE ,KOLKATA-64
email:[email protected]
Phone #23371230/31/32/33/34 Extn: 2304
Fax: 91 33 3346871
****************************************************
----- Original Message -----
From: Douglas Pearson <[email protected]>
Date: Tuesday, August 1, 2006 6:14 am
Subject: Problem building base 3.14.8.2 on Win32
> I'm trying out EPICS for the first time and trying to build it on
> Windows.After seeing the posts about Visual Studio 8 (2005), I've
> switched to using
> Visual Studio 7 (.NET 2003) and made the
change to
> configure/RULES_BUILD as
> described in the known
issues.
>
> With that I've got everything to build and com.dll
even installs
> itself now.
>
> However, the next error I'm
getting is:
>
> ..\\..\\..\\..\\bin\\win32-x86\\antelope.exe -l -d
../parse.y
> make[4]: ..\\..\\..\\..\\bin\\win32-x86\\antelope.exe:
Command not
> foundmake[4]: *** [parse.c] Error 127
> make[4]:
Leaving directory
> `/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/flex/O
> .win32-x86'
> make[3]: *** [install.win32-x86] Error 2
>
make[3]: Leaving directory
>
`/cygdrive/e/epics/base-3.14.8.2/src/toolsComm/flex'
>
>
>
The odd thing i! s that an
- References:
- RE: Problem building base 3.14.8.2 on Win32 Douglas Pearson
- Navigate by Date:
- Prev:
RE: How to change medm windows title + windows manager Rowland, J (James)
- Next:
RE: Problem building base 3.14.8.2 on Win32 Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Problem building base 3.14.8.2 on Win32 Douglas Pearson
- Next:
RE: Problem building base 3.14.8.2 on Win32 Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024