develooper Front page | perl.perl5.porters | Postings from October 2003

[david@davidfavor.com: Building ExtUtils-ParseXS-2.05 badly broken]

Thread Next
From:
Jarkko Hietaniemi
Date:
October 29, 2003 22:53
Subject:
[david@davidfavor.com: Building ExtUtils-ParseXS-2.05 badly broken]
Message ID:
20031030065248.GA12343@vipunen.hut.fi
----- Forwarded message from David Favor <david@davidfavor.com> -----

Subject: Building ExtUtils-ParseXS-2.05 badly broken
From: David Favor <david@davidfavor.com>
Date: Wed, 29 Oct 2003 05:47:20 -0600
Message-ID: <3F9FA8C8.5010602@davidfavor.com>
To: jhi@iki.fi
User-Agent: Mozilla/5.0 (X11; U; AIX 000D86BD4C00; en-US; rv:1.5) Gecko/20030929

Something appears to be badly broken building this module. The variable
$lddflags contains $(PERL_INC) and ($BASEEXT). These get setup in this
modules Makefile, however never get passed on the actual link line.

Suggestions?

Thanks.


-- 
www.RadicalHealth.com - subscribe@radicalhealth.com
Simple ways to look, feel and live your best ever!

Script command is started on Wed Oct 29 05:32:05 CST 2003.

which perl
/usr/local/perl-5.8.1-RC5/bin/perl

perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=aix, osvers=5.1.0.0, archname=aix-thread-multi
    uname='aix aasc24 1 5 000d86bd4c00 '
    config_args='-Dprefix=/usr/local/perl-5.8.1-RC5 -des -Dusedevel -Doptimize=-O2 -Duseshrplib -Dusenm -Dusethreads'
    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_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong',
    optimize='-O2',
    cppflags=''
    ccversion='6.0.0.4', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -brtl -L/usr/local/lib -b32'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lcrypt -lpthreads -lc_r -lbsd
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc_r -lbsd
    libc=/lib/libc.a, so=a, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc_r -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
  	RC5
  Built under aix
  Compiled at Sep 24 2003 06:38:14
  %ENV:
    PERL5LIB="/data/dfavor/filter/perl"
  @INC:
    /data/dfavor/filter/perl
    /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi
    /usr/local/perl-5.8.1-RC5/lib/5.8.1
    /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi
    /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1
    /usr/local/perl-5.8.1-RC5/lib/site_perl
    .
# pperl Makefile.PL
Writing Makefile for ExtUtils::ParseXS
# eegrep 'PERL_INC|BASEEXT' Makefile
LDDLFLAGS = -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc_r -L/usr/local/lib
PERL_INC = /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi/CORE
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
BASEEXT = ParseXS
DLBASE = $(BASEEXT)
CONFIGDEP = $(PERL_ARCHLIB)$(DIRFILESEP)Config.pm $(PERL_INC)$(DIRFILESEP)config.h
	-$(RM_RF) t/XSTest.c t/XSTest.o t/XSTest.so ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all $(INST_ARCHAUTODIR)/extralibs.ld perlmain.c tmon.out mon.out so_locations pm_to_blib *$(OBJ_EXT) *$(LIB_EXT) perl.exe perl perl$(EXE_EXT) $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def lib$(BASEEXT).def $(BASEEXT).exp $(BASEEXT).x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9]

gmake
Manifying blib/man3/ExtUtils::ParseXS.3

gmake test
PERL_DL_NONLAZY=1 /usr/local/perl-5.8.1-RC5/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic....
t/basic....ok 1/9                                                                             t/basic....ok 2/9                                                                             t/basic....ok 3/9                                                                             t/basic....ok 4/9                                                                             t/basic....ok 5/9sh: PERL_INC:  not found.
sh: BASEEXT:  not found.
ld: 0706-003 Cannot find or read import file: /perl.exp
	ld:accessx(): A file or directory in the path name does not exist.
ld: 0706-004 Cannot find or read export file: .exp
	ld:accessx(): A file or directory in the path name does not exist.
# Failed test 6 in t/basic.t at line 43
#  t/basic.t line 43 is:   ok do_link( $module );
                                                                             t/basic....NOK 6# Test 7 got: 'Can't locate loadable object for module XSTest in @INC (@INC contains: /data/dfavor/.cpan/build/ExtUtils-ParseXS-2.05/blib/lib /data/dfavor/.cpan/build/ExtUtils-ParseXS-2.05/blib/arch /data/dfavor/filter/perl /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl . /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl .) at t/basic.t line 45
Compilation failed in require at t/basic.t line 45, <File0000> line 134.
' (t/basic.t at line 46)
#   Expected: ''
#  t/basic.t line 46 is:   ok $@, '';
Use of inherited AUTOLOAD for non-method XSTest::is_even() is deprecated at t/basic.t line 47, <File0000> line 134.
                                                                             t/basic....NOK 7Can't locate auto/XSTest/is_even.al in @INC (@INC contains: /data/dfavor/.cpan/build/ExtUtils-ParseXS-2.05/blib/lib /data/dfavor/.cpan/build/ExtUtils-ParseXS-2.05/blib/arch /data/dfavor/filter/perl /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl . /usr/local/perl-5.8.1-RC5/lib/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1/aix-thread-multi /usr/local/perl-5.8.1-RC5/lib/site_perl/5.8.1 /usr/local/perl-5.8.1-RC5/lib/site_perl .) at t/basic.t line 47
                                                                             t/basic....dubious
	Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 6-9
	Failed 4/9 tests, 55.56% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/basic.t      2   512     9    6  66.67%  6-9
Failed 1/1 test scripts, 0.00% okay. 4/9 subtests failed, 55.56% okay.
gmake: *** [test_dynamic] Error 2

Script command is complete on Wed Oct 29 05:33:44 CST 2003.


----- End forwarded message -----

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About