Subject: | Cannot build GD 2.46 on HP-UX 11.31 IA64 |
Date: | Fri, 11 May 2012 10:48:13 -0600 |
To: | bug-GD [...] rt.cpan.org |
From: | Steve Chadsey <schadsey [...] gmail.com> |
Distribution name and version: GD 2.46
OS:
# uname -a
HP-UX duffman B.11.31 U ia64 1209050131 unlimited-user license
Perl:
---[start]-----
# perl -v
This is perl, v5.8.8 built for IA64.ARCHREV_0-thread-multi
[...]
# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi
uname='hp-ux buzz b.11.23 u ia64 3101164512 unlimited-user license '
config_args='-Dmksymlinks -ders -Dcc=cc -Dusethreads -Duseithreads
-Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth=
-Dsh=/usr/bin/sh -Dd_attribut=undef
-Dd_attribute_warn_unused_result=undef -Dd_u32align=define
-Aprepend:libswanted=cl -Dvendorprefix=/opt/perl_32
-Accflags=+DSitanium2 -Doptimize=-fast +Ofltacc=strict -Accflags=+Z
-Accflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DNO_HASH_SEED
-Dprefix=/opt/perl_32 -Dinc_version_list=5.8.7/$archname 5.8.7
5.8.6/$archname 5.8.6 5.8.4/$archname 5.8.4 5.8.3/$archname 5.8.3
5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0
-Dsed=/usr/bin/sed -Duseshrplib -Dconfig_heavy=Config_dynamic.pl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z
-DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 ',
optimize='-fast +Ofltacc=strict',
cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE
-DNO_HASH_SEED'
ccversion='', 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',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/lib/hpux32'
libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc
perllibs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux32'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
Built under hpux
Compiled at Nov 28 2008 11:52:02
@INC:
/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi
/opt/perl_32/lib/5.8.8
/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi
/opt/perl_32/lib/site_perl/5.8.8
/opt/perl_32/lib/site_perl
/opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi
/opt/perl_32/lib/vendor_perl/5.8.8
/opt/perl_32/lib/vendor_perl
.
---[end]-----
Problem: Will not build
---[start]-----
# cd GD-2.46
# perl Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.36.
Checking for stray libgd header files...(Bundled) cc: warning 922:
"-p" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "-r" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 901: unknown option: `-int-search-dirs': use
+help for online documentation.
none found.
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE
GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF
GD_FTCIRCLE VERSION_33
GD library used from: /usr/local/lib
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '/usr/local/lib/hpux32/libiconv.a'
Writing Makefile for GD
# make
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp -typemap
/opt/perl_32/lib/5.8.8/ExtUtils/typemap -typemap typemap GD.xs >
GD.xsc && mv GD.xsc GD.c
cc -c -I/usr/local/include -Wformat=0 -fast +Ofltacc=strict
-DVERSION=\"2.46\" -DXS_VERSION=\"2.46\" +Z
"-I/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/CORE"
-DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF
-DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE
GD.c
(Bundled) cc: error 1914: bad form for `-W' option
*** Error exit code 1
Stop.
---[end]-----
Trying with gcc:
---[start]-----
# perl Makefile.PL CC=gcc
Configuring for libgd version 2.0.36.
Checking for stray libgd header files...(Bundled) cc: warning 922:
"-p" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 922: "-r" is unsupported in the bundled compiler, ignored.
(Bundled) cc: warning 901: unknown option: `-int-search-dirs': use
+help for online documentation.
none found.
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE
GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF
GD_FTCIRCLE VERSION_33
GD library used from: /usr/local/lib
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '/usr/local/lib/hpux32/libiconv.a'
Writing Makefile for GD
# make
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp -typemap
/opt/perl_32/lib/5.8.8/ExtUtils/typemap -typemap typemap GD.xs >
GD.xsc && mv GD.xsc GD.c
gcc -c -I/usr/local/include -Wformat=0 -fast +Ofltacc=strict
-DVERSION=\"2.46\" -DXS_VERSION=\"2.46\" +Z
"-I/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/CORE"
-DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF
-DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE
GD.c
gcc: +Ofltacc=strict: No such file or directory
gcc: +Z: No such file or directory
cc1: error: unrecognized command line option "-fast"
*** Error exit code 1
Stop.
---[end]-----
--
Steve Chadsey <schadsey@gmail.com>