Re: Errors building GNU JAXP 1.1 with Cygwin

Chris Burdess <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.xml
Message-ID <[email protected]>
Phil Shaw wrote:
> I got a copy of GNU JAXP 1.1 from CVS and followed the guidance in 
> INSTALL. I have libxml2 version 2.6.13 and libxslt version 1.1.10.
> 
> The configuration appears to run successfully, but I get this error 
> when I install:
> 
> -- STARTS
> $ make install
> make[1]: Entering directory `/jaxp'
> make[1]: Nothing to be done for `install-exec-am'.
> ./mkinstalldirs /usr/local/lib
> /bin/sh ./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
> make[1]: Leaving directory `/jaxp'
> make: *** [install-am] Error 2
> -- ENDS
> 
> The file libxmlj.la is at c:\cygwin\jaxp\libxmlj.la
> 
> The error message is correct, there is no libxmlj-0.99.jnilib. Should 
> this have been in the distribution or is it supposed to be generated 
> by the make? Full details of the configuration below in case it helps.
> 
> I would appreciate any pointers on correcting this problem. Thanks in 
> advance.

I'm surprised, because your configure output:

> checking JMODSUFFIX from libtool... .so

suggests that the generated dso should be called libxmlj-0.99.so

Clearly this is still wrong for Cygwin, it should be xmlj-0.99.dll, I
suppose? However, we haven't yet provided any support for Cygwin builds.

> If I can help out in other areas, please let me know.

If you could provide a patch for Cygwin, it would be much appreciated.
-- 
Chris Burdess
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.