[xsl] Build errors on BSD

Subject: [xsl] Build errors on BSD
From: "Webmaster" <e.sol@xxxxxxxxxxx>
Date: Mon, 24 Apr 2006 19:57:03 -0500
During a make of libxslt 1.1.15 (latest snapshot) on BSD, I stop with the following errors:

/usr/include/sys/event.h:53: syntax error before `uintptr_t'
/usr/include/sys/event.h:55: syntax error before `u_short'
In file included from crypto.c:321:
/usr/include/sys/select.h:47: syntax error before `pid_t'
*** Error code 1

Stop in /usr/src/libxslt-1.1.15/libexslt.
*** Error code 1

Stop in /usr/src/libxslt-1.1.15.
*** Error code 1

Stop in /usr/src/libxslt-1.1.15.


Prior to this attempt, I installed libxml 2-2.6.23 (without errors) and then ran ldconfig.


I used the following configure line:

./configure --with-libxml-include-prefix=/usr/local/include/libxml2/libxml --with-libxml-libs-prefix=/usr/local/lib


As suggesed in the FAQ, I ran 'xslt-config --cflags' and 'xslt-config --libs' before doing my build, but I'm not sure what that is supposed to do. It mentioned that these commands are normally issued in the makefile. Am I supposed to edit the makefile?



Thank you in advance for any guidence.


Joel

Current Thread