GD.pm on SCO UnixWare 7.1 compiling problems 
Author Message
 GD.pm on SCO UnixWare 7.1 compiling problems

Hi everyone,

Did anybody compile GD-1.23 module (www.cpan.org/modules) on SCO
UnixWare 7.1?.

I tried to compile it with:

Quote:
>perl -v

This is perl, version 5.004_04 built for i386-svr4

and perl Makefile.PL produce me the next output:
cdlsco: /tmp/gd.pm/GD-1.23>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 -lXpm
Writing Makefile for GD

When I'm trying to run make I receive really bad things:
cdlsco: /tmp/gd.pm/GD-1.23->make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/GD
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/GD
mkdir ./blib/man3
cp GD.pm ./blib/lib/GD.pm
AutoSplitting GD (./blib/lib/auto/GD)
cp qd.pl ./blib/lib/qd.pl
        /bin/perl -I/usr/gnu/lib/perl5/i386-svr4/5.00404
-I/usr/gnu/lib/perl5 /usr/gnu/lib/perl5/ExtUtils/xsubpp  -typemap
/usr/gnu/lib/perl5/ExtUtils/typemap -typemap typemap GD.xs >GD.tc && mv
GD.tc GD.c
        /bin/cc -c -I/usr/local/include -I/usr/include -I/usr/ucbinclude
-O     -DVERSION=\"1.23\"  -DXS_VERSION=\"1.23\" -Kpic
-I/usr/gnu/lib/perl5/i386-svr4/5.00404/CORE  GD.c
UX:acomp: WARNING: "GD.xs", line 22: syntax error:  empty declaration
UX:acomp: WARNING: "GD.xs", line 338: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 506: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 772: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 800: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 828: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 898: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 968: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 996: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1024: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1054: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1081: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1107: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1138: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1169: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1204: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1436: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1473: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1512: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1550: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1588: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1619: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1654: end-of-loop code not reached
UX:acomp: WARNING: "GD.c", line 1689: end-of-loop code not reached
UX:acomp: WARNING: "GD.xs", line 971: argument is incompatible with
prototype: arg #5
UX:acomp: WARNING: "GD.c", line 1724: end-of-loop code not reached
UX:acomp: WARNING: "GD.xs", line 985: argument is incompatible with
prototype: arg #5
UX:acomp: WARNING: "GD.c", line 1759: end-of-loop code not reached
UX:acomp: WARNING: "GD.xs", line 1019: end-of-loop code not reached
Running Mkbootstrap for GD ()
        chmod 644 GD.bs
        LD_RUN_PATH="/usr/local/lib:/usr/ccs/lib:/usr/lib/X11" /bin/cc
-o ./blib/arch/auto/GD/GD.so  -G -L/usr/ccs/lib -L/usr/ucblib
-L/usr/local/lib -L/usr/gnu/lib GD.o    -lgd -lz -lpng -lttf -lm
-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/local/lib -lX11
        chmod 755 ./blib/arch/auto/GD/GD.so
        cp GD.bs ./blib/arch/auto/GD/GD.bs
        chmod 644 ./blib/arch/auto/GD/GD.bs
Manifying ./blib/man3/GD.3

After that make test totally fails:
cdlsco: /tmp/gd.pm/GD-1.23->make test
        PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib
-I/usr/gnu/lib/perl5/i386-svr4/5.00404 -I/usr/gnu/lib/perl5 -e 'use

t/GD................Ambiguous use of cmp => resolved to "cmp" => at
blib/lib/GD.pm line 46.
Can't load './blib/arch/auto/GD/GD.so' for module GD: dynamic linker :
/bin/perl : error opening libpng.so.2 at
/usr/gnu/lib/perl5/i386-svr4/5.00404/DynaLoader.pm line 166.

 at t/GD.t line 11
BEGIN failed--compilation aborted at t/GD.t line 11.
dubious
        Test returned status 2 (wstat 512, 0x200)
Number found where operator expected at (eval 25) line 1, near ")0"
        (Missing operator before 0?)
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            2   512     9    9 100.00%  1-9
Failed 1/1 test scripts, 0.00% okay. 9/9 subtests failed, 0.00% okay.
*** Error code 2 (bu21)
UX:make: ERROR: fatal error.

Thanks In Advance

Slava Zuckerman
Motorola
Israel Network Solution Division
+972-3-5659427



Mon, 24 Jun 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Problem adding module for SCO Unixware 2.13

2. GD.pm - problems compiling - help! :)

3. GD.pm Compiling Problems

4. problem to compile GD.pm

5. GD.pm Compile Problems

6. Problems compiling GD.pm

7. GD.pm compile problems...

8. Compiling XS output fails on SGI with IDO 7.1

9. problems compiling 5.8.0 on UnixWare 7.1.1

10. problems compiling Perl5 under UnixWare

11. Problems compiling perl 5.004_04 on Unixware - seeking help

12. Problems Making GD.pm (GD-1.22)

 

 
Powered by phpBB® Forum Software