[gdome]Unable to build gdome2 from CVS



I was attempting to install the perl module XML-GDOME-0.76, which
requires the gdome2 CVS distribution.  When I tried to build gdome2,
I get a series of errors.  I attempted to upgrade some of my build
utilities, but still have had no luck.

I'm not sure where I went wrong.  Any suggested approaches for correcting
my installation would be appreciated.

This is my configuration... the error messages I get are shown below.

OS: RedHat 6.1, Linux 2.2.12-20

perl : v5.6.1 built for i686-linux-thread-multi

gcc : egcs-2.91.66

autoconf : 2.53

libtool : 1.4.2

automake : 1.6

xml2-config --version    :  2.4.17

xslt-config --version    :  1.0.13



> I have tried to use the latest from CVS, but I can get it to build the
> configure script and Makefile.  I had no problems getting XML-GDOME-0.75
> working, but the wheels just fell off when I went to try XML-GDOME-0.76
> ....[sigh]
> 
> When I run autogen.sh I get error messsages like...
> 
> chalk:gdome/gdome2:50> ./autogen.sh
> I am going to run ./configure with no arguments - if you wish 
> to pass any to it, please specify them on the ./autogen.sh command line.
> Running libtoolize...
> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> Running aclocal...
> aclocal: configure.in: 68: macro `AM_PATH_GLIB_2_0' not found in library
> Running automake...
> configure.in:9: no proper implementation of AM_INIT_AUTOMAKE was found,
> configure.in:9: probably because aclocal.m4 is missing...
> configure.in:9: You should run aclocal to create this file, then
> configure.in:9: run automake again.
> /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
> /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
> 
> 
> [snip]
> 
> Running autoconf...
> configure.in:149: /usr/bin/m4: Warning: Excess arguments to built-in `m4_pushdef' ignored
> /usr/bin/m4: memory exhausted
> Running configure --enable-maintainer-mode --enable-compile-warnings ...
> loading cache ./config.cache
> ./configure: syntax error near unexpected token `AM_CONFIG_HEADER(config.h)'
> ./configure: ./configure: line 542: `AM_CONFIG_HEADER(config.h)'
> 
> Now type 'make' to compile gdome.
> chalk:gdome/gdome2:51> make
> make: *** No targets.  Stop.
> 
> Quoting T.J. Mather (tjmather tjmather com):
> > Hi,
> > 
> > Are you using the lastest CVS from gdome2?  gdome_xpresult_iterateNext was 
> > recently added to the CVS.
> > 
> > -TJ
> > 
> > On Fri, 15 Mar 2002, Lyle Brooks wrote:
> > 
> > > Where do I find the function gdome_xpresult_iterateNext? 
> > > 
> > > 
> > > OS: RedHat 6.2
> > > Perl: v5.6.1
> > > 
> > > xml2-config --version    :  2.4.17
> > > xslt-config --version    :  1.0.13
> > > 
> > > 
> > > When I do a make test on  XML-GDOME-0.76 I get the following
> > > 
> > > 
> > > chalk:build/XML-GDOME-0.76:30> make test
> > > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i686-linux-thread-multi -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> > > t/01_basic...........Can't load 'blib/arch/auto/XML/GDOME/GDOME.so' for module XML::GDOME: blib/arch/auto/XML/GDOME/GDOME.so: undefined symbol: gdome_xpresult_iterateNext at /usr/lib/perl5/5.6.1/i686-linux-thread-multi/DynaLoader.pm line 206.
> > >  at t/01_basic.t line 4
> > > Compilation failed in require at t/01_basic.t line 4.
> > > BEGIN failed--compilation aborted at t/01_basic.t line 4.
> > > t/01_basic...........dubious                                                 
> > >         Test returned status 255 (wstat 65280, 0xff00)
> > > DIED. FAILED tests 1-8
> > >         Failed 8/8 tests, 0.00% okay
> > > t/02_cdata...........Can't load 'blib/arch/auto/XML/GDOME/GDOME.so' for module XML::GDOME: blib/arch/auto/XML/GDOME/GDOME.so: undefined symbol: gdome_xpresult_iterateNext at /usr/lib/perl5/5.6.1/i686-linux-thread-multi/DynaLoader.pm line 206.
> > >  at t/02_cdata.t line 4
> > > 
> > > 
> > > 
> > > <snip>
> > > 
> > > BEGIN failed--compilation aborted at t/10_callbacks.t line 4.
> > > t/10_callbacks.......dubious                                                 
> > >         Test returned status 255 (wstat 65280, 0xff00)
> > > DIED. FAILED tests 1-38
> > >         Failed 38/38 tests, 0.00% okay
> > > Failed Test         Stat Wstat Total Fail  Failed  List of Failed
> > > -------------------------------------------------------------------------------
> > > t/01_basic.t         255 65280     8    8 100.00%  1-8
> > > t/02_cdata.t         255 65280    17   17 100.00%  1-17
> > > t/03_document.t      255 65280    48   48 100.00%  1-48
> > > t/04_dtd.t           255 65280    18   18 100.00%  1-18
> > > t/05_element.t       255 65280    33   33 100.00%  1-33
> > > t/06_namednodemap.t  255 65280   102  102 100.00%  1-102
> > > t/07_node.t          255 65280    28   28 100.00%  1-28
> > > t/08_xpath.t         255 65280    18   18 100.00%  1-18
> > > t/09_sax.t           255 65280    33   33 100.00%  1-33
> > > t/10_callbacks.t     255 65280    38   38 100.00%  1-38
> > > Failed 10/10 test scripts, 0.00% okay. 343/343 subtests failed, 0.00% okay.
> > > make: *** [test_dynamic] Error 9
> > > 
> > > _______________________________________________
> > > Perl-XML mailing list
> > > Perl-XML listserv ActiveState com
> > > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> > > 
> > 
> 


----- End forwarded message -----



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