I'm trying to compile my xs with several different versions of perl
5.6.0 , 5.6.1, 5.8.0 , 5.8.1 , 5.8.2 , 5.8.3
THere is no problems with the xs it's int he installation

Here is my Makefile.PL:
use ExtUtils::MakeMaker;
$PLATFORM = `uname`;
$CDMG = "/data/cdmg/dev/cdmg_toolbox";
$CC = '/apps/gcc/3.4.1/bin/g++';
$LD = '/apps/gcc/3.4.1/bin/g++';
WriteMakefile(
'NAME' => 'Laff'
,'PREFIX' => './'
,'PREREQ_PM' => {}
,'VERSION_FROM' => 'Laff.pm'
,'ABSTRACT' => 'C++ Laff routines written by Billy Patton'
,'LIBS' => '-L'.${CDMG}.'/Laff/'.${PLATFORM}.' -lcdmg_laff -L'.${CDMG}.'/libcdmg/'.${PLATFORM}.' -lcdmg -L'.${CDMG}.'/pcre-5.0/'.${PLATFORM}.' -lpcre -lm -lstdc++'
,'OPTIMIZE' => '-g3 -O2 -shared '
,'DISTNAME' => 'LaffPerl'
,'INC' => '-I'.${CDMG}.'/Laff -I'.${CDMG}.'/libcdmg -I'.${CDMG}.'/pcre-5.0'
,'XSOPT' => '-C++'
,'CC' => ${CC}
,'LD' => ${LD}
,'TYPEMAPS' => ['typemap' ]
);


The default version of perl is 5.8.0.  In the makefile I get the following:
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib/5.6.0
INSTALLARCHLIB = $(PREFIX)/lib/5.6.0/i686-linux-thread-multi
INSTALLSITELIB = $(PREFIX)/lib/site_perl/5.6.0
INSTALLSITEARCH = $(PREFIX)/lib/site_perl/5.6.0/i686-linux-thread-multi
INSTALLBIN = $(PREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /apps/perl/5.6.0/lib/5.6.0
PERL_ARCHLIB = /apps/perl/5.6.0/lib/5.6.0/i686-linux-thread-multi
SITELIBEXP = /apps/perl/5.6.0/lib/site_perl/5.6.0
SITEARCHEXP = /apps/perl/5.6.0/lib/site_perl/5.6.0/i686-linux-thread-multi

 And much other that is 5.6.0, but I also get

MAN3PODS = Laff.pm \
        lib/5.8.0/i686-linux-thread-multi/perllocal.pod
TO_INST_PM = Laff.pm \
        lib/5.8.0/i686-linux-thread-multi/auto/Laff/.packlist \
        lib/5.8.0/i686-linux-thread-multi/perllocal.pod

PM_TO_BLIB = lib/5.8.0/i686-linux-thread-multi/auto/Laff/.packlist \
        $(INST_LIB)/5.8.0/i686-linux-thread-multi/auto/Laff/.packlist \
        Laff.pm \
        $(INST_LIBDIR)/Laff.pm \
        lib/5.8.0/i686-linux-thread-multi/perllocal.pod \
        $(INST_LIB)/5.8.0/i686-linux-thread-multi/perllocal.pod


manifypods : pure_all Laff.pm \ lib/5.8.0/i686-linux-thread-multi/perllocal.pod @$(POD2MAN) \ Laff.pm \ $(INST_MAN3DIR)/Laff.$(MAN3EXT) \ lib/5.8.0/i686-linux-thread-multi/perllocal.pod \ $(INST_MAN3DIR)/5.8.0::i686-linux-thread-multi::perllocal.$(MAN3EXT)

MAN3PODS is the only one I found int eh perldoc
ExtUtils::MakeMaker
Shouldn't these also be showing the perl version I'm using?
ANd not the default version of perl.

___ _ ____ ___ __ __
/ _ )(_) / /_ __ / _ \___ _/ /_/ /____ ___
/ _ / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/ \_,_/\__/\__/\___/_//_/
/___/ Texas Instruments ASIC Circuit Design Methodology Group
Dallas, Texas, 214-480-4455, [EMAIL PROTECTED]

Reply via email to