This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Cygwin-Xfree-Opendx Question
- To: "'cygwin-xfree at xfree dot cygwin dot com'" <cygwin-xfree at xfree dot cygwin dot com>
- Subject: RE: Cygwin-Xfree-Opendx Question
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Tue, 24 Jul 2001 20:26:13 -0400
> -----Original Message-----
> From: Annette and Frankie Stone [mailto:fstone@majik-net.com]
> Sent: Tuesday, July 24, 2001 8:22 PM
> To: cygwin-xfree@xfree.cygwin.com
> Subject: RE: Cygwin-Xfree-Opendx Question
>
> I have done as you said and
>
> cd /usr/bin
> ln -s cygpng2.dll libpng.dll
>
> This put a shortcut in /usr/bin. Still can't find it. I have put the
> path
> in the cygwin.bat and I have also put it in my windows path to no
> avail. I
> also tried removing the shortcut and copying cygpng2.dll to /usr/bin
> and
> renaming it. Still doesn't work.
>
> When I echo $PATH in the bash shell the /usr/bin path is there. When
> I get
> the error screen in dx that says it can't find libpng.dll in the
> specified
> path, the path it lists has the same path but not /usr/bin.
>
> I just did an experiment. I noticed that the path list that comes up
> in the
> dx (dxexec.exe - Unable to locate DLL) error screen lists the
> cygwin.bat
> path first and then the Windows path. I also noticed that the last
> entry
> that I put in the windows path was not listed correctly. Instead of
> c:\cygwin\usr\bin it was c:\cygwin\bin.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ same because cygwin\bin is
mounted over /usr/bin. In a bash shell it wont make a difference.
>I closed dx and Xfree86 and
> cygwin
> and went in to the Windows path and took the bin off of the last
> entry. It
> then listed it correctly as c:\cygwin\usr in the dx error screen. I
> again
> closed everything down went back into the Windows path and added back
> the
> bin and the dx error screen again listed it incorrectly as
> c:\cygwin\bin.
> Dx is not getting to this directory! What is happening here?
>
> I am now using startxwin.sh to start the xFree86.
When dx starts it uses dxworker script, that maybe reseting PATHS?
Suhaib
>
> Thanks,
>
> Frankie Stone