Re: [Apbs-users] compiling APBS on OSX
Biomolecular electrostatics software
Brought to you by:
sobolevnrm
From: Nathan B. <ba...@bi...> - 2004-05-19 13:33:43
|
Hi Scott -- We're still waiting for Apple to deliver our G5 so we can start providing some APBS binaries for this platform. There has been some discussion of Mac compilation problems on the mailing list before; it appeared that many problems were related to inconsistent versions of the gcc and g77 compilers provided with certain Apple developer kits. However, the problem here appears to be a missing directory. I'm a bit confused about why autoconf is including /Users/classen/temp/src/apbs-0.3.1/lib at all; where did this come from? Can you do a 'make distclean' and try configuring again with just: FETK_INCLUDE=/programs/apbs-0.3.1/include FETK_LIBRARY=/programs/apbs-0.3.1/lib FETK_PREFIX=/programs/apbs-0.3.1 defined in your environment? Thanks, Nathan Scott Classen wrote: > Hello, > I have successfully compiled MALOC 0.1-1 > I am now having problems compiling APBS-0.3.1 > > I am running OS X (10.3.3) > gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) > > I have set the following env settings: > > FETK_SRC=/Users/classen/temp/src > FETK_INCLUDE=/programs/apbs-0.3.1/include > FETK_LIBRARY=/programs/apbs-0.3.1/lib > FETK_PREFIX=/programs/apbs-0.3.1 > > > after running > ./configure --prefix=${FETK_PREFIX} > I get the following summary: > > APBS to be linked with following libraries: > -L/Users/classen/temp/src/apbs-0.3.1/lib > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -lmaloc > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -lblas > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -lvf2c -lm > APBS to be compiled with following includes: -I. > -I/programs/apbs-0.3.1/include > > > I noticed that the first LIBRARY directory > (-L/Users/classen/temp/src/apbs-0.3.1/lib) does not exist and APBS fails > to compile with the following error: > > gcc -DHAVE_CONFIG_H -I. -I. -I../src/aaa_inc -I. > -I/programs/apbs-0.3.1/include -I/programs/apbs-0.3.1/include -g > -O2 -c `test -f 'main.c' || echo './'`main.c > /bin/sh ../libtool --mode=link g77 -g -O2 > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -g -O2 > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -o apbs main.o > routines.o ../src/aaa_lib/libapbs.la > -L/Users/classen/temp/src/apbs-0.3.1/lib > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -lmaloc > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -lblas > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 -lvf2c -lm > g77 -g -O2 -g -O2 -o apbs main.o routines.o > -L/programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0 > ../src/aaa_lib/.libs/libapbs.a -L/Users/classen/temp/src/apbs-0.3.1/lib > /programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0/libmaloc.a > /programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0/libblas.a > /programs/apbs-0.3.1/lib/powerpc-apple-darwin7.3.0/libvf2c.a -lm > /usr/bin/ld: warning -L: directory name > (/Users/classen/temp/src/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 > spry:/Users/classen/temp/src/apbs-0.3.1 root# > > I sure there is an easy fix for this. Can someone please give me some help. > Thanks, > Scott > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Scott Classen, Ph.D. > ACS Postdoctoral Fellow > Department of Molecular & Cell Biology > University of California, Berkeley > 237 Hildebrand Hall #3206 > Berkeley, CA 94720-3206 > LAB 510.643.9491 > FAX 510.643.9290 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > apbs-users mailing list > apb...@ch... > http://cholla.wustl.edu/mailman/listinfo/apbs-users -- Nathan A. Baker, Assistant Professor Washington University in St. Louis School of Medicine Dept. of Biochemistry and Molecular Biophysics Center for Computational Biology 700 S. Euclid Ave., Campus Box 8036, St. Louis, MO 63110 Phone: (314) 362-2040, Fax: (314) 362-0234 URL: http://www.biochem.wustl.edu/~baker |