[Bioperl-l] Re: compiling ext-1.4 on solaris 2.9

Michal Kurowski mkur at poczta.gazeta.pl
Thu Jul 22 10:32:21 EDT 2004


Aaron J. Mackey [amackey at pcbi.upenn.edu] wrote:
> 1. get a fresh, clean copy
> 2. cd into Bio/Ext (bypasses building SeqIO/staden)
> 3. do "perl Makefile.PL; make; make test" and send me the (voluminous) 
> output ...


OK, I got it.

The problem is the MakeMaker generated Makefile at the location 
"Bio/Ext/Align". I corrected in manually. Here's the diff 
(parameters passed must be quoted):


--- Makefile    czw lip 22 16:23:26 2004
+++ /usr/local/src/mine_bioperl-ext-1.4/Bio/Ext/Align/Makefile  czw lip 22 16:21:56 2004
@@ -506,7 +506,7 @@
        $(RM_RF) $(DISTVNAME)
        $(RM_F) $(INST_DYNAMIC) $(INST_BOOT)
        $(RM_F) $(INST_STATIC)
-       $(RM_F)  $(INST_LIB)/Bio/Ext/Align.pm $(MAKEFILE_OLD)$(FIRST_MAKEFILE)
+       $(RM_F)  $(MAKEFILE_OLD) $(FIRST_MAKEFILE)$(INST_LIB)/Bio/Ext/Align.pm


 # --- MakeMaker metafile section:
@@ -862,7 +862,7 @@

 $(MYEXTLIB):
        DEFINE='$(DEFINE)'; CC='$(PERLMAINCC)'; export DEFINE INC CC;
	\
-       cd libs && $(MAKE) CC=$(CC) libsw$(LIB_EXT) -e
+       cd libs && $(MAKE) CC='$(CC)' libsw$(LIB_EXT) -e




Sun's "make" actually did complain about wrong ELF class but "gmake" simply
bailed out. Library files were being complied for 32-bit architecture ;-)

Cheers,

-- 
Michal Kurowski
perl -e '$_=q#: 13_2: 12/o{>: 8_4) (_4: 6/2^-2; 3;-2^\2: 5/7\_/\7: 12m m::#;
y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'



More information about the Bioperl-l mailing list