This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Path Statement Not Being Evaluated by Bash in Cygwin


Ross MacGillivray wrote:
> I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin.
> 
> I have installed the additional packages needed for KDE 3.4
> and I even did a complete re-install of all packages to
> ensure that I have a clean system.
> 
> when I start bash and enter 'echo $path'.  This is the path statement
> returned. 
> 
> C:\cygwin>bash
> bash-2.05b$ pwd
> /
> bash-2.05b$ echo $path
> /usr/bin:/usr/X11R6/bin:/opt/qt/3.3/bin:/cygdrive/c/PROGRA~1/C
> OMMON~1/GTK/2.0/bi
> n:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c
> /WINDOWS/System32/ Wbem:/cygdrive/c/Program Files/Support 
> Tools/:/cygdrive/c/Program Files/Microsof t Visual Studio
> 8/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual
> Studio 8/VC/bin:/usr/bin:/cygdrive/c/Program Files/Microsoft
> Platform SDK/Include:/cygd rive/c/Program Files/Microsoft
> Platform SDK/Bin:/cygdrive/c/Program Files/Micros oft Visual
> Studio 8/VC/lib:/cygdrive/e/livemedia-unix2/live/testProgs:/cygdrive/
> c/Program Files/OpenVPN/bin:. 
> 
> When I run my startup script for KDE.
> 
> bash-2.05b$ cd home
> bash-2.05b$ cd "Ross MacGillivray"
> bash-2.05b$ ls
> startkde
> bash-2.05b$ cat startkde
> usr/bin/echo $path
> usr/sbin/cygserver &
> export CYGWIN=server
> export DISPLAY=127.0.0.1:0
> usr/X11R6/bin/XWin -multiwindow &
> usr/X11R6/bin/xwinclip &
> usr/X11R6/bin/xhost +
> export SHELL=/bin/bash
> opt/kde3.4/bin/kdeinit +kicker &
> 
> I get two windows error messages report that two dll's cannot
> be found. The dll's are:  cygX11-6.dll and cyggt-mt-3.dll.
> 
> One DLL is in /usr/X11R6/bin and one DLL is in /opt/qt/3.3/bin
> 
> Both paths are in the path statement above.
> 
> What's going on here?
> 
> /Ross MacGillivray

Not sure how you've got things setup, but `echo $path`  should result in
an empty return statement.  the variable is PATH not path, case
sensitive.  

reid

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]