cpan-authors / XML-Parser

Perl module for parsing XML documents with libexpat.
Artistic License 2.0
8 stars 20 forks source link

XML parser (v 2.34) make error [rt.cpan.org #32360] #75

Closed toddr closed 5 years ago

toddr commented 5 years ago

Migrated from rt.cpan.org#32360 (status was 'stalled')

Requestors:

From igor.andreani@mail.wind.it on 2008-01-16 19:03:53 :

Hello,
can you help me to debug this error ?
We have tested also the last version (2.36) with the same error.

Thanks in advance for your attention
Igor

________________________

berger:/tmp/perl/XML-Parser-2.34 # perl Makefile.PL
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
berger:/tmp/perl/XML-Parser-2.34 # make
        gcc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE
-fPIC -mpa-risc-1-1 -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"2.34\"  -DXS_VERSION=\"2.34\"
-fPIC "-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE"   Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
        chmod 644 Expat.bs
        rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl
        LD_RUN_PATH="/usr/local/lib" gcc  -shared -static-libgcc -fPIC
Expat.o  -o ../blib/arch/auto/XML/Parser/Expat/Expat.sl   -lexpat  
ld: Can't find library or mismatched ABI for -lexpat
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

___________

INFOS:

berger:/tmp/perl/XML-Parser-2.34 #  uname -a
HP-UX berger B.11.11 U 9000/800 335979133 unlimited-user license

berger:/tmp/perl/XML-Parser-2.34 # model
9000/800/rp3440  

berger:/tmp/perl/XML-Parser-2.34 # perl -v

This is perl, v5.8.0 built for PA-RISC1.1-thread-multi
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2002, Larry Wall

Binary build 806 provided by ActiveState Corp.
http://www.ActiveState.com
Built 21:44:05 May  2 2003

berger:/tmp/perl/XML-Parser-2.34 # gcc -v
Using built-in specs.
Target: hppa64-hp-hpux11.11
Configured with: /tmp/gcc-4.2.1.tar.gz/gcc-4.2.1/configure
--host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11
--build=hppa64-hp-hpux11.11 --prefix=/opt/hp-gcc64-4.2.1 --with-gnu-as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
--enable-languages=c,c++
Thread model: posix
gcc version 4.2.1

expat-2.0.1 INSTALLED

__________________

Le informazioni contenute in questo messaggio di posta elettronica e in ogni
eventuale documento allegato sono riservate, potrebbero essere coperte dal
segreto professionale e possono essere utilizzate esclusivamente dal
destinatario sopra indicato. Ogni divulgazione o copia di questo messaggio o
dei suoi eventuali allegati non autorizzata, cosi' come ogni uso o
divulgazione delle informazioni negli stessi contenute, sono da considerarsi
come vietate e potrebbero costituire violazione delle normative ivi
applicabili.  Se ricevete questo messaggio per errore Vi preghiamo di
volerci avvertire immediatamente tramite posta elettronica o telefonicamente
e di cancellare il presente messaggio e ogni documento ad esso allegato dal
Vostro sistema. Vi informiamo che svolgiamo ogni attivita' finalizzata a
proteggere la nostra rete da virus e non ci assumiamo alcuna responsabilita'
in ordine a possibili virus che possano essere trasferiti con la presente mail.
Grazie.

*****************

The information contained in this e-mail and in any file transmitted with it
is confidential and may be privileged for the sole use of the designated
addressee. Any unauthorized dissemination or copying of this e-mail or its
attachments, and any use or disclosure of any information contained in them,
is strictly prohibited and may be illegal. If you are not the designated
addressee, please notify the sender immediately by e-mail or by telephone
and delete this e-mail and any file transmitted with it from your system.
We make every effort to keep our network free from viruses and take no
responsibility for any computer virus which might be transferred by way of this
e-mail.
Thank you.

From chorny@cpan.org on 2010-09-15 20:40:25 :

Did you compile expat by yourself or it was installed with your OS
package manager?

https://rt.cpan.org/Ticket/Display.html?id=32360

On Wed Jan 16 14:03:53 2008, igor.andreani@Mail.Wind.it wrote:
> Hello,
> can you help me to debug this error ?
> We have tested also the last version (2.36) with the same error.
> 
> Thanks in advance for your attention
> Igor
> 
> ________________________
> 
> berger:/tmp/perl/XML-Parser-2.34 # perl Makefile.PL
> Writing Makefile for XML::Parser::Expat
> Writing Makefile for XML::Parser
> berger:/tmp/perl/XML-Parser-2.34 # make
>         gcc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT
> -D_HPUX_SOURCE
> -fPIC -mpa-risc-1-1 -fno-strict-aliasing -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"2.34\"  -DXS_VERSION=\"2.34\"
> -fPIC "-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE"   Expat.c
> Running Mkbootstrap for XML::Parser::Expat ()
>         chmod 644 Expat.bs
>         rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl
>         LD_RUN_PATH="/usr/local/lib" gcc  -shared -static-libgcc -fPIC
> Expat.o  -o ../blib/arch/auto/XML/Parser/Expat/Expat.sl   -lexpat
> ld: Can't find library or mismatched ABI for -lexpat
> Fatal error.
> collect2: ld returned 1 exit status
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
> ___________
> 
> INFOS:
> 
> berger:/tmp/perl/XML-Parser-2.34 #  uname -a
> HP-UX berger B.11.11 U 9000/800 335979133 unlimited-user license
> 
> berger:/tmp/perl/XML-Parser-2.34 # model
> 9000/800/rp3440
> 
> berger:/tmp/perl/XML-Parser-2.34 # perl -v
> 
> This is perl, v5.8.0 built for PA-RISC1.1-thread-multi
> (with 1 registered patch, see perl -V for more detail)
> 
> Copyright 1987-2002, Larry Wall
> 
> Binary build 806 provided by ActiveState Corp.
> http://www.ActiveState.com
> Built 21:44:05 May  2 2003
> 
> berger:/tmp/perl/XML-Parser-2.34 # gcc -v
> Using built-in specs.
> Target: hppa64-hp-hpux11.11
> Configured with: /tmp/gcc-4.2.1.tar.gz/gcc-4.2.1/configure
> --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11
> --build=hppa64-hp-hpux11.11 --prefix=/opt/hp-gcc64-4.2.1 --with-gnu-as
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
> --enable-languages=c,c++
> Thread model: posix
> gcc version 4.2.1
> 
> expat-2.0.1 INSTALLED

-- 
Alexandr Ciornii, http://chorny.net
toddr commented 5 years ago

Given the age of this case, I'm closing it for now. If you still have questions, please re-open the case.