Amanda-Users

Error in building 2.5.0p2 on Solaris 9

2006-05-16 12:25:20
Subject: Error in building 2.5.0p2 on Solaris 9
From: George <gmangeo AT gmail DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 16 May 2006 12:20:08 -0400
Greetings all;

I'm attempting to compile and install amanda-2.5.0p2 on a 2-way Sunfire V210 running Solaris 9 w/ 2gb RAM. Compiler is gcc, v3.4.2, linker is Sun's supplied /usr/ccs/bin/ld. Worthy of note is that this same package configured and compiled flawlessly on a 2-way Dell 1850 server running RHES 3.0.

Here are my configure parameters:

./configure --prefix=/usr/local/prdamanda --with-index-server=amanda2 --with-user=prdamanda --with-group=disk --with-config=prodbackup --with-tmpdir=/tmp/prdamanda --with-gnutar=/usr/local/bin/tar

========================================
The configure runs to completion with no warnings or errors save one, GNUplot not being installed. No biggie there. The "make" produces the following warnings as it proceeds through the building the code:

[...]

../common-src/amanda-int.h:339:1: warning: "UINT8_MAX" redefined
In file included from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/syslimits.h:41,
                 from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/limits.h:11,
                 from ../common-src/amanda.h:148,
                 from uparse.y:32:
/usr/include/sys/int_limits.h:79:1: warning: this is the location of the previous definition
In file included from ../common-src/amanda.h:245,
                 from uparse.y:32:
../common-src/amanda-int.h:340:1: warning: "UINT16_MAX" redefined
In file included from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/syslimits.h:41,
                 from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/limits.h:11,
                 from ../common-src/amanda.h:148,
                 from uparse.y:32:
/usr/include/sys/int_limits.h:80:1: warning: this is the location of the previous definition
In file included from ../common-src/amanda.h:245,
                 from uparse.y:32:
../common-src/amanda-int.h:342:1: warning: "UINT64_MAX" redefined
In file included from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/syslimits.h:41,
                 from /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/limits.h:11,
                 from ../common-src/amanda.h:148,
                 from uparse.y:32:

[...]

=============================================
Despite the warnings, everything goes smoothly until the build process reaches the building the "man" pages section, when it errors out completely:

[...]

creating amrecover
Making all in man
/usr/local/libxslt/sparcv9/bin/xsltproc --path ./xslt/ --xinclude --stringparam latex.imagebasedir "amanda.conf.5/" --stringparam noreference 1 --output xml-source/amanda.conf.5.proc.xml ./xslt/expand-sambadoc.xsl xml-source/amanda.conf.5.xml
/usr/local/libxslt/sparcv9/bin/xsltproc --path ./xslt/ --output amanda.conf.5 man.xsl xml-source/amanda.conf.5.proc.xml
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file ./xslt//man.xsl line 8 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
*** Error code 5
make: Fatal error: Command failed for target `amanda.conf.5'
Current working directory /export/home/gkofoed/amanda-2.5.0p2/man
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

==================================

Not sure where to go from here, I've never seen this when building amanda from source before. If I've missed supplying any necessary information to help trouble-shoot, please let me know. Any help/guidance appreciated. Thanks.

George
<Prev in Thread] Current Thread [Next in Thread>