[rt-users] Scalar::Util::Weak Problem

Chris Hall chris at filmlight.ltd.uk
Fri Feb 3 06:58:53 EST 2006


If you 'install XS' it will download PDL-1.99989 for some reason. 
Install that, then install scalar-utils again. That seemed to work for me.

- Chris

jkaufman at footlocker.com wrote:
> Hello all,
> 
> I am once again attempting (unsuccessfully at the moment) to get RT 3.5.7 
> installed on AIX. I'm compiling everything from scratch on an AIX v5.2 
> machine using IBM Vac 7.x.
> 
> I've compiled Perl v5.8.7 using the following Configure:
> 
> sh Configure -des -Dusenm -Dprefix=/sftw/perl  -Duseithreads 
> -Dusemultiplicity -Duseperlio \
> -Duselargefiles -Dd_sigaction -Dlibpth='/lib /usr/lib /usr/ccs/lib' \
> -Dlibs='-lbind -lnsl -ldbm -ldb -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd 
> -lPW' \
> -Dccflags='-q32 -D_LARGE_FILES -qlonglong' -Dlddlflags='-bM:SRE -lc_r' 
> -Dldflags='-b32'
> 
> I "borrowed" the ccflags/lddlflags/ldflags/libs from the compile flags 
> used on the perl that ships with Aix v5.2 BTW.
> 
> 
> I've gotten a number of the perl modules to install, but the Weaken part 
> of Scalar::Util doesn't want to compile, and that's causing other modules 
> to barf during their tests.  I can only assume that this is an important 
> part of Scalar::Util and I should try to figure out why it's not 
> working...I don't have a clue, so I'm hoping someone else on the list 
> knows...
> 
> Here is the output during the installation of Scalar::Util
> 
> [root at mlwitt30]:[/home/root/.cpan/build/Scalar-List-Utils-1.18] > perl 
> Makefile.PL
> Checking if your kit is complete...
> Looks good
> Writing Makefile for List::Util
> [root at mlwitt30]:[/home/root/.cpan/build/Scalar-List-Utils-1.18] > make
> cp lib/List/Util.pm blib/lib/List/Util.pm
> cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm
> /usr/bin/perl -Iinc -e 'use ExtUtils::Mksymlists; \
> Mksymlists("NAME" => "List::Util", "DL_FUNCS" => {  }, "FUNCLIST" => [], 
> "DL_VARS" => []);'
> /usr/bin/perl -Iinc /sftw/perl/lib/5.8.7/ExtUtils/xsubpp  -typemap 
> /sftw/perl/lib/5.8.7/ExtUtils/typemap  Util.xs > Util.xsc && mv Util.xsc 
> Util.c
> cc_r -c   -q32 -D_LARGE_FILES -qlonglong -D_ALL_SOURCE -D_ANSI_C_SOURCE 
> -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN 
> -DNEED_PTHREAD_INIT -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O 
>   -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\" 
> "-I/sftw/perl/lib/5.8.7/aix-thread-multi/CORE"  -DPERL_EXT Util.c
> Running Mkbootstrap for List::Util ()
> chmod 644 Util.bs
> rm -f blib/arch/auto/List/Util/Util.so
> ld  -bM:SRE -lc_r -bhalt:4 -bexpall -G -bnoentry -lpthreads -lc Util.o  -o 
> blib/arch/auto/List/Util/Util.so     \
>         \
> 
> chmod 755 blib/arch/auto/List/Util/Util.so
> cp Util.bs blib/arch/auto/List/Util/Util.bs
> chmod 644 blib/arch/auto/List/Util/Util.bs
> Manifying blib/man3/List::Util.3
> Manifying blib/man3/Scalar::Util.3
> [root at mlwitt30]:[/home/root/.cpan/build/Scalar-List-Utils-1.18] > make 
> test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/00version.....ok
> t/blessed.......ok
> t/dualvar.......skipped
>         all skipped: dualvar requires XS version
> t/first.........ok
>         2/17 skipped: Poor man's MULTICALL can't cope
> t/isvstring.....skipped
>         all skipped: isvstring requires XS version
> t/lln...........ok
> t/max...........ok
> t/maxstr........ok
> t/min...........ok
> t/minstr........ok
> t/openhan.......ok
> t/p_blessed.....ok
> t/p_first.......ok
> t/p_lln.........ok
> t/p_max.........ok
> t/p_maxstr......ok
> t/p_min.........ok
> t/p_minstr......ok
> t/p_openhan.....ok
> t/p_readonly....ok
> t/p_reduce......ok
> t/p_refaddr.....ok
> t/p_reftype.....ok
> t/p_shuffle.....ok
> t/p_sum.........ok
> t/p_tainted.....ok
> t/proto.........skipped
>         all skipped: set_prototype requires XS version
> t/readonly......ok
> t/reduce........ok
>         2/23 skipped: Poor man's MULTICALL can't cope
> t/refaddr.......ok
> t/reftype.......ok
> t/shuffle.......ok
> t/sum...........ok
> t/tainted.......ok
> t/weak..........skipped
>         all skipped: weaken requires XS version
> All tests successful, 4 tests and 4 subtests skipped.
> Files=35, Tests=327,  5 wallclock secs ( 2.62 cusr +  2.13 csys =  4.75 
> CPU)
> 
> 
> As you can see, Weak complains about needing the XS version...What's an XS 
> version? in the hopes of shotguning a fix I updated ExtUtils::MakeMaker, 
> ExtUtils::Cbuilder, XSLoader, Params::Validate...All to no avail. 
> 
> Any ideas?
> 
> Jonathan Kaufman
> 
> Foot Locker Corporate Services, Inc.
> 
> 
> 
> Visit us on-line at footlocker.com. 
> 
> The information in this e-mail, and any attachment therein, is 
> confidential and for use by the addressee only. If you are not the 
> intended recipient, please return the e-mail to the sender and delete it 
> from your computer. Although the Company attempts to sweep e-mail and 
> attachments for viruses, it does not guarantee that either are virus-free 
> and accepts no liability for any damage sustained as a result of viruses.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Download a free sample chapter of RT Essentials from O'Reilly Media at http://rtbook.bestpractical.com
> 
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at http://bestpractical.com/services/training.html

-- 
____________________
Chris Hall
FilmLight Ltd
14-15 Manette St
London W1D 4AP
+44 (0)20 7292 0400



More information about the rt-users mailing list