Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 12186
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: njh [...] bandsman.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: HTML Parser 3.45 fails to build on Solaris 10
The build script tries to use the Sun's C compiler on systems which have gcc installed, even if the CC environment variable has been set up. bash-3.00# CC=/opt/sfw/bin/gcc PATH=$PATH:/usr/ccs/bin:/opt/sfw/bin perl -eshell -MCPAN cpan shell -- CPAN exploration and modules installation (v1.7601) ReadLine support enabled Can't ioctl TIOCGETP: Illegal seek Consider installing Term::ReadKey from CPAN site nearby at http://www.perl.com/CPAN Or use perl -MCPAN -e shell to reach CPAN. Falling back to 'stty'. If you do not want to see this warning, set PERL_READLINE_NOWARN in your environment. Show quoted text
cpan> install HTML::Parser
CPAN: Storable loaded ok Going to read /.cpan/Metadata Database was generated on Thu, 07 Apr 2005 05:54:02 GMT Running install for module HTML::Parser Running make for G/GA/GAAS/HTML-Parser-3.45.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /.cpan/sources/authors/id/G/GA/GAAS/HTML-Parser-3.45.tar.gz ok Scanning cache /.cpan/build for sizes x HTML-Parser-3.45, 0 bytes, 0 tape blocks x HTML-Parser-3.45/t, 0 bytes, 0 tape blocks x HTML-Parser-3.45/t/xml-mode.t, 2125 bytes, 5 tape blocks x HTML-Parser-3.45/t/textarea.t, 1421 bytes, 3 tape blocks x HTML-Parser-3.45/t/filter-methods.t, 1312 bytes, 3 tape blocks x HTML-Parser-3.45/t/crashme.t, 774 bytes, 2 tape blocks x HTML-Parser-3.45/t/handler-eof.t, 970 bytes, 2 tape blocks x HTML-Parser-3.45/t/unicode-bom.t, 1272 bytes, 3 tape blocks x HTML-Parser-3.45/t/argspec-bad.t, 1047 bytes, 3 tape blocks x HTML-Parser-3.45/t/dtext.t, 1062 bytes, 3 tape blocks x HTML-Parser-3.45/t/callback.t, 1107 bytes, 3 tape blocks x HTML-Parser-3.45/t/entities.t, 8954 bytes, 18 tape blocks x HTML-Parser-3.45/t/argspec.t, 3747 bytes, 8 tape blocks x HTML-Parser-3.45/t/comment.t, 730 bytes, 2 tape blocks x HTML-Parser-3.45/t/declaration.t, 773 bytes, 2 tape blocks x HTML-Parser-3.45/t/offset.t, 1205 bytes, 3 tape blocks x HTML-Parser-3.45/t/handler.t, 1398 bytes, 3 tape blocks x HTML-Parser-3.45/t/plaintext.t, 871 bytes, 2 tape blocks x HTML-Parser-3.45/t/case-sensitive.t, 1888 bytes, 4 tape blocks x HTML-Parser-3.45/t/cases.t, 3187 bytes, 7 tape blocks x HTML-Parser-3.45/t/marked-sect.t, 2420 bytes, 5 tape blocks x HTML-Parser-3.45/t/filter.t, 945 bytes, 2 tape blocks x HTML-Parser-3.45/t/tokeparser.t, 3645 bytes, 8 tape blocks x HTML-Parser-3.45/t/linkextor-rel.t, 970 bytes, 2 tape blocks x HTML-Parser-3.45/t/entities2.t, 1103 bytes, 3 tape blocks x HTML-Parser-3.45/t/skipped-text.t, 1588 bytes, 4 tape blocks x HTML-Parser-3.45/t/linkextor-base.t, 1057 bytes, 3 tape blocks x HTML-Parser-3.45/t/default.t, 864 bytes, 2 tape blocks x HTML-Parser-3.45/t/headparser.t, 3566 bytes, 7 tape blocks x HTML-Parser-3.45/t/uentities.t, 2811 bytes, 6 tape blocks x HTML-Parser-3.45/t/headparser-http.t, 484 bytes, 1 tape blocks x HTML-Parser-3.45/t/script.t, 1255 bytes, 3 tape blocks x HTML-Parser-3.45/t/stack-realloc.t, 387 bytes, 1 tape blocks x HTML-Parser-3.45/t/magic.t, 989 bytes, 2 tape blocks x HTML-Parser-3.45/t/options.t, 919 bytes, 2 tape blocks x HTML-Parser-3.45/t/attr-encoded.t, 602 bytes, 2 tape blocks x HTML-Parser-3.45/t/unicode.t, 4546 bytes, 9 tape blocks x HTML-Parser-3.45/t/argspec2.t, 411 bytes, 1 tape blocks x HTML-Parser-3.45/t/ignore.t, 600 bytes, 2 tape blocks x HTML-Parser-3.45/t/largetags.t, 735 bytes, 2 tape blocks x HTML-Parser-3.45/t/unbroken-text.t, 1241 bytes, 3 tape blocks x HTML-Parser-3.45/t/msie-compat.t, 1236 bytes, 3 tape blocks x HTML-Parser-3.45/t/api_version.t, 368 bytes, 1 tape blocks x HTML-Parser-3.45/t/parsefile.t, 1112 bytes, 3 tape blocks x HTML-Parser-3.45/t/parser.t, 3805 bytes, 8 tape blocks x HTML-Parser-3.45/t/process.t, 851 bytes, 2 tape blocks x HTML-Parser-3.45/t/pullparser.t, 1091 bytes, 3 tape blocks x HTML-Parser-3.45/eg, 0 bytes, 0 tape blocks x HTML-Parser-3.45/eg/hlc, 547 bytes, 2 tape blocks x HTML-Parser-3.45/eg/hanchors, 1109 bytes, 3 tape blocks x HTML-Parser-3.45/eg/htextsub, 580 bytes, 2 tape blocks x HTML-Parser-3.45/eg/htitle, 434 bytes, 1 tape blocks x HTML-Parser-3.45/eg/hstrip, 1714 bytes, 4 tape blocks x HTML-Parser-3.45/eg/hrefsub, 2782 bytes, 6 tape blocks x HTML-Parser-3.45/eg/hform, 1846 bytes, 4 tape blocks x HTML-Parser-3.45/eg/hdump, 541 bytes, 2 tape blocks x HTML-Parser-3.45/eg/htext, 548 bytes, 2 tape blocks x HTML-Parser-3.45/lib, 0 bytes, 0 tape blocks x HTML-Parser-3.45/lib/HTML, 0 bytes, 0 tape blocks x HTML-Parser-3.45/lib/HTML/Entities.pm, 13781 bytes, 27 tape blocks x HTML-Parser-3.45/lib/HTML/PullParser.pm, 5784 bytes, 12 tape blocks x HTML-Parser-3.45/lib/HTML/Filter.pm, 2694 bytes, 6 tape blocks x HTML-Parser-3.45/lib/HTML/TokeParser.pm, 9601 bytes, 19 tape blocks x HTML-Parser-3.45/lib/HTML/LinkExtor.pm, 4589 bytes, 9 tape blocks x HTML-Parser-3.45/lib/HTML/HeadParser.pm, 6722 bytes, 14 tape blocks x HTML-Parser-3.45/util.c, 6082 bytes, 12 tape blocks x HTML-Parser-3.45/Makefile.PL, 602 bytes, 2 tape blocks x HTML-Parser-3.45/hints, 0 bytes, 0 tape blocks x HTML-Parser-3.45/hints/solaris.pl, 117 bytes, 1 tape blocks x HTML-Parser-3.45/Parser.pm, 38604 bytes, 76 tape blocks x HTML-Parser-3.45/TODO, 1207 bytes, 3 tape blocks x HTML-Parser-3.45/MANIFEST, 3395 bytes, 7 tape blocks x HTML-Parser-3.45/tokenpos.h, 1142 bytes, 3 tape blocks x HTML-Parser-3.45/Changes, 33035 bytes, 65 tape blocks x HTML-Parser-3.45/mkhctype, 1333 bytes, 3 tape blocks x HTML-Parser-3.45/Parser.xs, 11804 bytes, 24 tape blocks x HTML-Parser-3.45/mkpfunc, 563 bytes, 2 tape blocks x HTML-Parser-3.45/hparser.c, 40275 bytes, 79 tape blocks x HTML-Parser-3.45/README, 1979 bytes, 4 tape blocks x HTML-Parser-3.45/hparser.h, 2646 bytes, 6 tape blocks x HTML-Parser-3.45/typemap, 67 bytes, 1 tape blocks Removing previously used /.cpan/build/HTML-Parser-3.45 CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.45.tar.gz Checking if your kit is complete... Looks good Processing hints file hints/solaris.pl Writing Makefile for HTML::Parser /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c /usr/bin/perl mkhctype >hctype.h /usr/bin/perl mkpfunc >pfunc.h Running Mkbootstrap for HTML::Parser () cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm cp Parser.pm blib/lib/HTML/Parser.pm cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm chmod 644 Parser.bs cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs chmod 644 blib/arch/auto/HTML/Parser/Parser.bs cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"3.45\" -DXS_VERSION=\"3.45\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DMARKED_SECTION Parser.c /bin/sh: cc: not found gmake: *** [Parser.o] Error 1 /opt/sfw/bin/gmake -j3 -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Show quoted text
cpan>
From: eric [...] dmcontact.com
On Thu Apr 07 12:34:44 2005, guest wrote: Show quoted text
> The build script tries to use the Sun's C compiler on systems which > have gcc installed, even if the CC environment variable has been > set up. > > bash-3.00# CC=/opt/sfw/bin/gcc PATH=$PATH:/usr/ccs/bin:/opt/sfw/bin > perl -eshell -MCPAN > > cpan shell -- CPAN exploration and modules installation (v1.7601) > ReadLine support enabled > > Can't ioctl TIOCGETP: Illegal seek > Consider installing Term::ReadKey from CPAN site nearby > at http://www.perl.com/CPAN > Or use > perl -MCPAN -e shell > to reach CPAN. Falling back to 'stty'. > If you do not want to see this warning, set > PERL_READLINE_NOWARN > in your environment.
> cpan> install HTML::Parser
> CPAN: Storable loaded ok > Going to read /.cpan/Metadata > Database was generated on Thu, 07 Apr 2005 05:54:02 GMT > Running install for module HTML::Parser > Running make for G/GA/GAAS/HTML-Parser-3.45.tar.gz > CPAN: Digest::MD5 loaded ok > Checksum for /.cpan/sources/authors/id/G/GA/GAAS/HTML-Parser- > 3.45.tar.gz ok > Scanning cache /.cpan/build for sizes > x HTML-Parser-3.45, 0 bytes, 0 tape blocks > x HTML-Parser-3.45/t, 0 bytes, 0 tape blocks > x HTML-Parser-3.45/t/xml-mode.t, 2125 bytes, 5 tape blocks > x HTML-Parser-3.45/t/textarea.t, 1421 bytes, 3 tape blocks > x HTML-Parser-3.45/t/filter-methods.t, 1312 bytes, 3 tape blocks > x HTML-Parser-3.45/t/crashme.t, 774 bytes, 2 tape blocks > x HTML-Parser-3.45/t/handler-eof.t, 970 bytes, 2 tape blocks > x HTML-Parser-3.45/t/unicode-bom.t, 1272 bytes, 3 tape blocks > x HTML-Parser-3.45/t/argspec-bad.t, 1047 bytes, 3 tape blocks > x HTML-Parser-3.45/t/dtext.t, 1062 bytes, 3 tape blocks > x HTML-Parser-3.45/t/callback.t, 1107 bytes, 3 tape blocks > x HTML-Parser-3.45/t/entities.t, 8954 bytes, 18 tape blocks > x HTML-Parser-3.45/t/argspec.t, 3747 bytes, 8 tape blocks > x HTML-Parser-3.45/t/comment.t, 730 bytes, 2 tape blocks > x HTML-Parser-3.45/t/declaration.t, 773 bytes, 2 tape blocks > x HTML-Parser-3.45/t/offset.t, 1205 bytes, 3 tape blocks > x HTML-Parser-3.45/t/handler.t, 1398 bytes, 3 tape blocks > x HTML-Parser-3.45/t/plaintext.t, 871 bytes, 2 tape blocks > x HTML-Parser-3.45/t/case-sensitive.t, 1888 bytes, 4 tape blocks > x HTML-Parser-3.45/t/cases.t, 3187 bytes, 7 tape blocks > x HTML-Parser-3.45/t/marked-sect.t, 2420 bytes, 5 tape blocks > x HTML-Parser-3.45/t/filter.t, 945 bytes, 2 tape blocks > x HTML-Parser-3.45/t/tokeparser.t, 3645 bytes, 8 tape blocks > x HTML-Parser-3.45/t/linkextor-rel.t, 970 bytes, 2 tape blocks > x HTML-Parser-3.45/t/entities2.t, 1103 bytes, 3 tape blocks > x HTML-Parser-3.45/t/skipped-text.t, 1588 bytes, 4 tape blocks > x HTML-Parser-3.45/t/linkextor-base.t, 1057 bytes, 3 tape blocks > x HTML-Parser-3.45/t/default.t, 864 bytes, 2 tape blocks > x HTML-Parser-3.45/t/headparser.t, 3566 bytes, 7 tape blocks > x HTML-Parser-3.45/t/uentities.t, 2811 bytes, 6 tape blocks > x HTML-Parser-3.45/t/headparser-http.t, 484 bytes, 1 tape blocks > x HTML-Parser-3.45/t/script.t, 1255 bytes, 3 tape blocks > x HTML-Parser-3.45/t/stack-realloc.t, 387 bytes, 1 tape blocks > x HTML-Parser-3.45/t/magic.t, 989 bytes, 2 tape blocks > x HTML-Parser-3.45/t/options.t, 919 bytes, 2 tape blocks > x HTML-Parser-3.45/t/attr-encoded.t, 602 bytes, 2 tape blocks > x HTML-Parser-3.45/t/unicode.t, 4546 bytes, 9 tape blocks > x HTML-Parser-3.45/t/argspec2.t, 411 bytes, 1 tape blocks > x HTML-Parser-3.45/t/ignore.t, 600 bytes, 2 tape blocks > x HTML-Parser-3.45/t/largetags.t, 735 bytes, 2 tape blocks > x HTML-Parser-3.45/t/unbroken-text.t, 1241 bytes, 3 tape blocks > x HTML-Parser-3.45/t/msie-compat.t, 1236 bytes, 3 tape blocks > x HTML-Parser-3.45/t/api_version.t, 368 bytes, 1 tape blocks > x HTML-Parser-3.45/t/parsefile.t, 1112 bytes, 3 tape blocks > x HTML-Parser-3.45/t/parser.t, 3805 bytes, 8 tape blocks > x HTML-Parser-3.45/t/process.t, 851 bytes, 2 tape blocks > x HTML-Parser-3.45/t/pullparser.t, 1091 bytes, 3 tape blocks > x HTML-Parser-3.45/eg, 0 bytes, 0 tape blocks > x HTML-Parser-3.45/eg/hlc, 547 bytes, 2 tape blocks > x HTML-Parser-3.45/eg/hanchors, 1109 bytes, 3 tape blocks > x HTML-Parser-3.45/eg/htextsub, 580 bytes, 2 tape blocks > x HTML-Parser-3.45/eg/htitle, 434 bytes, 1 tape blocks > x HTML-Parser-3.45/eg/hstrip, 1714 bytes, 4 tape blocks > x HTML-Parser-3.45/eg/hrefsub, 2782 bytes, 6 tape blocks > x HTML-Parser-3.45/eg/hform, 1846 bytes, 4 tape blocks > x HTML-Parser-3.45/eg/hdump, 541 bytes, 2 tape blocks > x HTML-Parser-3.45/eg/htext, 548 bytes, 2 tape blocks > x HTML-Parser-3.45/lib, 0 bytes, 0 tape blocks > x HTML-Parser-3.45/lib/HTML, 0 bytes, 0 tape blocks > x HTML-Parser-3.45/lib/HTML/Entities.pm, 13781 bytes, 27 tape blocks > x HTML-Parser-3.45/lib/HTML/PullParser.pm, 5784 bytes, 12 tape blocks > x HTML-Parser-3.45/lib/HTML/Filter.pm, 2694 bytes, 6 tape blocks > x HTML-Parser-3.45/lib/HTML/TokeParser.pm, 9601 bytes, 19 tape blocks > x HTML-Parser-3.45/lib/HTML/LinkExtor.pm, 4589 bytes, 9 tape blocks > x HTML-Parser-3.45/lib/HTML/HeadParser.pm, 6722 bytes, 14 tape blocks > x HTML-Parser-3.45/util.c, 6082 bytes, 12 tape blocks > x HTML-Parser-3.45/Makefile.PL, 602 bytes, 2 tape blocks > x HTML-Parser-3.45/hints, 0 bytes, 0 tape blocks > x HTML-Parser-3.45/hints/solaris.pl, 117 bytes, 1 tape blocks > x HTML-Parser-3.45/Parser.pm, 38604 bytes, 76 tape blocks > x HTML-Parser-3.45/TODO, 1207 bytes, 3 tape blocks > x HTML-Parser-3.45/MANIFEST, 3395 bytes, 7 tape blocks > x HTML-Parser-3.45/tokenpos.h, 1142 bytes, 3 tape blocks > x HTML-Parser-3.45/Changes, 33035 bytes, 65 tape blocks > x HTML-Parser-3.45/mkhctype, 1333 bytes, 3 tape blocks > x HTML-Parser-3.45/Parser.xs, 11804 bytes, 24 tape blocks > x HTML-Parser-3.45/mkpfunc, 563 bytes, 2 tape blocks > x HTML-Parser-3.45/hparser.c, 40275 bytes, 79 tape blocks > x HTML-Parser-3.45/README, 1979 bytes, 4 tape blocks > x HTML-Parser-3.45/hparser.h, 2646 bytes, 6 tape blocks > x HTML-Parser-3.45/typemap, 67 bytes, 1 tape blocks > Removing previously used /.cpan/build/HTML-Parser-3.45 > > CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.45.tar.gz > > Checking if your kit is complete... > Looks good > Processing hints file hints/solaris.pl > Writing Makefile for HTML::Parser > /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap > /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Parser.xs > > Parser.xsc && mv Parser.xsc Parser.c > /usr/bin/perl mkhctype >hctype.h > /usr/bin/perl mkpfunc >pfunc.h > Running Mkbootstrap for HTML::Parser () > cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm > cp Parser.pm blib/lib/HTML/Parser.pm > cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm > cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm > cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm > cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm > cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm > chmod 644 Parser.bs > cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs > chmod 644 blib/arch/auto/HTML/Parser/Parser.bs > cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 > -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"3.45\" > -DXS_VERSION=\"3.45\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris- > 64int/CORE" -DMARKED_SECTION Parser.c > /bin/sh: cc: not found > gmake: *** [Parser.o] Error 1 > /opt/sfw/bin/gmake -j3 -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible >
> cpan>
I got past this by installing Perl from sunfreeware.com and using /usr/local/bin/perl Makefile.PL. But I end up with errors still... # make gcc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"3.51\" -DXS_VERSION=\"3.51\" -fPIC "-I/usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE" -DMARKED_SECTION Parser.c In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/unixish.h:106, from /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/perl.h:2220, from Parser.xs:19: /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/unixish.h:106, from /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/perl.h:2220, from Parser.xs:19: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/unixish.h:106, from /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/perl.h:2220, from Parser.xs:19: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" *** Error code 1 make: Fatal error: Command failed for target `Parser.o'
This problem, or one _very_ much like it has existed since before Solaris 8. See bug 17551.
On Thu Apr 07 12:34:44 2005, guest wrote: Show quoted text
> The build script tries to use the Sun's C compiler on systems which > have gcc installed, even if the CC environment variable has been > set up. > > bash-3.00# CC=/opt/sfw/bin/gcc PATH=$PATH:/usr/ccs/bin:/opt/sfw/bin > perl -eshell -MCPAN
MakeMaker does not look at the CC environment variable to find the C compiler nor does make. It gets it from your Perl configuration which lives in Config.pm. The proper way to set your C compiler is by passing it to Makefile.PL or make. # This will write CC=/opt/sfw/bin/gcc to the Makefile perl Makefile.PL CC=/opt/sfw/bin/gcc or # This will override the CC=... in the Makefile make CC=/opt/sfw/bin/gcc CPAN.pm can be configured to do this for you via the makepl_arg config variable. Alternatively you can edit Perl's Config.pm if you have access. Please reply if this solves your problem.
On Thu Apr 13 16:14:01 2006, guest wrote: Show quoted text
> I got past this by installing Perl from sunfreeware.com and using > /usr/local/bin/perl Makefile.PL. But I end up with errors still... > > # make > gcc -c -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"3.51\" > -DXS_VERSION=\"3.51\" -fPIC > "-I/usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE" -DMARKED_SECTION
Parser.c Show quoted text
> In file included from /usr/include/sys/signal.h:34, > from /usr/include/signal.h:26, > from > /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/unixish.h:106, > from > /usr/local/lib/perl5/5.8.7/i86pc-solaris/CORE/perl.h:2220, > from Parser.xs:19: > /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" > /usr/include/sys/siginfo.h:292: error: parse error before '}' token
... This sort of thing is reported a lot by Solaris users for things which have nothing to do with MakeMaker leading me to believe there's something wrong with your tool chain. If I had to guess the trouble is you're using old header files with a new gcc. These discussions might be of help: http://support.bb4.com/archive/200507/msg00093.html http://archives.postgresql.org/pgsql-bugs/2004-12/msg00255.php
No response in 7 years. Closing ticket.