Neil,
I'm seeing problems with Inline::CPP v0.24 which I think are due to my mad
rush to keep up with the Jones' (aka installing the new Parse::RecDescent
v1.93). If I switch back to v1.80 then Inline::CPP seems fine.
Thanks for any help, Doug
With Parse::RecDescent 1.93 installed, I get the following when run
from Inline-CPP-0.24/ after a 'make'. Perl is 5.8.0 (-V outptu at end of
mail)
unix% rm -rf _Inline; perl -Mblib t/01basic.t
1..10
Can't use an undefined value as an ARRAY reference at (eval 69) line 7973.
BEGIN failed--compilation aborted at t/01basic.t line 64.
unix% rm -rf _Inline/; perl -Mblib -MInline=info,noisy t/01basic.t
1..10
<-----------------------Information Section----------------------------------->
Information about the processing of your Inline C++ code:
Your source code needs to be compiled. I'll use this build directory:
/export/perl32/Inline-CPP-0.24/_Inline/build/_01basic_t_5cd2
and I'll install the executable as:
/export/perl32/Inline-CPP-0.24/_Inline/lib/auto/_01basic_t_5cd2/_01basic_t_5cd2.so
<-----------------------End of Information Section---------------------------->
Starting Build Prepocess Stage
Finished Build Prepocess Stage
Starting Build Parse Stage
Finished Build Parse Stage
Starting Build Glue 1 Stage
Finished Build Glue 1 Stage
Starting Build Glue 2 Stage
Finished Build Glue 2 Stage
Starting Build Glue 3 Stage
Finished Build Glue 3 Stage
Starting Build Compile Stage
Starting "perl Makefile.PL" Stage
WARNING: CC is not a known parameter.
Writing Makefile for _01basic_t_5cd2
Finished "perl Makefile.PL" Stage
Starting "make" Stage
/data/dburke2/local32/perl/bin/perl
/data/dburke2/local32/perl/lib/5.8.0/ExtUtils/xsubpp _01basic_t_5cd2.xs
> _01basic_t_5cd2.xsc && mv _01basic_t_5cd2.xsc _01basic_t_5cd2.c
CC -c -xtarget=ultra2i -I/usr/local/include -I/opt/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO2 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.00\" -KPIC
"-I/data/dburke2/local32/perl/lib/5.8.0/sun4-solaris/CORE"
_01basic_t_5cd2.c
"_01basic_t_5cd2.c", line 33: Warning: String literal converted to char*
in assignment.
"_01basic_t_5cd2.c", line 33: Warning: String literal converted to char*
in assignment.
2 Warning(s) detected.
Running Mkbootstrap for _01basic_t_5cd2 ()
chmod 644 _01basic_t_5cd2.bs
rm -f blib/arch/auto/_01basic_t_5cd2/_01basic_t_5cd2.so
LD_RUN_PATH="/usr/lib" /opt/SUNWspro/bin/cc -G -L/usr/local/lib
-L/opt/local/lib _01basic_t_5cd2.o -o
blib/arch/auto/_01basic_t_5cd2/_01basic_t_5cd2.so -lCrun
chmod 755 blib/arch/auto/_01basic_t_5cd2/_01basic_t_5cd2.so
cp _01basic_t_5cd2.bs blib/arch/auto/_01basic_t_5cd2/_01basic_t_5cd2.bs
chmod 644 blib/arch/auto/_01basic_t_5cd2/_01basic_t_5cd2.bs
Finished "make" Stage
Starting "make install" Stage
Installing
/export/perl32/Inline-CPP-0.24/_Inline/lib/auto/_01basic_t_5cd2/_01basic_t_5cd2.so
Installing
/export/perl32/Inline-CPP-0.24/_Inline/lib/auto/_01basic_t_5cd2/_01basic_t_5cd2.bs
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Writing
/export/perl32/Inline-CPP-0.24/_Inline/lib/auto/_01basic_t_5cd2/.packlist
Finished "make install" Stage
Starting Cleaning Up Stage
Finished Cleaning Up Stage
Finished Build Compile Stage
ok 1
Can't locate object method "new" via package "Soldier" (perhaps you forgot
to load "Soldier"?) at t/01basic.t line 6.
And output of perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos lagado 5.8 generic_108528-19 sun4u sparc sunw,sun-blade-100 '
config_args='-de -Dprefix=/data/dburke2/local32/perl -Uinstallusrbinperl
-Uusemymalloc -Doptimize=-xO2 -Dccflags=-xtarget=ultra2i'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/opt/SUNWspro/bin/cc', ccflags ='-xtarget=ultra2i -I/usr/local/include
-I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-xO2',
cppflags='-xtarget=ultra2i -I/usr/local/include -I/opt/local/include'
ccversion='Sun WorkShop 6 update 2 C 5.3 2001/05/15', 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='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/local/lib -L/opt/local/lib '
libpth=/usr/local/lib /opt/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Apr 1 2003 18:45:01
%ENV:
PERL5LIB="/home/dburke/local/perl5"
@INC:
/home/dburke/local/perl5
/data/dburke2/local32/perl/lib/5.8.0/sun4-solaris
/data/dburke2/local32/perl/lib/5.8.0
/data/dburke2/local32/perl/lib/site_perl/5.8.0/sun4-solaris
/data/dburke2/local32/perl/lib/site_perl/5.8.0
/data/dburke2/local32/perl/lib/site_perl
.