Re: Cannot install - xmlcatalog cannot find libxml2

2006-01-11 Thread Marcus Williams

On 10/01/2006 Dave Korn wrote:

  Marcus!  You still there?  It's time you did the
URL:http://cygwin.com/problems.html cygcheck thing.  (Attachment, 
not in the body text, please!)


Still with you - just away from work email briefly. I'll check out my 
path for xmlcatalog first as I've got other (gnu etc) stuff installed 
that might be clashing. Then I'll try the cygcheck way


Ta,

Marcus



--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK


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



Re: Cannot install - xmlcatalog cannot find libxml2

2006-01-11 Thread Marcus Williams

On 11/01/2006 Marcus Williams wrote:
Still with you - just away from work email briefly. I'll check out my 
path for xmlcatalog first as I've got other (gnu etc) stuff installed 
that might be clashing. Then I'll try the cygcheck way 


Looks like that was it - xmlcatalog was lying around in a utils 
directory somewhere. I removed that and got an install!


Thanks to everyone who helped,

Marcus

--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK


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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Marcus Williams wrote:
 Hi -
 
 I'm currently trying to reinstall cygwin but I'm unable to because
 during the final stages of installation something is complaining about
 xmlcatalog.exe being unable to find libxml2.dll. This causes the whole
 installation to fail and then tries to rewind (failing as well).
 
 What could be causing this? This has been happening with the latest
 version (and earlier ones, but I'm not sure how early) pulled from a
 mirror today.

  You need libxml2-devel for that file (enter 'libxml2.dll' at
http://cygwin.com/packages).  It should have been automatically selected when
you selected libxml2, but there may be a missing dependency.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



Re: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Marcus Williams

On 10/01/2006 Dave Korn wrote:

  You need libxml2-devel for that file (enter 'libxml2.dll' at
http://cygwin.com/packages).  It should have been automatically 
selected when

you selected libxml2, but there may be a missing dependency.


Nope - still got the same problem. I tried installing everything this 
time (setting All to All @ Install)


Thanks

Marcus

--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK


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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Marcus Williams wrote:
 On 10/01/2006 Dave Korn wrote:
   You need libxml2-devel for that file (enter 'libxml2.dll' at
 http://cygwin.com/packages).  It should have been automatically selected
 when you selected libxml2, but there may be a missing dependency.
 
 Nope - still got the same problem. I tried installing everything this
 time (setting All to All @ Install)
 

  Whoops!  You're right, what I saw in there was only the export library
libxml2.dll.a.

  This must be a real packaging error.  Looks like the maintainer might have
compiled libxml2-devel with --disable-shared and then compiled xmlcatalog
with --enable-shared.

  Your quickest workround would probably be either rebuilding xmlcatalog from
source, giving it the --disable-shared option at configure time so it builds
and links against the static libxml2.a, or to rebuild the libxml2-devel
package from source (default options this time) so as to generate your own
copy of libxml2.dll.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Dave Korn wrote:
 Marcus Williams wrote:
 On 10/01/2006 Dave Korn wrote:
   You need libxml2-devel for that file (enter 'libxml2.dll' at
 http://cygwin.com/packages).  It should have been automatically selected
 when you selected libxml2, but there may be a missing dependency.
 
 Nope - still got the same problem. I tried installing everything this
 time (setting All to All @ Install)
 
 
   Whoops!  You're right, what I saw in there was only the export library
 libxml2.dll.a.
 
   This must be a real packaging error.  Looks like the maintainer might
 have compiled libxml2-devel with --disable-shared and then compiled
 xmlcatalog with --enable-shared.
 
   Your quickest workround would probably be either rebuilding xmlcatalog
 from source, giving it the --disable-shared option at configure time so
 it builds and links against the static libxml2.a, or to rebuild the
 libxml2-devel package from source (default options this time) so as to
 generate your own copy of libxml2.dll.
 

  Nope, that's not it.  I think I /have/ traced it now: it's a packaging error
in libxml2 package itself.  It contains the dll, but the maintainer forgot to
package it with the correct prefix.  You might be able to fix the problem by a
rename:

mv /bin/cygxml2-2.dll /bin/libxml2.dll


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



Re: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Marcus Williams

On 10/01/2006 Dave Korn wrote:
  Your quickest workround would probably be either rebuilding 
xmlcatalog from
source, giving it the --disable-shared option at configure time so 
it builds
and links against the static libxml2.a, or to rebuild the 
libxml2-devel
package from source (default options this time) so as to generate 
your own

copy of libxml2.dll.


Do they build outside of cygwin (I dont have a cygwin environment at all 
at the moment ... getting twitchy without it!)?


Thanks

Marcus

--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK


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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Dave Korn wrote:
 Dave Korn wrote:

   This must be a real packaging error.  Looks like the maintainer might
 have compiled libxml2-devel with --disable-shared and then compiled
 xmlcatalog with --enable-shared.

   Nope, that's not it.  I think I /have/ traced it now: it's a packaging
 error in libxml2 package itself.  It contains the dll, but the maintainer
 forgot to package it with the correct prefix.  You might be able to fix
 the problem by a rename:
 
 mv /bin/cygxml2-2.dll /bin/libxml2.dll

  No, that's not it either!  Cygcheck clearly shows that xmlcatalog.exe is
linked against the non-standard name:

[EMAIL PROTECTED] /bin cygcheck xmlcatalog.exe
Found: C:\cygwin\bin\xmlcatalog.exe
C:/cygwin/bin/xmlcatalog.exe
  C:\cygwin\bin\cygxml2-2.dll
C:\cygwin\bin\cygwin1.dll
  C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\cygwin\bin\cygz.dll
C:\cygwin\bin\cygiconv-2.dll
  C:\cygwin\bin\cygreadline6.dll
C:\cygwin\bin\cygncurses-8.dll
C:\WINDOWS\system32\USER32.dll
  C:\WINDOWS\system32\GDI32.dll
[EMAIL PROTECTED] /bin


  Look, xmlcatalog.exe doesn't require libxml2.dll at all!  Are you sure you
read the error message right?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Marcus Williams wrote:
 On 10/01/2006 Dave Korn wrote:
   Your quickest workround would probably be either rebuilding xmlcatalog
 from source, giving it the --disable-shared option at configure time
 so it builds and links against the static libxml2.a, or to rebuild the
 libxml2-devel package from source (default options this time) so as to
 generate your own copy of libxml2.dll.
 
 Do they build outside of cygwin (I dont have a cygwin environment at all
 at the moment ... getting twitchy without it!)?
 

  I wouldn't worry that your entire cygwin install is borked just because of
this problem with libxml2 (unless you use lots of stuff like gnome or whatever
that depends on it).  You should be able to cd into /etc/postinstall and
manually run any of the scripts that haven't been tagged with '.done' to
complete the install.

  I also wouldn't bother going to the effort of setting up a mingw-to-cygwin
cross compiler just for this.  Let's see if we can't fix the problem more
easily first.  (See also the other post I sent which crossed with your last
one in the ether..)

cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Dave Korn wrote:
 Dave Korn wrote:
 Dave Korn wrote:

  Making a habit of correcting myself today... d'oh!


   Nope, that's not it.  I think I /have/ traced it now: it's a packaging
 error in libxml2 package itself.  It contains the dll, but the maintainer
 forgot to package it with the correct prefix.  You might be able to fix
 the problem by a rename: 
 
 mv /bin/cygxml2-2.dll /bin/libxml2.dll
 
   No, that's not it either!  Cygcheck clearly shows that xmlcatalog.exe is
 linked against the non-standard name:
 
 [EMAIL PROTECTED] /bin cygcheck xmlcatalog.exe
 Found: C:\cygwin\bin\xmlcatalog.exe
 C:/cygwin/bin/xmlcatalog.exe
   C:\cygwin\bin\cygxml2-2.dll

  Just to clarify: it is entirely standard for cygwin apps to use non-standard
cygXXX names for cygwin dlls to link against.  It would be very nonstandard of
xmlcatalog to link against a dll with a standard libXXX name.

  Hope that clears up any confusion!


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Dave Korn wrote:
 Dave Korn wrote:
 Dave Korn wrote:
 Dave Korn wrote:
 
   Making a habit of correcting myself today... d'oh!

  And following-up to my own posts, but this is worth saying too:
 

 maintainer forgot to package it with the correct prefix.  You might be
 able to fix the problem by a rename: 
 
 mv /bin/cygxml2-2.dll /bin/libxml2.dll
 



  Marcus, that's still your best bet for a quick workaround that'll get
setup.exe to run all the way through to completion.  I'd use cp rather than
mv, though, just to be on the safe side.  If you haven't tried it yet, give
it a go.



cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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



Re: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Brian Dessent
Dave Korn wrote:

   Just to clarify: it is entirely standard for cygwin apps to use non-standard
 cygXXX names for cygwin dlls to link against.  It would be very nonstandard of
 xmlcatalog to link against a dll with a standard libXXX name.

Right.  And you should not find any package in the Cygwin distro that
depends on a DLL named libxml2.dll because all Cygwin DLLs should
begin with cyg.   This leads me to believe that the poster has a
foreign/non-cygwin version of xmlcatalog in his path which is actually
being run from the postinstall.

To the original poster:

When you get the popup about the missing DLL, run something like Process
Explorer and see exactly which xmlcatalog.exe is trying to be run.  I'm
willing to bet that it's not the Cygwin one and that you have a PATH
problem, because the Cygwin xmlcatalog does not need any such
libxml2.dll.

Brian


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



RE: Cannot install - xmlcatalog cannot find libxml2

2006-01-10 Thread Dave Korn
Brian Dessent wrote:
 Dave Korn wrote:
 
   Just to clarify: it is entirely standard for cygwin apps to use
 non-standard cygXXX names for cygwin dlls to link against.  It would be
 very nonstandard of xmlcatalog to link against a dll with a standard
 libXXX name. 
 
 Right.  And you should not find any package in the Cygwin distro that
 depends on a DLL named libxml2.dll because all Cygwin DLLs should
 begin with cyg.   This leads me to believe that the poster has a
 foreign/non-cygwin version of xmlcatalog in his path which is actually
 being run from the postinstall.
 

  That's pretty much what I had concluded, but I did go so far as to download
and check a really old libxml2 package tarball, just in case an early version
had mistakenly supplied / linked against a non-cyg-prefixed version of the
dll, and it was fixed in more recent versions and the transition was causing a
problem.

  Sure enough, neither libxml2-2.6.11-1.tar.bz2 nor libxml2-2.6.13-1.tar.bz2
required any libxml2.dll, so I reckon that theory is ruled out.

  Marcus!  You still there?  It's time you did the
URL:http://cygwin.com/problems.html cygcheck thing.  (Attachment, not in the
body text, please!)


cheers,
  DaveK
-- 
Can't think of a witty .sigline today



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