Operating System - Linux
1753946 Members
7366 Online
108811 Solutions
New Discussion юеВ

perl64 - unable to install html::parser

 
SOLVED
Go to solution
itai weisman
Super Advisor

perl64 - unable to install html::parser

hello everyone,
I'm trying to install html::parser (3.46 and also tried 3.40 - it fails with the same error).
I'm using perl64 with gcc64, on PA-Risc11.11
creating the make file (by using perl Makefile.PL) works fines without any errors or warning.
make process fails, attached output.
thanks ppl
8 REPLIES 8
H.Merijn Brand (procura
Honored Contributor
Solution

Re: perl64 - unable to install html::parser

You've got an assembler mismatch.

Can I see the output of

# echo $PATH
# whereis gcc
# gcc -v
# perl -V

and replace gcc64 in the next line with the path to your 64bit gcc and compare the output.
GNU gcc 64bit is very happy with GNU binutils (gas)

r3:/u/usr/merijn 101 > echo "int main(){return(1);}" > xx.c ; gcc64 -v xx.c
Reading specs from /wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4/specs
Configured with: ../src/configure --enable-languages=c,c++ --prefix=/usr/local/p
a20_64 --with-local-prefix=/usr/local/pa20_64 --with-gnu-as --with-as=/usr/local
/pa20_64/bin/as --with-gnu-ld --with-ld=/usr/local/pa20_64/bin/ld --disable-shar
ed --disable-nls --host=hppa64-hp-hpux11.11
Thread model: single
gcc version 3.4.4
/wrk/pa20_64/bin/../libexec/gcc/hppa64-hp-hpux11.11/3.4.4/cc1 -quiet -v -iprefi
x /wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4/ xx.c -quiet -dumpbase x
x.c -auxbase xx -version -o /tmp/ccx5FfZw.s
ignoring nonexistent directory "/wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/
3.4.4/../../../../hppa64-hp-hpux11.11/include"
ignoring duplicate directory "/usr/local/pa20_64/lib/gcc/hppa64-hp-hpux11.11/3.4
.4/include"
ignoring nonexistent directory "/usr/local/pa20_64/lib/gcc/hppa64-hp-hpux11.11/3
.4.4/../../../../hppa64-hp-hpux11.11/include"
#include "..." search starts here:
#include <...> search starts here:
/wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4/include
/usr/local/pa20_64/include
/usr/include
End of search list.
GNU C version 3.4.4 (hppa64-hp-hpux11.11)
compiled by GNU C version 3.4.4.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
/usr/local/pa20_64/bin/as -o /tmp/ccaXjcIU.o /tmp/ccx5FfZw.s
/wrk/pa20_64/bin/../libexec/gcc/hppa64-hp-hpux11.11/3.4.4/collect2 -E -u main /
usr/ccs/lib/pa20_64/crt0.o /wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4
/crtbegin.o -L/wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4 -L/wrk/pa20_
64/bin/../lib/gcc -L/usr/local/pa20_64/lib/gcc/hppa64-hp-hpux11.11/3.4.4 -L/wrk/
pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4/../../../../hppa64-hp-hpux11.11
/lib -L/usr/local/pa20_64/lib/gcc/hppa64-hp-hpux11.11/3.4.4/../../../../hppa64-h
p-hpux11.11/lib -L/usr/ccs/bin -L/usr/ccs/lib/pa20_64 -L/opt/langtools/lib/pa20_
64 -L/wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4.4/../../.. -L/usr/local
/pa20_64/lib/gcc/hppa64-hp-hpux11.11/3.4.4/../../.. /tmp/ccaXjcIU.o -lgcc -lc /u
sr/lib/pa20_64/milli.a -lgcc /wrk/pa20_64/bin/../lib/gcc/hppa64-hp-hpux11.11/3.4
.4/crtend.o
r3:/u/usr/merijn 102 >
Enjoy, Have FUN! H.Merijn
Arunvijai_4
Honored Contributor

Re: perl64 - unable to install html::parser

Try with HP C compiler or use GNU's assembler (gas)

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
itai weisman
Super Advisor

Re: perl64 - unable to install html::parser

hi,
arun - where can I find it?

this is the output, I'm using diffrent perl (64) version then the default (32 - found on whereis) -both outputs are attached
root@electra: echo $PATH
/usr/sbin:/bin/posix:/bin:/usr/bin:/usr/contrib/bin:/var/perf/bin:/opt/lrom/bin
/opt/syncsort/bin:/usr/local/bin:/usr/electra/bin:/bin:/usr/bin:/etc:/usr/contr
b/bin:/users/root:/usr/lib:/usr/lib/acct:/DiskBill/common/bin:/usr/electra/bin:
sbin:/opt/perf/bin:/usr/symcli/bin
root@electra: whereis gcc
gcc: /usr/local/bin/gcc
root@electra: gcc -v
gcc version 2.7.2.3
root@electra: perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=10.20, archname=PA-RISC1.1
uname='hp-ux rydal b.10.20 a 9000777 2011764956 two-user license '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=und
f
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags =' -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
optimize='-O +Onolimit',
cppflags='-Ae'
ccversion='A.10.32.18', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksiz
=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags =''
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt -lsec
perllibs=-lnsl_s -ldld -lm -lc -lndir -lcrypt -lsec
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,defer
ed '
cccdlflags='+z', lddlflags='-b -s -a shared'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at May 31 2001 15:33:39
@INC:
/opt/perl5/lib/5.6.1/PA-RISC1.1
/opt/perl5/lib/5.6.1
/opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1
/opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl


root@electra: /pub_tools/perl64_pa2.0_oracle/bin/perl -v

This is perl, v5.8.2 built for PA-RISC2.0-LP64
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2003, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

root@electra:
Arunvijai_4
Honored Contributor

Re: perl64 - unable to install html::parser

Regarding GNU's assembler, it is no longer available from www.hp.com/dspp. HP says "
GNU binutils packages for HP-UX are no longer being provided." You can download the source of binutils from http://ftp.gnu.org/gnu/binutils/ and compile it.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
H.Merijn Brand (procura
Honored Contributor

Re: perl64 - unable to install html::parser

I do not understand why he get's 10 points for an answer I already gave and I get none.

If you download and install gcc-3.4.4/64 from my site, you have binutils and gdb included

http://mirrors.develooper.com/hpux/gcc-3.4.4-11.11.sd.bz

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
itai weisman
Super Advisor

Re: perl64 - unable to install html::parser

it still doesn't work :( even after installing this version of gcc.
attached 'make' output.
H.Merijn Brand (procura
Honored Contributor

Re: perl64 - unable to install html::parser

It still calls the wrong 'as'.

You can try to

a. Move your gcc/binutils path to the front

# export PATH=/usr/local/pa20_64/bin:$PATH

b. Temporary move HP's as out of the way (not a good option)

c. Install a different perl that already includes HTML::Parser, like my port:

http://mirrors.develooper.com/hpux/perl-5.8.7-dor-11.11.sd.bz

Option c. will install perl/32 in /opt/perl, and perl/64 in /opt/perl64

Both include HTML::Parser

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
itai weisman
Super Advisor

Re: perl64 - unable to install html::parser

thanks, it works now.
Itai