EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  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  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: help! problems making in WIN32
From: Eugene Tan <[email protected]>
To: [email protected]
Date: Thu, 20 Nov 2003 14:37:58 +0800 (WST)
I've managed to compile EPICS base 3.14.4 with Borland5.5 (freetools)
while using a CYGWIN environment, IE using CYGWIN's make and perl
utilities. No observervable problems there.

The problem comes when I'm trying to make the example generated by
makeBaseApp.pl The prompts are shown below. I've tried getting CYGWIN to
use DOS ASCII formatting. There I get more problems especially when
compiling EPICS base. Can anyone help with this? Is where some path I've
forgotten to set?

###########################
bash-2.05b$ makeBaseApp.pl -t example test
bash-2.05b$ makeBaseApp.pl -i -t example test
Using target architecture win32-x86-borland (only one available)
bash-2.05b$ ls
Makefile  configure  iocBoot  testApp
bash-2.05b$ make
make -C configure install
make[1]: Entering directory `/cygdrive/c/epics/work/configure'
perl /cygdrive/c/epics/base-3.14.4/configure/tools/convertRelease.pl -h
win32-x8
6-borland checkRelease
perl /cygdrive/c/epics/base-3.14.4/configure/tools/makeMakefile.pl
O.win32-x86-b
orland ../..
perl /cygdrive/c/epics/base-3.14.4/configure/tools/mkdir.pl O.Common
make -C O.win32-x86-borland -f ../Makefile TOP=../.. T_A=win32-x86-borland
insta
ll
make[2]: Entering directory
`/cygdrive/c/epics/work/configure/O.win32-x86-borlan
d'
perl /cygdrive/c/epics/base-3.14.4/configure/tools/convertRelease.pl -h
win32-x8
6-borland CONFIG_APP_INCLUDE
perl /cygdrive/c/epics/base-3.14.4/configure/tools/convertRelease.pl -h
win32-x8
6-borland RULES_INCLUDE
make[2]: Leaving directory
`/cygdrive/c/epics/work/configure/O.win32-x86-borland
'
make[1]: Leaving directory `/cygdrive/c/epics/work/configure'
make -C testApp install
make[1]: Entering directory `/cygdrive/c/epics/work/testApp'
make -C src install
make[2]: Entering directory `/cygdrive/c/epics/work/testApp/src'
perl /cygdrive/c/epics/base-3.14.4/configure/tools/makeMakefile.pl
O.win32-x86-b
orland ../../..
perl /cygdrive/c/epics/base-3.14.4/configure/tools/mkdir.pl O.Common
make -C O.win32-x86-borland -f ../Makefile TOP=../../..
T_A=win32-x86-borland in
stall
make[3]: Entering directory
`/cygdrive/c/epics/work/testApp/src/O.win32-x86-borl
and'
make[3]: Leaving directory
`/cygdrive/c/epics/work/testApp/src/O.win32-x86-borla
nd'
make[3]: Entering directory
`/cygdrive/c/epics/work/testApp/src/O.win32-x86-borl
and'
Expanding dbd
/cygdrive/c/epics/base-3.14.4/bin/win32-x86-borland/dbExpand.exe  -I . -I
... -I
.../../../dbd -I /cygdrive/c/epics/base-3.14.4/dbd -o ../O.Common/test.dbd
.../tes
tInclude.dbd
Error   Last token ""base.dbd""
input line: include "base.dbd"
   in: file ../testInclude.dbd line 1

Error   Last token ""dbCommon.dbd""
input line:     include "dbCommon.dbd"
   in: path ".."  file xxxRecord.dbd line 2
   in: path ".."  file xxxSupport.dbd line 1
   in: file ../testInclude.dbd line 2

Error "menu not found"  Last token ")"
input line:             menu(menuAlarmSevr)
   in: path ".."  file xxxRecord.dbd line 64
   in: path ".."  file xxxSupport.dbd line 1
   in: file ../testInclude.dbd line 2

Error "syntax error"  Last token ""
input line:             menu(menuAlarmSevr)
   in: path ".."  file xxxRecord.dbd line 64
   in: path ".."  file xxxSupport.dbd line 1
   in: file ../testInclude.dbd line 2

db_parse returned -1
dbExpand: Input errors, no output generated
make[3]: *** [../O.Common/test.dbd] Error 1
make[3]: Leaving directory
`/cygdrive/c/epics/work/testApp/src/O.win32-x86-borla
nd'
make[2]: *** [install.win32-x86-borland] Error 2
make[2]: Leaving directory `/cygdrive/c/epics/work/testApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/cygdrive/c/epics/work/testApp'
make: *** [testApp.install] Error 2
bash-2.05b$

#################

bash-2.05b$ env
!::=::\
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Eugene Tan\Application Data
ATROOT=C:\MATLAB6p5\toolbox\at
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=ASGARD
COMSPEC=C:\WINDOWS\system32\cmd.exe
EPICS_CA_ADDR_LIST=127.0.0.1
EPICS_CA_AUTO_ADDR_LIST=NO
EPICS_HOST_ARCH=win32-x86-borland
EPICS_HOST_ARCH_TMP=win32-x86-cygwin
HOME=/home/Eugene Tan
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Eugene Tan
INCLUDE=C:\Program Files\Microsoft Visual
Studio\VC98\atl\include;C:\Program Fil
es\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft
Visual St
udio\VC98\include
LIB=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Micro
soft Visual Studio\VC98\lib
LOGONSERVER=\\ASGARD
MSDEVDIR=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
NUMBER_OF_PROCESSORS=1
OLDPWD=/cygdrive/c/epics
OS=Windows_NT
PATH=/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System
32/Wbem:/cygdrive/c/Program Files/ATI Technologies/ATI Control
Panel:/cygdrive/c
/matlab6p5/bin/win32:/cygdrive/c/et_home/bin:/usr/bin:/cygdrive/c/MATLAB6p5/sys/
perl/win32/bin:/cygdrive/c/epics/base-3.14.4/bin/win32-x86-cygwin:/cygdrive/c/MA
TLAB6p5/toolbox/MCA:/cygdrive/c/Program
Files/Borland/BCC55/Bin:/cygdrive/c/epic
s/base-3.14.4/bin/win32-x86-borland:/cygdrive/c/epics/base-3.14.4/bin/win32-x86:
/cygdrive/c/Program Files/Microsoft Visual
Studio/Common/MSDev98/Bin:/cygdrive/c
/Program Files/Microsoft Visual Studio/Common/Tools:/cygdrive/c/Program
Files/Mi
crosoft Visual Studio/VC98/bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0905
PROGRAMFILES=C:\Program Files
PWD=/cygdrive/c/epics/work
SESSIONNAME=Console
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TEMP=/cygdrive/c/DOCUME~1/EUGENE~1/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/EUGENE~1/LOCALS~1/Temp
USERDOMAIN=ASGARD
USERNAME=Eugene Tan
USERPROFILE=C:\Documents and Settings\Eugene Tan
WINDIR=C:\WINDOWS
_=/usr/bin/env
bash-2.05b$

##########################################


Cheers,

Eugene Tan
Accelerator Physicist
Australian Synchrotron Project
17/80 Collins Street, Melbourne
VIC 3000. Australia.
Ph: +61 3 9655 3456
Fax:+61 3 9655 8666
Email: [email protected] (Work related mail only please)
       [email protected] (Personal)

Replies:
RE: help! problems making in WIN32 Jeff Hill

Navigate by Date:
Prev: RE: sequencer SEGV Benjamin Sailer
Next: RE: help! problems making in WIN32 Eugene Tan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  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: close_record ? Andrew Johnson
Next: RE: help! problems making in WIN32 Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·