You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by logancillo <al...@gmail.com> on 2008/01/18 12:17:55 UTC

Unable to build Xalan-c

hi everybody, i trying to compile Xalan-C and xerces-c to be able to use and
integrating them in my java project via jni bridge. My exact problem is that
when i type make make, it gives me some errors.

this is ./runConfigure script output:

alonso@alonso-laptop:~/curro/librerias/XalanC/xml-xalan/c$ ./runConfigure -p
linux -c gcc -x g++ -P $HOME/XalanCompilado
Generating makefiles with the following options ...
Platform: linux
C Compiler: gcc
C++ Compiler: g++
Extra compile options: 
Extra link options: 
Transcoder: default
Localization system: inmem
Locale: en_US
Thread option: 
bitsToBuild option: 32
Extra configure options:  --prefix=/home/alonso/XalanCompilado
Debug is OFF

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for autoconf... true
checking whether -fno-elide-constructors works correctly... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for floor in -lm... yes
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for mbstowcs... yes
checking if mbstowcs can count only... yes
configure: creating ./config.status
config.status: creating Makefile.incl
config.status: creating Makefile
config.status: creating src/xalanc/Makefile
config.status: creating src/xalanc/Utils/Makefile
config.status: creating src/xalanc/Utils/MsgCreator/Makefile
config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile
config.status: creating samples/Makefile
config.status: creating Tests/Makefile

If the result of the above commands look OK to you, go to the directory
/home/alonso/curro/librerias/XalanC/xml-xalan/c and type "gmake" or "make"
to make the XALAN-C system.

Note: You must use GNU make to use the Xalan Makefile.

and this is make script output:

alonso@alonso-laptop:~/curro/librerias/XalanC/xml-xalan/c$ make
make -C src/xalanc all
make[1]: se ingresa al directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc'
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
make -C Utils prepare
make[2]: se ingresa al directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc/Utils'
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make[2]: se sale del directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc/Utils'
make -C Utils locale
make[2]: se ingresa al directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc/Utils'
make -C MsgCreator 
make[3]: se ingresa al directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc/Utils/MsgCreator'
g++ -DLINUX -fPIC  -DXALAN_INMEM_MSG_LOADER   \
          -L/home/alonso/curro/librerias/XalanC/xerces-c-src_2_7_0//lib
-lxerces-c ../../../../obj/MsgFileOutputStream.o
../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o
../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o
../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator 
/usr/bin/ld: cannot find -lxerces-c
collect2: ld devolvió el estado de salida 1
make[3]: *** [../../../../bin/MsgCreator] Error 1
make[3]: se sale del directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc/Utils/MsgCreator'
make[2]: *** [../../../bin/MsgCreator] Error 2
make[2]: se sale del directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc/Utils'
make[1]: *** [locale] Error 2
make[1]: se sale del directorio
`/home/alonso/curro/librerias/XalanC/xml-xalan/c/src/xalanc'
make: *** [all] Error 2

i didnt find anything in google about this error.

could someone help me?

thx in advance!


-- 
View this message in context: http://www.nabble.com/Unable-to-build-Xalan-c-tp14948089p14948089.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.