re hi every one,
I am trying to install libxml++. But, it is not easy for me.
As i have said in my precedent message, I have secceed to install libxml2
and pkg-config. I have taped these line to install my library:
** > setenv PKG_CONFIG_PATH /myProjectDir/bin/pkg-config
> setenv LIBXML_LIBS /myProjectDir/lib/libxml2.a
> setenv LIBXML_CFLAGS "cc"
> ./configure --prefix = /myProjectDir
[...]
> make
make all-recursive
make[1]: Entering directory `/libxml++-2.18.0'
Making all in libxml++
make[2]: Entering directory `/libxml++-2.18.0/libxml++'
make all-recursive
make[3]: Entering directory `/libxml++-2.18.0/libxml++'
Making all in parsers
make[4]: Entering directory `/libxml++-2.18.0/libxml++/parsers'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -m64 -DHAVE_CONFIG_H
-DLIBXMLPP_BUILD -I. -I. -I../.. -I../../libxml++ -I../.. cc -g -O2 -MT
parser.lo -MD -MP -MF ".deps/parser.Tpo" -c -o parser.lo parser.cc; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Plo"; else rm -f
".deps/parser.Tpo"; exit 1; fi
g++ -m64 -DHAVE_CONFIG_H -DLIBXMLPP_BUILD -I. -I. -I../.. -I../../libxml++
-I../.. cc -g -O2 -MT parser.lo -MD -MP-MF .deps/parser.Tpo -c parser.cc -o
parser.o
g++: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [parser.lo] Error 1
make[4]: Leaving directory `/libxml++-2.18.0/libxml++/parsers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/libxml++-2.18.0/libxml++'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/libxml++-2.18.0/libxml++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/libxml++-2.18.0'
make: *** [all] Error 2
Thank you.
|