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: 1.7.4: Building Xalan-C results in a unusable library

On 10/04/2010 11:36, Reto Schneider wrote:

>> make DESTDIR=/.. install (just "make install" would result in a failing "mkdir -p //usr/local/lib"
> call)

  Heh.  That's a very common minor bug in automake-based makefiles that has no
consequences on Linux, but fails nastily on Windows.  The POSIX spec says that
"//" at the beginning of a file path can be reserved for special meanings by
the system; Linux doesn't take advantage of this leeway, and just treats it as
a null path component, but on Cygwin it was the ideal place to add support for
windows-style UNC paths.

  The bug will be because they've written "$(DESTDIR)/$(prefix)" somewhere in
a makefile; there shouldn't be a separator, destdir should always have a
trailing one when non-empty, and the construct should just be written

> Now the strange part:

> To me it looks as if this file is broken:
> $ ldd /usr/local/lib/cygxalan-c111.dll
> 	ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77050000)
> 	kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x76b50000)
> 	KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x75050000)
> 	??? => ??? (0x6dcc0000)
> All the other dll-files (eg. under /usr/bin/ or /usr/local/bin (have a recent boost installed here)
> ) do not have this suspicions ???.

  That's really peculiar.  Something may have gone bizarrely wrong during the
build.  Do you have a log file?  If so, upload it to or somewhere
like that, post the URL to the list and I'll take a look and see if I can spot
anything unusual.


Problem reports:
Unsubscribe info:

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