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: RE: help! problems making in WIN32
From: "Jeff Hill" <[email protected]>
To: "'Eugene Tan'" <[email protected]>, <[email protected]>
Date: Thu, 20 Nov 2003 16:38:25 -0700
Hello Eugene Tan,

That "...." looks suspiciously like a path separator was removed by gnu make
or some other program.

I attempted to reproduce your problem when I came in this morning. I can
build EPICS base and also the application with Borland BCC w/o troubles
using both the cygwin bash shell and also the dos shell. 

Based on you comments about absolute paths vs self-referential paths I tried
to run makeBaseApp.pl with an absolute path because this should cause the
path to base to be absolute during the build but this didn't work. I'm not
sure why. Possibly a cygwinism.

~/epicsDvl/epics/appl$
/cygdrive/d/users/hill/epicsDvl/epics/base/bin/win32-x86-borland/makeBaseApp
..pl
Can't open perl script
"/cygdrive/d/users/hill/epicsDvl/epics/base/bin/win32-x86-borland/makeBaseAp
p.pl": No such file or directory

I also tried this:

~/epicsDvl/epics/appl$ ../base/bin/win32-x86-borland/makeBaseApp.pl -b
/cygdrive/d/users/hill/epicsDvl/epics/base -t example -i ex
Can't find EPICS base

and this:

~/epicsDvl/epics/appl$
/cygdrive/d/users/hill/epicsDvl/epics/base/bin/win32-x86
-borland/makeBaseApp.pl -b/cygdrive/d/users/hill/epicsDvl/epics/base
Can't open perl script
"/cygdrive/d/users/hill/epicsDvl/epics/base/bin/win32-x86
-borland/makeBaseApp.pl": No such file or directory

This is what I typically use:

~/epicsDvl/epics/appl$ ../base/bin/win32-x86-borland/makeBaseApp.pl -t
example ex
~/epicsDvl/epics/appl$ ../base/bin/win32-x86-borland/makeBaseApp.pl -t
example -i ex
The following target architectures are available in base:
    vxWorks-pentium
    WIN32-x86
    WIN32-x86-borland
    win32-x86-cygwin
What architecture do you want to use? WIN32-x86-borland
~/epicsDvl/epics/appl$

Here is my environment and my cygnus gnu make version:

~/epicsDvl/epics/appl$ make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

~/epicsDvl/epics/appTmp$ set
BASH=/usr/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release"
[5]="i686-pc-cygw
in")
BASH_VERSION='2.05b.0(1)-release'
EPICS_HOST_ARCH=win32-x86-borland
HOME=/cygdrive/d/users/hill
HOMEDRIVE=D:
HOMEPATH='\users\hill'
IFS=$' \t\n'
MACHTYPE=i686-pc-cygwin
MAKE_MODE=unix
OS=Windows_NT
OSTYPE=cygwin
PATH='/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Program
Files/Reflection:/cygdriv
e/c/Program
Files/activeStatePerl5.6.1/bin/:/cygdrive/c/WINNT/system32:/cygdrive
/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/PROGRA~1/ULTRAE~1:/cygd
rive
/c/program files/ntreskit:/cygdrive/c/Program
Files/Reflection/:/cygdrive/c/Prog
ram Files/Rational/common:/cygdrive/c/Program Files/Executive
Software/Diskeeper
/:/cygdrive/d/users/hill/bin:/usr/X11R6/bin:/cygdrive/d/users/hill/epicsDvl/
epic
s/base/bin/win32-x86-cygwin:/cygdrive/c/Borland/Bcc55/bin'
PWD=/cygdrive/d/users/hill/epicsDvl/epics/appTmp
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:
moni
tor
SHLVL=1
TEMP=/cygdrive/d/DOCUME~1/HILL~1.WOM/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/d/DOCUME~1/HILL~1.WOM/LOCALS~1/Temp
UID=1000
USER=hill

Jeff

> -----Original Message-----
> From: Eugene Tan [mailto:[email protected]]
> Sent: Wednesday, November 19, 2003 11:38 PM
> To: [email protected]
> Subject: help! problems making in WIN32
> 
> 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/WINDOW
> S/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/MATLAB
> 6p5/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)



References:
help! problems making in WIN32 Eugene Tan

Navigate by Date:
Prev: RE: help! problems making in WIN32 Eugene Tan
Next: Building dm2k 2-5-3 on linux Steven . Banks
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: help! problems making in WIN32 Eugene Tan
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 
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 ·