|
From: Damien D. <Dam...@Su...> - 2002-04-23 10:32:53
|
Dan Mueth wrote: > = > Damien, > = > Try adding this: > = > #include <sys/types.h> > = > to scrollkeeper.h.in below the line: > = > #include <libxml/tree.h> > = > If it isn't sufficient, you might add a line for <sys/stat.h> too, but = I > don't think this will be necessary. > = > Tell me if this fixes the problem for you. It certainly did Dan! Thank you. Two additional things - on Solaris I used GNU make because I ran into problems with Solaris make. Also at the end of the 'make install' it = attempts to open the docbookx.dtd definition from = http://www.oasis-open.org/ but our firewall stopped it as the function which attempts to do so doesn't know anything = about our LAN proxy servers : /usr/local/bin/scrollkeeper-rebuilddb -q -p /usr/local/var/lib/scrollkeep= er xmlNanoHTTPConnectHost: Failed to resolve host 'www.oasis-open.org' - Au= thoritive host not foundxmlNanoHTTPConnectHost: Failed to resolve host '= www.oasis-open.org' - Authoritive host not found/usr/local/share/scrollke= eper/doc/writing_scrollkeeper_omf_files/C/writing_scrollkeeper_omf_files.= xml:14: warning: failed to load external entity "http://www.oasis-open.or= g/docbook/xml/4.1.2/docbookx.dtd" I am not sure how this will impact on the installation? In general, how do folks circumvent the firewall problem when validating against external DTDs when they are behind a = firewall? I cannot use xmllint for validation for this reason also. Is there an env variable I ought to be setting? I have using them through socks but they don't appear to be socks aware. Thanks for your assistance! Regards, Damien ]> > Dan > = > On Mon, 22 Apr 2002, Damien Donlon wrote: > = > > > > Hi All, > > While compiling 0.3.7 & 0.3.8 scrollkeeper on Solaris 8 I > > persistently get the following during the make : > > > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/libxml2/libxml = -I/usr/local/include/libxml2 -I/include -I/usr/local/include -I/usr/local= /include/libxml2/libxml -I/usr/local/include/libxml2 -I/include -DSOLARIS= -g -O2 -c error.c -fPIC -DPIC -o .libs/error.lo > > In file included from error.c:22: > > scrollkeeper.h:63: parse error before `mode_t' > > *** Error code 1 > > make: Fatal error: Command failed for target `error.lo' > > Current working directory /tmp/scrollkeeper-0.3.8/libs > > *** Error code 1 > > make: Fatal error: Command failed for target `all-recursive' > > Current working directory /tmp/scrollkeeper-0.3.8 > > *** Error code 1 > > make: Fatal error: Command failed for target `all-recursive-am' > > > > The function definition causing the problem appears to be : > > > > extern int sk_mkdir_with_parents(char *, mode_t, char); > > > > I am using : > > basil% gcc -v > > Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3= /specs > > gcc version 2.95.3 20010315 (release) > > > > Do I need to install a 3.0+ version? > > > > Libxml2 is Gary Pennington's latest 64bit Solaris binary and libxslt = is > > 1.0.16. > > > > Suggestions? > > Please email be directly as I am not on the alias. > > > > Thank you! > > > > Damien > > > > > > > > =A4=BA=FF=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=A4=BA=FF=B0= `=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=FF=A4 > > Damien Donlon > > dam...@su... > > 00 353 1 8199225 > > x19225 > > > > _______________________________________________ > > Scrollkeeper-devel mailing list > > Scr...@li... > > https://lists.sourceforge.net/lists/listinfo/scrollkeeper-devel > > -- = =A4=BA=FF=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=A4=BA=FF=B0`=B0= =BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=FF=A4 Damien Donlon dam...@su... 00 353 1 8199225 x19225 |