Re: [PyMOL] installing APBS on PBG4

2004-09-02 Thread Luca Jovine

/usr/bin/ld: Undefined symbols:
restFP
saveFP
collect2: ld returned 1 exit status


Hi Michael, these symbols are in:

/usr/lib/libgcc.a

try linking with -lgcc !

-Luca


Luca Jovine, Ph.D.
Brookdale Department of Molecular, Cell & Developmental Biology
Mount Sinai School of Medicine
Annenberg Building, Room 25-18
One Gustave L. Levy Place, New York, NY 10029-6574, USA
Voice: +1.212.241-8620 FAX: +1.360.926-1823
E-Mail: lucajov...@mac.com - luca.jov...@mssm.edu
W3: http://www.mssm.edu/students/jovinl02


Re: [PyMOL] installing APBS on PBG4

2004-09-02 Thread Michael Bovee

On Sep 2, 2004, at 2:03 PM, Alex W. Smith wrote:

Michael:
I followed the directions for installing from source and used Bill 
Scott's tweak (both links below).  Everything seems to be running 
fine.  I am a bit short of memory using my Al G4PB, but everything 
configured and complied with no problems.  I have only used APBS with 
the Pymol plugin but it seems to run fine.  Slow but fine.


Hi Alex, and anyone else who might have a suggestion here;
I am also trying to use APBS for electrostatics in PyMOL. Running a G4 
AlBook, 10.3.5, Apple's X11, latest fink, XCodeTools 1.0 (I havent 
upgraded to 1.5 yet).  But I got the personal attention of my Unix guru 
for a while today and made some progress installing from source. He 
helped me get maloc installed in /usr/local by using

./configure --prefix=/usr/local


Then I started on APBS, by following Bill Scott's tips, summarized here:
1. start up zsh (to make use of its recursive globbing capability)
2. ./configure
3a. perl -pi -e 's|\-L/usr/local/|\-lcc_dynamic \-L/usr/local/|g' 
**/Makefile

3b. make
3c. make install


I got the following errors that stopped the make:

g77 -g -O2 -g -O2 -o apbs main.o routines.o  
-L/Users/mbovee/lib/powerpc-apple-darwin7.5.0 
../src/aaa_lib/.libs/libapbs.a -L/Users/mbovee/Desktop/apbs-0.3.1/lib 
/usr/local/lib/powerpc-apple-darwin7.5.0/libmaloc.a 
/usr/local/lib/powerpc-apple-darwin7.5.0/libblas.a 
/usr/local/lib/powerpc-apple-darwin7.5.0/libvf2c.a -lm
/usr/bin/ld: warning -L: directory name 
(/Users/mbovee/lib/powerpc-apple-darwin7.5.0) does not exist
/usr/bin/ld: warning -L: directory name 
(/Users/mbovee/Desktop/apbs-0.3.1/lib) does not exist

/usr/bin/ld: Undefined symbols:
restFP
saveFP
collect2: ld returned 1 exit status
make[1]: *** [apbs] Error 1
make: *** [all-recursive] Error 1


doing a little more checking on these undefined symbols, I find:

$ nm *.a |grep restFP
 U restFP
 U restFP
$ nm *.a |grep saveFP
 U saveFP
 U saveFP

Can anyone tell me where these symbols are defined, or what I screwed 
up? Maybe I should just start over and let the scripts install 
everything in my homedir automatically...


--Michael