prasannap(_at_)ou(_dot_)edu writes:
Hello,
Im trying to configure Apache 1.3.3 with modxslt.
I installed libxml2-2.6.16, libxslt-1.1.12 and and then tried to install
modxslt-2004112100.
While trying to compile modxslt, I ran up to the following problem,
Configuring modxslt: ./configure --with-sapi=apache1
--with-apxs='path-to-apxs' --with-xml2-config='path-to-xml2-config'
--with-xslt-config='path-to-xslt-config'
gcc -o .libs/modxslt-parse .libs/modxslt-parse.o -L/usr/local/apps/xml/lib
-L/usr/local/apps/lib ../lib/.libs/libmodxslt0.so
../lib/.libs/libmodxslt0.so: undefined reference to `xmlXIncludeProcessFlags'
../lib/.libs/libmodxslt0.so: undefined reference to `xsltSetCtxtParseOptions'
../lib/.libs/libmodxslt0.so: undefined reference to `xsltCopyTextString'
../lib/.libs/libmodxslt0.so: undefined reference to `xmlCtxtUseOptions'
I have compiled and installed both libxml2 and libxslt successfully.
I dont know which library to include in the library path. Could you please
throw some light on me.
Thanks,
Prasanna
You're on the right track, but your 'include' and 'lib' are messed
up and the compiler is not finding them. You should have something
like this in your Makefile:
PREFIX=/usr/local
INCPREFIX=$(PREFIX)/include
LIBPREFIX=$(PREFIX)/lib
INC=-I$(INCPREFIX) -I$(INCPREFIX)/libxml2
LIB=$(LIBPREFIX)/libxml2.so $(LIBPREFIX)/libxslt.so
This is probably a topic best sent to the Apache modules list at:
http://modules.apache.org/
--
*----------------------------------------------------------------------*
|XOBJEX Research & Development Corp. Daniel Bibbens, Partner|
|Santa Monica, California http://xobjex.com/|
| +------------------------------------------------------------+ |
| Apache modules and other open-source projects for XSL & RSS |
*----------------------------------------------------------------------*
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--