Mail Archives: cygwin/2000/03/29/00:12:46
ActiveState Perl doesn't know anything about Cygwin mounts, so
that's why you see the different behavior when you compare absolute
vs. relative paths. AS Perl is built for Win32, so it knows about the
E:/... format (it does allow both \ and /, and also //e/..., I think). I
used it some time ago and worked around these sort of problems,
until I discovered that it couldn't do fork() or exec(); I don't know if
it has this capability, now, or not. For the most part, the Cygwin
port of Perl has been my choice since it is fully compatible.
I haven't a clue to offer with regard to you make error, sorry.
Regards,
Doug Wyatt
> I am trying to compile ACE/TAO for VxWorks NT Simulator using cygwin (B20-1)
> and perl from ActiveState (5.6). I ran into 2 problems:
>
> 1. There is a problem when perl invokes a perl script, specifying the full
> path to the script. This only happens if the full path to the script file
> contains a mounted drive:
>
> bash-2.02$ pwd
> /e/Ace51/ACE_wrappers
> bash-2.02$ perl /e/Ace51/ACE_wrappers/bin/ace_ld
> Can't open perl script "/e/Ace51/ACE_wrappers/bin/ace_ld": No such file or
> directory
>
> However, if I invoke the ace_ld using relative rather than absolute path I
> don't get the error:
>
> bash-2.02$ pwd
> /e/Ace51/ACE_wrappers
> bash-2.02$ perl bin/ace_ld
>
> Also, I don't get the error if I invoke the script the following way:
>
> bash-2.02$ pwd
> /e/Ace51/ACE_wrappers
> bash-2.02$ perl E:/Ace51/ACE_wrappers/bin/ace_ld
>
> The mount point was created with the following commands:
> cd /
> mkdir /e
> mount E:/ /e
>
> 2. Several makes fail with the following error:
>
> E:\Ace51\ACE_wrappers\netsvcs\clients\Tokens>make -C collection all
> /edrive/Ace51/ACE_wrappers/include/makeinclude/rules.lib.GNU:72: *** missing
> separator. Stop.
>
> I attached rules.lib.GNU file. The weird thing is that this file seems to be
> invoked by some other makes, which complete successfully.
>
>
> Output of cygcheck -s -v -r
> ===================
>
> bash-2.02$ pwd
> /e/Ace51/ACE_wrappers
> bash-2.02$ cygcheck -s -v -r
>
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Tue Mar 28 17:37:04 2000
>
> WinNT Ver 4.0 build 1381 Service Pack 6
>
> Path: /d/cygnus/cygwin-b20/H-i586-cygwin32/bin
> /d/Tornado/host/x86-win32/bin
>
> /d/Tornado/host/x86-win32/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-9
> 60126
> /d/Tornado/host/x86-win32/powerpc-wrs-vxworks/bin
> /e/Ace51/ACE_wrappers/bin
> /WINNT/system32
> /WINNT
> /WINNT/system32/nls/ENGLISH
> /bin
> /d/Perl/bin
>
> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
>
> GCC_EXEC_PREFIX = `/d/Tornado/host/x86-win32/lib/gcc-lib/'
> MAKE_MODE = `UNIX'
> PWD = `/e/Ace51/ACE_wrappers'
>
> !C: = `C:\WINNT\Profiles\Aleksander\Desktop'
> ACE_ROOT = `/e/Ace51/ACE_wrappers'
> ACE_TAO_ROOT = `E:/Ace51/ACE_wrappers/TAO'
> ATAHOME = `D:\Sterling\OTDocTools'
> CL = `/IE:/Ace51/ACE_wrappers/TAO\tao /IE:/Ace51/ACE_wrappers/TAO
> /IE:/Ace51/ACE
> _wrappers/TAO\orbsvcs /IE:/Ace51/ACE_wrappers /link
> /libpath:E:/Ace51/ACE_wrappe
> rs/TAO\tao:E:/Ace51/ACE_wrappers\ace'
> CLASSPATH =
> `D:\Java\xml4j_2_0_15\xml4j.jar;D:\Java\Jdk1.2.2\lib\tools.jar;D:\Ja
> va\jswdk-1.0.1\lib\servlet.jar;D:\Java\jswdk-1.0.1\examples\WEB-INF\jsp\bean
> s'
> COMPUTERNAME = `ALEKSANDER_M'
> COMSPEC = `C:\WINNT\system32\cmd.exe'
> CPP_LOCATION = `/Program Files/DevStudio/VC/bin/CL.EXE'
> CVSROOT = `:local:x:\cvs_rep'
> HOMEDRIVE = `Z:'
> HOMEPATH = `\'
> HOMESHARE = `\\net_pdc\_Aleksandar$'
> HOSTNAME = `aleksander_m'
> HOSTTYPE = `i586'
> IDLGEN_CONFIG_FILE = `D:\Iona\config\idlgen.cfg'
> INCLUDE = `D:\Program Files\Microsoft Visual
> Studio\VC98\atl\include;D:\Program
> Files\Microsoft Visual Studio\VC98\mfc\include;D:\Program Files\Microsoft
> Visual
> Studio\VC98\include'
> IT_CONFIG_PATH = `D:\Iona\config'
> IT_SSL_CONFIG_PATH = `D:\Iona\config'
> JAVA_HOME = `D:\Java\Jdk1.2.2'
> JAXPHOME = `D:\Program Files\JavaSoft\Jaxp1_0-ea1'
> LIB = `D:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;D:\Program
> Files\Mi
> crosoft Visual Studio\VC98\lib'
> LOGONSERVER = `\\MAIL'
> M4_HOME = `D:\Sterling\Tools'
> MACHTYPE = `i586-pc-cygwin32'
> MSDEVDIR = `D:\Program Files\Microsoft Visual Studio\Common\MSDev98'
> NUMBER_OF_PROCESSORS = `1'
> ORBIX_HOME = `D:\Iona'
> OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
> OS = `Windows_NT'
> OSTYPE = `cygwin32'
> PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
> PATH_BKUP =
> `D:\Inprise\vbroker\bin;D:\Java\Jdk1.2.2\bin;C:\WINNT\system32;C:\WI
> NNT;D:\Program
> Files\xerces-c_1_0_0d01-win32\bin;D:\cvs;D:\PROGRA~1\Tcl\bin;D:\b
> in;D:\cygnus\cygwin-b20\H-i586-cygwin32\bin;D:\Iona\bin;D:\Iona\contrib\Cygw
> in;D
> :\Java\idltojava-win32;d:\Java\rmi-iiop\bin;D:\Sterling\Tools\Bin;D:\Sterlin
> g\FL
> EXlm\bin;D:\Sterling\Tools\Sqlany55\Win32;D:\Sterling\OTDocTools\DOCIT\BIN;D
> :\St
> erling\OTDocTools\DOC\BIN;E:/Ace51/ACE_wrappers\bin;E:/Ace51/ACE_wrappers\bi
> n\Re
> lease'
> PATH_TAO_NT =
> `D:\Inprise\vbroker\bin;D:\Java\Jdk1.2.2\bin;C:\WINNT\system32;C:\
> WINNT;D:\Program
> Files\xerces-c_1_0_0d01-win32\bin;D:\cvs;D:\PROGRA~1\Tcl\bin;D:
> \bin;D:\cygnus\cygwin-b20\H-i586-cygwin32\bin;D:\Iona\bin;D:\Iona\contrib\Cy
> gwin
> ;D:\Java\idltojava-win32;d:\Java\rmi-iiop\bin;D:\Sterling\Tools\Bin;D:\Sterl
> ing\
> FLEXlm\bin;D:\Sterling\Tools\Sqlany55\Win32;D:\Sterling\OTDocTools\DOCIT\BIN
> ;D:\
> Sterling\OTDocTools\DOC\BIN;D:\Tao\ACE_wrappers\bin;D:\Tao\ACE_wrappers\TAO\
> orbs
> vcs\orbsvcs;D:\Tao\ACE_wrappers\bin\Release'
> PROCESSOR_ARCHITECTURE = `x86'
> PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
> PROCESSOR_LEVEL = `6'
> PROCESSOR_REVISION = `0703'
> PROMPT = `$P$G'
> RMI_IIOP_HOME = `d:\Java\rmi-iiop'
> SHELL = `/bin/sh.exe'
> SHLVL = `1'
> SQLANY = `D:\Sterling\Tools\Sqlany55'
> SYSTEMDRIVE = `C:'
> SYSTEMROOT = `C:\WINNT'
> TAO_ROOT = `/e/Ace51/ACE_wrappers/TAO'
> TEMP = `C:\TEMP'
> TERM = `pcbios'
> TMP = `C:\TEMP'
> USERDOMAIN = `NETPOINT'
> USERNAME = `aleksandar'
> USERPROFILE = `C:\WINNT\Profiles\Aleksander'
> WINDIR = `C:\WINNT'
> WIND_BASE = `/d/Tornado'
> WIND_HOST_TYPE = `x86-win32'
> _ = `/d/cygnus/cygwin-b20/H-i586-cygwin32/bin/cygcheck'
>
> HKEY_CURRENT_USER\Software\Cygnus Solutions
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
> (default) = `E:'
> unix = `/e'
> fbinary = 0x00000000
> fsilent = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
> (default) = `\\.\tape1:'
> unix = `/dev/st1'
> fbinary = 0x00000000
> fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
> (default) = `\\.\tape0:'
> unix = `/dev/st0'
> fbinary = 0x00000000
> fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
> (default) = `\\.\b:'
> unix = `/dev/fd1'
> fbinary = 0x00000000
> fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
> (default) = `\\.\a:'
> unix = `/dev/fd0'
> fbinary = 0x00000000
> fsilent = 0x00000001
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
> (default) = `D:'
> unix = `/d'
> fbinary = 0x00000000
> fsilent = 0x00000000
> HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
> (default) = `C:'
> unix = `/'
> fbinary = 0x00000000
> fsilent = 0x00000000
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\00
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\01
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\02
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\03
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\04
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\05
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\06
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\07
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\08
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\09
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\0A
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\0B
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\0C
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\0D
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\0E
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\0F
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\10
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\11
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\12
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\13
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\14
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\15
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\16
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\17
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\18
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\19
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\1A
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\1B
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\1C
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
> setup\b15.0\mounts\1D
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
> Solutions\GNUPro\i586-cygwin32\i586-cygwin32\
> cygwin-B20.1
> (default) = `d:\cygnus\cygwin-b20'
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnu
> s Cy
> gwin B20
> (default) = `C:\WINNT\IsUninst.exe -fd:\cygnus\cygwin-b20\Uninst.isu'
> DisplayName = `Cygwin B20'
>
> a:\ fd N/A N/A
> c:\ hd NTFS 2047Mb 66% CP CS UN PA FC
> d:\ hd NTFS 5498Mb 59% CP CS UN PA FC
> e:\ hd NTFS 5436Mb 84% CP CS UN PA FC
> f:\ cd N/A N/A
> t:\ net NTFS 57906Mb 54% CP CS UN PA FC
> x:\ net NTFS 57906Mb 54% CP CS UN PA FC
> z:\ net NTFS 57906Mb 54% CP CS UN PA FC
>
> C: / native text!=binary
> D: /d native text!=binary
> \\.\a: /dev/fd0 native text!=binary
> \\.\b: /dev/fd1 native text!=binary
> \\.\tape0: /dev/st0 native text!=binary
> \\.\tape1: /dev/st1 native text!=binary
> E: /e native text!=binary
>
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\bash.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cat.exe
> Found: D:\Tornado\host\x86-win32\bin\cat.exe
> Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cat.exe hides
> D:\Tornado\host\
> x86-win32\bin\cat.exe
> Found:
> D:\Tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-96
> 0126\cpp.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\find.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
> Found: D:\Tornado\host\x86-win32\powerpc-wrs-vxworks\bin\gcc.exe
> Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gcc.exe hides
> D:\Tornado\host\
> x86-win32\powerpc-wrs-vxworks\bin\gcc.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe
> Found:
> D:\Tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-96
> 0126\ld.exe
> Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
> D:\Tornado\host\x
> 86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960126\ld.exe
> Found: D:\Tornado\host\x86-win32\powerpc-wrs-vxworks\bin\ld.exe
> Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
> D:\Tornado\host\x
> 86-win32\powerpc-wrs-vxworks\bin\ld.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ls.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
> Found: D:\Tornado\host\x86-win32\bin\make.exe
> Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe hides
> D:\Tornado\host
> \x86-win32\bin\make.exe
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe
> Found: C:\bin\sh.exe
> Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe hides C:\bin\sh.exe
>
> 371k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll -
> os=4.0
> img=1.0 sys=4.0
> "cygtcl80.dll" v0.0 ts=1998/12/1 3:25
> 5k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll -
> os=
> 4.0 img=1.0 sys=4.0
> 10k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll -
> os=
> 4.0 img=1.0 sys=4.0
> "cygtclreg80.dll" v0.0 ts=1998/12/1 3:25
> 600k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll -
> os=4.0
> img=1.0 sys=4.0
> "cygtk80.dll" v0.0 ts=1998/12/1 3:28
> 446k 1998/12/04 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll -
> os=4.0
> img=1.0 sys=4.0
> "cygwin1.dll" v0.0 ts=1998/12/3 23:39
> 386k 1998/06/17 D:\Tornado\host\x86-win32\bin\cygwinb19.dll - os=4.0
> img=1.0 s
> ys=4.0
> "cygwinb19.dll" v0.0 ts=1998/2/25 5:22
> 446k 1998/12/04 C:\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> "cygwin1.dll" v0.0 ts=1998/12/3 23:39
> Use -h to see help about each section
> bash-2.02$
>
> Output of cygcheck make:
> ===================
>
> bash-2.02$ cygcheck make
> Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
> Found: D:\Tornado\host\x86-win32\bin\make.exe
> D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
> D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll
> C:\WINNT\System32\advapi32.dll
> C:\WINNT\System32\ntdll.dll
> C:\WINNT\System32\KERNEL32.dll
> C:\WINNT\System32\USER32.dll
> C:\WINNT\System32\GDI32.dll
> C:\WINNT\System32\RPCRT4.dll
>
> Use -h to see help about each section
> bash-2.02$
>
> Regards,
>
> Aleksandar
>
> <<rules.lib.GNU>>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -