HP3000 Folks and Mark Bixby,
I tried the following to fix my GD.sl problem.
The original link did an addxl like so;
CONTENTS OF RL INDIRECT FILE /tmp/ld_18575_rlIF:
/usr/local/lib/libgd.a
/usr/local/lib/libz.a
/usr/local/lib/libpng.a
END OF RL INDIRECT FILE
buildxl ./blib/arch/auto/GD/GD.sl ;limit=12
:file ld2To=./blib/arch/auto/GD/GD.sl
:file ld2From=/usr/local/lib/libgd.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/usr/local/lib/libz.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/usr/local/lib/libpng.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/usr/local/lib/libm.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/lib/libm.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2RL=/tmp/ld_18575_rlIF
addxl from=./GD.o ;to=./blib/arch/auto/GD/GD.sl ;rl=^*ld2RL ;merge;replace;share
:reset ld2RL
:reset ld2To
:reset ld2From
cleanxl ./blib/arch/auto/GD/GD.sl;compact
I revised link to remove the rl=^*ld2RL stuff;
buildxl ./blib/arch/auto/GD/GD.sl ;limit=12
:file ld2To=./blib/arch/auto/GD/GD.sl
:file ld2From=/usr/local/lib/libgd.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/usr/local/lib/libz.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/usr/local/lib/libpng.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/usr/local/lib/libm.sl
copyxl from=*ld2From ;to=*ld2To ;replace
:file ld2From=/lib/libm.sl
copyxl from=*ld2From ;to=*ld2To ;replace
addxl from=./GD.o ;to=./blib/arch/auto/GD/GD.sl;merge;replace;share
:reset ld2RL
:reset ld2To
:reset ld2From
cleanxl ./blib/arch/auto/GD/GD.sl;compact
Now when I performed the perl test;
SITE133 MANAGER.SYS /tar_files/GD-1.22>make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/PERL/PUB/lib/perl5/5.00503/PA-RISC1.1 -I/PERL/PUB/lib/perl5/5.00503
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/GD................
libgd was not built with TrueType font support
libgd was not built with xpm support
ok, 2/9 subtests skipped
All tests successful, 2 subtests skipped.
Files=1, Tests=9, 6 wallclock secs ( 1.66 cusr + 1.66 csys = 3.31 CPU)
Any thoughts as to why I needed to modify the addxl statement?
Thanks for your help : )
-Joseph Whitlock
[log in to unmask]
Boeing Commericial Airplane Group (BCAG)
P.O. Box 3707 MS 6C-LU
Seattle, WA. 98124
Phone (425) 234-1478
Pager (206) 416-5113
----------
From: BIXBY,MARK (HP-Cupertino,ex1)[SMTP:[log in to unmask]]
Sent: Friday, October 08, 1999 3:04 PM
To: 'Whitlock, Joseph L'
Subject: RE: Posix libraries and Perl make utilities - more questions
> -----Original Message-----
> From: Whitlock, Joseph L [mailto:[log in to unmask]]
> Sent: Friday, October 08, 1999 2:24 PM
> To: 'BIXBY,MARK (HP-Cupertino,ex1)'
> Subject: RE: Posix libraries and Perl make utilities - more questions
>
>
> SITE133 MGR.PERL /tar_files/GD-1.22>export PERL_DL_DEBUG=1
Oops, you need to increase the verbosity level:
export PERL_DL_DEBUG=2
- Mark
Joseph Whitlock wrote:
> HP3000 Folks,
>
> I 'm continuing to try to understand the process of installing perl
> utilities on my HP3000.
> (Also I'm learning alot about gcc ld etc...)!
>
> I thought I would retrieve the Perl GD interface GD.pm.
> The requirements are;
>
> 1. Make sure you have downloaded and installed the following packages:
>
> a. Perl 5.004 or higher:
> http://www.perl.com/
>
> b. The gd graphics library, version 1.6.3 or higher:
> http://www.boutell.com/gd/
>
> c. The PNG graphics library:
> http://www.cdrom.com/pub/png/
>
> d. The zlib compression library:
> http://www.cdrom.com/pub/infozip/zlib/
>
> e. The FreeType font rendering library for TrueType fonts
> (optional):
> http://www.freetype.org/
>
> I have installed all of the following except the last one;
> and have run some of their test programs.
>
> Now the run;
>
> *********************************************************************************
>
> SITE133 MGR.PERL /tar_files/GD-1.22>perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> 'ABSTRACT' is not a known MakeMaker parameter name.
> 'AUTHOR' is not a known MakeMaker parameter name.
> 'CAPI' is not a known MakeMaker parameter name.
> Note (probably harmless): No library found for -lttf
> Note (probably harmless): No library found for -lX11
> Note (probably harmless): No library found for -lXpm
> Writing Makefile for GD
> SITE133 MGR.PERL /tar_files/GD-1.22>touch GD.c
> SITE133 MGR.PERL /tar_files/GD-1.22>export ECHO=1
> SITE133 MGR.PERL /tar_files/GD-1.22>make test
> gcc -c -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL
> -I/usr/local/include -I/usr/contrib/include -O2 -DVERSION=\"1
> .22\" -DXS_VERSION=\"1.22\"
> -I/PERL/PUB/lib/perl5/PA-RISC1.1/5.00404/CORE GD.c
> Running Mkbootstrap for GD ()
> chmod 644 GD.bs
> LD_RUN_PATH="/usr/local/lib:/lib" ld -o blib/arch/auto/GD/GD.sl -b
> -L/usr/local/lib -L/usr/contrib/lib GD.o -lgd -lz -lpng -lm -
> L/usr/lib/X11 -L/usr/X11R6/lib
> ld: WARNING: GD.o HAS FILECODE 0
> HP Link Editor/iX (HP30315A.06.10) Copyright Hewlett-Packard Co 1986
>
> LinkEd> buildxl ./blib/arch/auto/GD/GD.sl ;limit=12
>
> CONTENTS OF SHARED LIBRARY INDIRECT FILE /tmp/ld_15272_slIF:
> /lib/libm.sl
> END OF SHARED LIBRARY INDIRECT FILE
>
> CONTENTS OF RL INDIRECT FILE /tmp/ld_15272_rlIF:
> /usr/local/lib/libgd.a
> /usr/local/lib/libz.a
> /usr/local/lib/libpng.a
> END OF RL INDIRECT FILE
>
> CONTENTS OF LINKEDIT INDIRECT FILE /tmp/ld_15272_in:
> :file ld2To=./blib/arch/auto/GD/GD.sl
> :file ld2From=/lib/libm.sl
> copyxl from=*ld2From ;to=*ld2To ;replace
> :file ld2RL=/tmp/ld_15272_rlIF
> addxl from=./GD.o ;to=./blib/arch/auto/GD/GD.sl ;rl=^*ld2RL
> ;merge;replace;share
> :reset ld2RL
> :reset ld2To
> :reset ld2From
> cleanxl ./blib/arch/auto/GD/GD.sl;compact
> END OF INDIRECT FILE
>
> HP Link Editor/iX (HP30315A.06.10) Copyright Hewlett-Packard Co 1986
>
> LinkEd> :file ld2To=./blib/arch/auto/GD/GD.sl
>
> LinkEd> :file ld2From=/lib/libm.sl
>
> LinkEd> copyxl from=*ld2From ;to=*ld2To ;replace
> 1 OBJECT FILE HAS BEEN COPIED.
>
> LinkEd> :file ld2RL=/tmp/ld_15272_rlIF
>
> LinkEd> addxl from=./GD.o ;to=./blib/arch/auto/GD/GD.sl ;rl=^*ld2RL
> ;merge;repl
> ace;share
> WARNING: ./GD.o HAS FILECODE 0
> 1 OBJECT FILE HAS BEEN ADDED.
>
> LinkEd> :reset ld2RL
>
> LinkEd> :reset ld2To
>
> LinkEd> :reset ld2From
>
> LinkEd> cleanxl ./blib/arch/auto/GD/GD.sl;compact
>
> LinkEd> exit
>
> chmod 755 blib/arch/auto/GD/GD.sl
> cp GD.bs ./blib/arch/auto/GD/GD.bs
> chmod 644 blib/arch/auto/GD/GD.bs
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
> -I/PERL/PUB/lib/perl5/PA-RISC1.1/5.00404 -I/PERL/PUB/lib/perl5 -e '
> use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
> t/*.t
> t/GD................Ambiguous use of cmp => resolved to "cmp" => at
> blib/lib/GD.pm line 46.
> Can't find 'boot_GD' symbol in ./blib/arch/auto/GD/GD.sl
> at t/GD.t line 11
> BEGIN failed--compilation aborted at t/GD.t line 11.
> dubious
> Test returned status 0 (wstat 22, 0x16)
> DIED. FAILED tests 1-9
> Failed 9/9 tests, 0.00% okay
> Failed Test Status Wstat Total Fail Failed List of failed
> -------------------------------------------------------------------------------
>
> t/GD.t 0 22 9 9 100.00% 1-9
> Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
> make: *** [test_dynamic] Error 2
> SITE133 MGR.PERL /tar_files/GD-1.22>
>
> *********************************************************************************
>
> I can see what it's doing with respect to XL's RL's and object files.
> Any help from those of you who have assisted in the past would be
> appreciated.
>
> Thanks ahead of time.
>
> --
> Respectfully,
> Joe
>
> Joe Whitlock | Work Email: [log in to unmask]
>
> The Boeing Company | Home Email: [log in to unmask]
> P.O. Box 3707 | Tel: 425-234-1478
> MS 6C-LU | Fax: 425-237-7230
> Seattle, WA 98124-2207 |
|