[xslt] xslt cvs daily snapshot doesn't compile



Since we have the CVS port blocked because of the proxy, I downloaded
and tried to compile the latest libxslt. It failed to compile after I
ran configure and tried doing make.

The first thing that was a rather simple fix was the following:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libxslt
-I/usr/include/libxml2 -g -O2
 -Wall -Wp,-MD,.deps/xslt.pp -c xslt.c  -fPIC -DPIC -o .libs/xslt.lo
In file included from libxslt.h:21,
                 from xslt.c:17:
xsltconfig.h:76: parse error

which looks like this:

#if @WITH_TRIO@
#define XSLT_NEED_TRIO
#endif
#ifdef __VMS
#ifndef XSLT_NEED_TRIO
#define XSLT_NEED_TRIO
#endif
#endif

This is probably a problem with the autoconf variable not being
replaced? I wasn't sure so I changed @WITH_TRIO@ to 0 and tried to
compile again. But it stopped again and I am not sure what I am missing
or need to change.

Here is the copy/paste of the error messages:
----------------
gcc -g -O2 -Wall -o .libs/xsltproc xsltproc.o
../libxslt/.libs/libxslt.so -L/usr
/lib -lxml2 -lz -lm -lm ../libexslt/.libs/libexslt.so -lxml2 -lz -lm -lm
-L/usr/
lib -lxml2 -lz -lm -L/usr/lib -lxml2 -lz -lm -lm -Wl,--rpath
-Wl,/usr/local/lib
xsltproc.o: In function `main':
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:526: undefined
reference to `xsltNewSecurityPrefs'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:527: undefined
reference to `xsltSetDefaultSecurityPrefs'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:605: undefined
reference to `xsltSecurityForbid'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:605: undefined
reference to `xsltSetSecurityPrefs'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:607: undefined
reference to `xsltSecurityForbid'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:607: undefined
reference to `xsltSetSecurityPrefs'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:609: undefined
reference to `xsltSecurityForbid'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:613: undefined
reference to `xsltSecurityForbid'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:619: undefined
reference to `xsltSetSecurityPrefs'
/home/gena01/libxslt-cvs/XSLT/xsltproc/xsltproc.c:834: undefined
reference to `xsltFreeSecurityPrefs'
../libxslt/.libs/libxslt.so: undefined reference to `xsltCheckRead'
../libxslt/.libs/libxslt.so: undefined reference to `xsltCheckWrite'
../libxslt/.libs/libxslt.so: undefined reference to
`xsltGetDefaultSecurityPrefs'
collect2: ld returned 1 exit status
make[2]: *** [xsltproc] Error 1
make[2]: Leaving directory `/home/gena01/libxslt-cvs/XSLT/xsltproc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gena01/libxslt-cvs/XSLT'
make: *** [all-recursive-am] Error 2
------------------

G.F. aka Gena01
http://www.gena01.com



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