[xml] Problem building libxml2 on Solaris



Hi,
    I am trying to install libxml2 (2.6.30) on Sun Sparc Solaris 5.9
 
1. Configure step works perfectly fine with command as below.
 
./configure --prefix /home/xmlinst
 
2. make step gives following error
 
 
/bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls   -o libxml2.la -rpath /home/vk186000/libxml/xmlinst/lib -version-info 8:30:6  SAX.lo entities.lo encoding.lo error.lo parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo nanohttp.lo nanoftp.lo DOCBparser.lo catalog.lo globals.lo threads.lo c14n.lo xmlstring.lo xmlregexp.lo xmlschemas.lo xmlschemastypes.lo xmlunicode.lo xmlreader.lo relaxng.lo dict.lo SAX2.lo xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo xmlmodule.lo schematron.lo -lpthread -lz  -lm  -lsocket -lnsl
rm -fr  .libs/libxml2.a .libs/libxml2.so .libs/libxml2.so.2 .libs/libxml2.so.2.6.30

gcc - hared  .libs/SAX.o .libs/entities.o .libs/encoding.o .libs/error.o .libs/parserInternals.o .libs/parser.o .libs/tree.o .libs/hash.o .libs/list.o .libs/xmlIO.o .libs/xmlmemory.o .libs/uri.o .libs/valid.o .libs/xlink.o .libs/HTMLparser.o .libs/HTMLtree.o .libs/debugXML.o .libs/xpath.o .libs/xpointer.o .libs/xinclude.o .libs/nanohttp.o .libs/nanoftp.o .libs/DOCBparser.o .libs/catalog.o .libs/globals.o .libs/threads.o .libs/c14n.o .libs/xmlstring.o .libs/xmlregexp.o .libs/xmlschemas.o .libs/xmlschemastypes.o .libs/xmlunicode.o .libs/xmlreader.o .libs/relaxng.o .libs/dict.o .libs/SAX2.o .libs/xmlwriter.o .libs/legacy.o .libs/chvalid.o .libs/pattern.o .libs/xmlsave.o .libs/xmlmodule.o .libs/schematron.o  -lpthread -lz -lm -lsocket -lnsl -lc  -Wl,-soname -Wl,libxml2.so.2 -o .libs/libxml2.so.2.6.30
(cd .libs && rm -f libxml2.so.2 && ln -s libxml2.so.2.6.30 libxml2.so.2)
(cd .libs && rm -f libxml2.so && ln -s libxml2.so.2.6.30 libxml2.so)
ar cru .libs/libxml2.a  SAX.o entities.o encoding.o error.o parserInternals.o parser.o tree.o hash.o list.o xmlIO.o xmlmemory.o uri.o valid.o xlink.o HTMLparser.o HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o nanohttp.o nanoftp.o DOCBparser.o catalog.o globals.o threads.o c14n.o xmlstring.o xmlregexp.o xmlschemas.o xmlschemastypes.o xmlunicode.o xmlreader.o relaxng.o dict.o SAX2.o xmlwriter.o legacy.o chvalid.o pattern.o xmlsave.o xmlmodule.o schematron.o
 
ar: filename parserInternals.o truncated to parserInternals
ar: filename xmlschemastypes.o truncated to xmlschemastypes

ar: SAX.o not found
ar: entities.o not found
ar: encoding.o not found
ar: error.o not found
ar: parserInternals.o not found
ar: parser.o not found
ar: tree.o not found
ar: hash.o not found
ar: list.o not found
ar: xmlIO.o not found
ar: xmlmemory.o not found
ar: uri.o not found
ar: valid.o not found
ar: xlink.o not found
ar: HTMLparser.o not found
ar: HTMLtree.o not found
ar: debugXML.o not found
ar: xpath.o not found
ar: xpointer.o not found
ar: xinclude.o not found
ar: nanohttp.o not found
ar: nanoftp.o not found
ar: DOCBparser.o not found
ar: catalog.o not found
ar: globals.o not found
ar: threads.o not found
ar: c14n.o not found
ar: xmlstring.o not found
ar: xmlregexp.o not found
ar: xmlschemas.o not found
ar: xmlschemastypes.o not found
ar: xmlunicode.o not found
ar: xmlreader.o not found
ar: relaxng.o not found
ar: dict.o not found
ar: SAX2.o not found
ar: xmlwriter.o not found
ar: legacy.o not found
ar: chvalid.o not found
ar: pattern.o not found
ar: xmlsave.o not found
ar: xmlmodule.o not found
ar: schematron.o not found
make[2]: *** [libxml2.la] Error 43

all .o files which ar is complaining that it cannot find them are properly present in the directory. I have no clue why ar is giving error regarding this. Any help will will be highly appreciated.
 
With Kind Regards,
Vishal.
 


Store, manage and share up to 5GB with Windows Live SkyDrive. Start uploading now


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]