delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/11/22:23:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040711220822.0333e740@pop.prospeed.net>
X-Sender:
Date: Sun, 11 Jul 2004 22:15:10 -0400
To: Richard Heintze <sieg_heintze AT yahoo DOT com>, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Where is libxml2.dll?
In-Reply-To: <20040712020430.64012.qmail@web50301.mail.yahoo.com>
References: <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040711185545 DOT 03359f10 AT pop DOT prospeed DOT net> <20040712020430 DOT 64012 DOT qmail AT web50301 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

At 10:04 PM 7/11/2004, you wrote:
>What I meant to say was:
>
>What is the difference between /usr/local/bin and
>/usr/bin? Why are there two directories? It probably
>has something to do with unix compatibility.


/usr/local is reserved for stuff local to a particular machine, 
while /usr is commonly installed software, sometimes even from 
a network source.  But keep in mind that Cygwin doesn't use /usr/local
in it's packages.  On the other hand, 'nd.exe' isn't in any current 
Cygwin package so it's clearly not required to conform to Cygwin 
packaging guidelines.  As such though, discussion of it's 
packaging or really any sort of problems with it is off-topic for
this list.  But I hope that answers your basic questions about 
using it from emacs.


>  Thanks,
>     Siegfried
>
>--- Larry Hall <cygwin-lh AT xxxx DOT com> wrote:
>> At 02:18 PM 7/11/2004, you wrote:
>> >Problem fixed! I had to put c:\cygwin\usr\local\bin
>> in
>> >my system path. 
>> 
>> 
>> OK.
>> 
>> 
>> >I did not realize that c:\cygwin\bin
>> >(which was already in my path) was different than
>> >c:\cygwin\usr\bin.
>> 
>> 
>> It's not really.  Cygwin mounts /bin as /usr/bin. 
>> See
>> the output of 'mount' for clarification.
>> 
>> I'm not sure that I see the significance of this
>> realization as part of the solution to your problem
>> though.
>> 
>> 
>> >Why are there two bin directories?
>> 
>> 
>> See above.
>> 
>> 
>> >    Siegfried
>> >
>> >
>> >--- Igor Pechtchanski <pechtcha AT xxxx DOT edu> wrote:
>> >> On Sat, 10 Jul 2004, Richard Heintze wrote:
>> >> 
>> >> > See below:
>> >> >
>> >> > --- Igor Pechtchanski <pechtcha AT xx DOT xxx DOT xxx>
>> wrote:
>> >> > > Siegfried,
>> >> > >
>> >> > > <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.
>> >> > > Thanks.
>> >> >
>> >> > I'm not sure how to do that so I did it by
>> hand.
>> >> Good
>> >> > point.
>> >> 
>> >> That's about the only way to do this from a Yahoo
>> >> Mail interface...
>> >> Thanks for the effort.
>> >> 
>> >> > > It does sound like you do need to put
>> >> "C:\cygwin\bin" in your Windows
>> >> > > PATH, and make sure it gets propagated to
>> Emacs.
>> >>  Alternatively, you
>> >> > > could try to get Emacs to run "bash -l" as
>> its
>> >> shell (don't ask me
>> >> > > how, I don't use Emacs).
>> >> > >   Igor
>> >> >
>> >> > I just checked and C:\cygwin\bin is already in
>> the
>> >> > path. Any other ideas?
>> >> >   Thanks,
>> >> >      Sieg
>> >> 
>> >> Well, according to the output of cygcheck, you
>> have
>> >> two nd.exe's, and
>> >> c:\util\nd.exe doesn't seem to be the same as
>> >> c:\cygwin\usr\local\bin\nd.exe...  The one in
>> >> c:\cygwin\usr\local\bin
>> >> seems to have correct DLL dependencies, so that's
>> >> the one you should use.
>> >> 
>> >> Judging from the fact that emacs couldn't find
>> >> /usr/local/bin/nd.exe, I'd
>> >> say you need to have c:\cygwin\usr\local\bin in
>> your
>> >> PATH within emacs,
>> >> too.
>> >> 
>> >> Or, as I suggested earlier, you could instruct
>> emacs
>> >> to start bash with a
>> >> --login (-l) flag.  Someone fluent in emacs can
>> >> probably help you with it
>> >> better than I.
>> >>   Igor
>> >> 
>> >> > > On Fri, 9 Jul 2004, Richard Heintze wrote:
>> >> > >
>> >> > > > Igor,
>> >> > > >  That is a handy command! here is the
>> results
>> >> (from the emacs
>> >> > > > compile command:
>> >> > > >
>> >> > > > cd c:/busines/
>> >> > > > cygcheck nd.exe
>> >> > > > Found: c:\util\nd.exe
>> >> > > >
>> >> > > > c:/util/nd.exe
>> >> > > >   C:\cygwin\bin\cygwin1.dll
>> >> > > >     C:\WINDOWS\system32\ADVAPI32.DLL
>> >> > > >       C:\WINDOWS\system32\KERNEL32.dll
>> >> > > >         C:\WINDOWS\system32\ntdll.dll
>> >> > > >       C:\WINDOWS\system32\RPCRT4.dll
>> >> > > > Error: could not find libxml2.dll
>> >> > > >
>> >> > > > Here is the same command from the bash
>> command
>> >> window:
>> >> > > > Administrator AT fasolt ~ $ cygcheck nd
>> >> > > > Found: C:\cygwin\usr\local\bin\nd.exe
>> >> > > > Found: c:\util\nd.exe
>> >> > > > C:/cygwin/usr/local/bin/nd.exe
>> >> > > >   C:\cygwin\bin\cygwin1.dll
>> >> > > >     C:\WINDOWS\system32\ADVAPI32.DLL
>> >> > > >       C:\WINDOWS\system32\KERNEL32.dll
>> >> > > >         C:\WINDOWS\system32\ntdll.dll
>> >> > > >       C:\WINDOWS\system32\RPCRT4.dll
>> >> > > >   C:\cygwin\bin\cygxml2-2.dll
>> >> > > >     C:\cygwin\bin\cygz.dll
>> >> > > >     C:\cygwin\bin\cygiconv-2.dll
>> >> > > >
>> >> > > > When I removed nd.exe from c:\util the bash
>> >> shell
>> >> > > > running under emacs could not find nd.exe.
>> >> > > >
>> >> > > > Anybody know why?
>> >> > > > Anybody know how to fix this?
>> >> > > >
>> >> > > >   Thanks,
>> >> > > >
>> >> > > >      Siegfried
>> >> > > >
>> >> > > > --- Igor Pechtchanski <pechtcha AT XX DOT XXX DOT XXX>
>> >> wrote:
>> >> > > > > On Fri, 9 Jul 2004, Richard Heintze
>> wrote:
>> >> > > > >
>> >> > > > > > I am running Windows 2003 server with
>> on
>> >> which I have installed
>> >> > > > > > cygwin within the last month.
>> >> > > > > >
>> >> > > > > > I found a terrific little utility
>> (webdav
>> >> client) at
>> >> > > > > > http://www.gohome.org/nd/ which I
>> >> downloaded and compiled (with
>> >> > > > > > gcc) with cygwin. At the bash command
>> >> prompt, it appears to
>> >> > > > > > work.
>> >> > > > > >
>> >> > > > > > However, it is intended to be run from
>> >> emacs. When I create a
>> >> > > > > > shell with emacs, it starts up a bash
>> >> shell as a sub process and
>> >> > > > > > I get the error: "this application has
>> >> failed to start because
>> >> > > > > > libxml2.dll was not found.
>> Re-installing
>> >> the application my fix
>> >> > > > > > this problem.". Well there is no
>> >> libxml2.dll on my system but
>> >> > > > > > the command works from the bash command
>> >> prompt! HOw could this
>> >> > > > > > be?
>> >> > > > > >
>> >> > > > > > I notice there are libxml2.dll.a and
>> >> libxml2.a and libxml2.la in
>> >> > > > > > my /usr/lib directory! This must be the
>> >> one! Why cannot the bash
>> >> > > > > > shell find it when run under emacs? Do
>> I
>> >> need to put
>> >> > > > > > c:\cygwin\lib in my PATH environment
>> >> variable?
>> >> > > > > >
>> >> > > > > >   Thanks,
>> >> > > > > >       Siegfried
>> >> > > > >
>> >> > > > > Siegfried,
>> >> > > > >
>> >> > > > > You don't need c:\cygwin\lib in your
>> path,
>> >> but you do need
>> >> > > > > c:\cygwin\bin there if you intend to run
>> >> Cygwin applications from
>> >> > > > > Win32 ones. FWIW, the actual name of the
>> DLL
>> >> is cygxml2-2.dll
>> >> > > > > (which you could have determined by
>> >> examining
>> >> > > > > /usr/lib/libxml2.la), but it's surprising
>> 
>=== message truncated ===
>
>
>
>    
>        
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!
>http://promotions.yahoo.com/new_mail 
>
>--
>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/ 


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019