|
From: Damien D. <Dam...@Su...> - 2002-04-22 21:53:01
|
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/u= sr/local/include/libxml2 -I/include -I/usr/local/include -I/usr/local/inc= lude/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/spe= cs 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 |
|
From: Dan M. <mu...@al...> - 2002-04-23 00:44:24
|
Damien,
Try adding this:
#include <sys/types.h>
to scrollkeeper.h.in below the line:
=20
#include <libxml/tree.h>
If it isn't sufficient, you might add a line for <sys/stat.h> too, but I=20
don't think this will be necessary.
Tell me if this fixes the problem for you.
Dan
On Mon, 22 Apr 2002, Damien Donlon wrote:
>=20
> Hi All,
> While compiling 0.3.7 & 0.3.8 scrollkeeper on Solaris 8 I=20
> persistently get the following during the make :
>=20
> 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/i=
nclude/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'
>=20
> The function definition causing the problem appears to be :
>=20
> extern int sk_mkdir_with_parents(char *, mode_t, char);
>=20
> I am using :
> basil% gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/s=
pecs
> gcc version 2.95.3 20010315 (release)
>=20
> Do I need to install a 3.0+ version?
>=20
> Libxml2 is Gary Pennington's latest 64bit Solaris binary and libxslt is
> 1.0.16.=20
>=20
> Suggestions?
> Please email be directly as I am not on the alias.
>=20
> Thank you!
>=20
> Damien
>=20
>=20
>=20
> =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
>=20
> _______________________________________________
> Scrollkeeper-devel mailing list
> Scr...@li...
> https://lists.sourceforge.net/lists/listinfo/scrollkeeper-devel
>=20
|
|
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 |
|
From: John F. <jf...@in...> - 2002-04-23 12:51:01
|
On Tue, Apr 23, 2002 at 11:30:13AM +0100, Damien Donlon wrote: > 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/scrollkeeper > xmlNanoHTTPConnectHost: Failed to resolve host 'www.oasis-open.org' - Authoritive host not foundxmlNanoHTTPConnectHost: Failed to resolve host 'www.oasis-open.org' - Authoritive host not found/usr/local/share/scrollkeeper/doc/writing_scrollkeeper_omf_files/C/writing_scrollkeeper_omf_files.xml:14: warning: failed to load external entity "http://www.oasis-open.org/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. > This problem should be solved by installing a local version of the necessary dtd that is properly registered with xmlcatalog. Dan's made some packages to do this: http://scrollkeeper.sourceforge.net/docbook.shtml Cheers, John -- John Fleck jf...@in... (h) jf...@ab... (w) http://www.inkstain.net http://www.abqjournal.com "You don't want to die with the music still in you." - John Gardner |