Subject: | |
From: | |
Reply To: | |
Date: | Wed, 6 Oct 1999 18:04:20 GMT |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 |
|
|
|