1.7.4: Building Xalan-C results in a unusable library
Dave Korn
dave.korn.cygwin@googlemail.com
Sat Apr 10 16:16:00 GMT 2010
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
"$(DESTDIR)$(prefix)".
> 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 pastebin.org or somewhere
like that, post the URL to the list and I'll take a look and see if I can spot
anything unusual.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list