Hello.
I'm facing trouble building Bioperl-Ext, a perl package. Compilation is OK,
but installation installs source files instead of perl modules and binaries.
The makemakers folks have been unable to help, and think the problems coms
from Inline use.
I've tested it on mandrake cooker, using perl 5.8.2, using either:
perl Makefile.PL
perl Makefile.PL INSTALLDIRS=vendor
Here is an output exemple:
[EMAIL PROTECTED] bioperl-ext-1.4]$ make install
make[1]: Entering directory
`/home/guillomovitch/tmp/bioperl-ext-1.4/Bio/Ext/Align'
make[1]: Leaving directory
`/home/guillomovitch/tmp/bioperl-ext-1.4/Bio/Ext/Align'
make[1]: Entering directory
`/home/guillomovitch/tmp/bioperl-ext-1.4/Bio/SeqIO/staden'
make[1]: Leaving directory
`/home/guillomovitch/tmp/bioperl-ext-1.4/Bio/SeqIO/staden'
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Makefile.PL
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Align/test.pl
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Align/Align.pm
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Align/Align.xs
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Align/Makefile.PL
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Align/Makefile.old
Installing /home/guillomovitch/tmp/lib/perl5/site_perl/5.8.2/Bio/Ext/Align/typemap
...
Curiously enough, this module is reported to build fine on MacOsX (perl 5.8.1)
but to fails on redhat RedHat 7.3 (perl 5.6.1) and on RedHat 9 (perl 5.8.0).
Looking closer at the build process, it seems all source files are first
copied to blib subdirectory, but then actual compilation happens in original
source directories:
[EMAIL PROTECTED] bioperl-ext-1.4]$ make
cp Bio/Ext/Align/libs/hscore.h blib/lib/Bio/Ext/Align/libs/hscore.h
cp Bio/Ext/Align/libs/linesubs.h blib/lib/Bio/Ext/Align/libs/linesubs.h
cp Bio/Ext/Align/libs/probability.c blib/lib/Bio/Ext/Align/libs/probability.c
cp Bio/Ext/Align/test.pl blib/lib/Bio/Ext/Align/test.pl
...
make[1]: Entering directory
`/home/guillomovitch/tmp/bioperl-ext-1.4/Bio/Ext/Align'
cp Align.pm ../blib/lib/Bio/Ext/Align.pm
DEFINE='-DPOSIX -DNOERROR'; CC='gcc'; export DEFINE INC CC; \
cd libs && make CC=gcc libsw.a -e
make[2]: Entering directory
`/home/guillomovitch/tmp/bioperl-ext-1.4/Bio/Ext/Align/libs'
gcc -c -O -c -o aln.o aln.c
gcc -c -O -c -o alnconvert.o alnconvert.c
...
I also have some kind of warning message when running perl Makefile.PL:
One or more DATA sections were not processed by Inline.
I can send Makefile.PL and generated Makefiles if needed.
--
Nothing ever gets built on schedule or within budget
-- Sad Truths of Life n�11