[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Configuring apache 1.3.3 with modxslt, libxml2 and

Subject: Re: Configuring apache 1.3.3 with modxslt, libxml2 and libxslt
From: Daniel Bibbens <dbibbens@xxxxxxxxxx>
Date: Tue, 18 Jan 2005 08:34:02 -0800
xmlctxtuseoptions
prasannap@xxxxxx 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      |
*----------------------------------------------------------------------*

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.