[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin
From: |
Phil Shaw |
Subject: |
Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin |
Date: |
Fri, 15 Oct 2004 12:02:51 +0100 |
On 14 Oct 2004, at 14:10, Chris Burdess wrote:
> I separated the various parts of acinclude.m4 out into different files
> in the aclocal directory, so modify them (sosuffix.ac) there and then
> do
>
> cat aclocal/*.ac >acinclude.m4
Chris,
There is actually a section in aclocal/aclocal.m4 that processes
Cygwin, it starts at line 3309:
cygwin* | mingw* | pw32*)
version_type=windows
shrext_cmds=".dll"
need_version=no
need_lib_prefix=no
... through to line 3329:
case $host_os in
cygwin*)
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo
${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib
/usr/local/lib"
;;
These sections seem to be setting up the prefixes and suffixes
correctly, but they come _after_ the SOSUFFIX_CONFIG,
MODSUFFIX_CONFIG and JMODSUFFIX_CONFIG sections when perhaps it is
too late, hence:
checking SOSUFFIX from libtool... .so
checking MODSUFFIX from libtool... .so
checking JMODSUFFIX from libtool... .so
Maybe this $host_os section is for a different purpose? If it were
moved to earlier in the configuration script would it be valid?
There is a section in aclocal/sosuffix.ac from line 57 that appears
to assign the inappropriate .jnilib extension for the "Darwin"
platform. However, the ./libxmlj.la file also appears to hard code
the "missing" library:
# The name that we can dlopen(3).
dlname='libxmlj-0.99.jnilib'
# Names of this library.
library_names='libxmlj-0.99.jnilib libxmlj-0.99.jnilib libxmlj.jnilib'
Hence the make install error:
/bin/bash ./libtool --mode=install /usr/bin/install -c libxmlj.la
/usr/local/lib
/usr/bin/install -c .libs/libxmlj-0.99.jnilib /usr/local/lib/libxmlj-
0.99.jnilib
/usr/bin/install: cannot stat `.libs/libxmlj-0.99.jnilib': No such
file or direc
tory
make[1]: *** [install-data-local] Error 1
I'm afraid this is feeling rather like a maze to me at the moment. I
would appreciate further pointers on the make sequence and the
purpose of these elements. Thanks.
Best regards,
Phil
- [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Phil Shaw, 2004/10/13
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Chris Burdess, 2004/10/14
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Phil Shaw, 2004/10/14
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Chris Burdess, 2004/10/14
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin,
Phil Shaw <=
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Chris Burdess, 2004/10/16
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Phil Shaw, 2004/10/27
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Chris Burdess, 2004/10/27
- Re: [Classpathx-xml] Errors building GNU JAXP 1.1 with Cygwin, Andy Madigan, 2004/10/27