[Bioperl-l] help installing pSW on OS X

Steven Cannon cann0010@tc.umn.edu
Sat, 1 Dec 2001 21:53:11 -0600


Hello,

I am trying to install pSW on Mac OS X. I think I am following the 
Bioperl-0.72 README correctly (I wasn't able to make sense of the "Move 
to the directory Compile/SW" instruction in Bioperl-0.90). I downloaded 
bioperl-ext-06 from ftp://bioperl.org/pub/DIST, then ran the Makefile.PL 
in Bio/Ext/Align, then added -fPIC to the CCFLAGS line (since Darwin is 
BSD-ish), then tried 'make'. I get the following output and error 
(second 'make' attempt). Any suggestions?

Steven Cannon

[localhost:bio/ext/align] stevenca% make
cc -c -I./libs -g -pipe -pipe -fno-common -no-cpp-precomp 
-flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -fPIC 
-O3     -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\"  
-I/System/Library/Perl/darwin/CORE -DPOSIX -DNOERROR Align.c
cc: -flat_namespace: linker input file unused since linking not done
Running Mkbootstrap for Bio::Ext::Align ()
chmod 644 Align.bs
LD_RUN_PATH="/usr/lib" cc -o blib/arch/auto/Bio/Ext/Align/Align.bundle  
-bundle  -flat_namespace -undefined suppress Align.o  libs/libsw.a
/usr/bin/ld: archive: libs/libsw.a has no table of contents, add one 
with ranlib(1) (can't load from it)
make: *** [blib/arch/auto/Bio/Ext/Align/Align.bundle] Error 1