Hello All,

I want to install the module ExtUtils-ParseXS(that is a dependancy
module for Log-Dispatch) on solaris 10, I would like to install the
module by gcc instead of Sun cc. First I launched "perlgcc
Makefile.PL", Then "make" and "make test".

Since the module ExtUtils::CBuilder did not find gcc, the compile
steps has been skipped. So the test cases is always fail.

Have you ever met this kind of issue and if there is any way to make
ExtUtils::CBuilder work wells to fix this failure ?


Best regards,
Zhang Jiaqiang

# perlgcc Makefile.PL

Have /usr/perl5/5.8.4/lib/Sun/Solaris/PerlGcc
Want /usr/perl5/5.8.4/lib/sun4-solaris-64int
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [PerlGcc]
Config says: [sun4-solaris-64int]
This may or may not cause problems. Please check your installation of
perl
if you have problems building this extension.
Writing Makefile for ExtUtils::ParseXS

# make test

PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t .. ok
t/more.t ... 1/25 # Looks like you planned 25 tests but ran 10.
t/more.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 15/25 subtests
        (less 8 skipped subtests: 2 okay)
t/usage.t .. ok

Test Summary Report
-------------------
t/more.t (Wstat: 65280 Tests: 10 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 25 tests but ran 10.
Files=3, Tests=44,  1 wallclock secs ( 0.12 usr  0.03 sys +  1.20
cusr  0.11 csys =  1.46 CPU)
Result: FAIL
Failed 1/3 test programs. 0/44 subtests failed.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'


# perl -Mlib=./lib,./blib/lib,./blib/arch t/more.t

1..25
ok 1 - require ExtUtils::ParseXS;
ok 2 - Create an output file

ok 3 # skip no compiler available
ok 4 # skip no compiler available
ok 5 # skip no dynamic loading
ok 6 # skip no dynamic loading
ok 7 # skip no dynamic loading
ok 8 # skip no dynamic loading
ok 9 # skip no dynamic loading
ok 10 # skip no dynamic loading
# Looks like you planned 25 tests but ran 10.


# which gcc

/usr/sfw/bin/gcc

# gcc -v

Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/
gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --
without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-
languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

# env

HOME=/root
HZ=
LD_LIBRARY_PATH=/usr/local/lib
LOGNAME=root
MAIL=/var/mail/root
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/perl5/bin
SHELL=/sbin/sh
TERM=xterm
TZ=PRC


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to