Re: [libxml++] libxml++ installation problems



On Mon, 2007-05-21 at 15:28 +0200, Hamid Gasmi wrote:
> re hi every one,
>  
> I am trying to install libxml++. But, it is not easy for me. 

It is not necessary to send the same message three times in one day.

> 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:

Is this a normal Linux distro? Can't you just use the distro's standard
packages?

> > 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.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________ Libxmlplusplus-general mailing list Libxmlplusplus-general lists sourceforge net https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general
-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





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