Re: [AMBER] Problem installing on a mac Lion 10.7 using gcc 4.2

From: Jason Swails <jason.swails.gmail.com>
Date: Sun, 9 Oct 2011 09:07:28 -0400

It appears that Python doesn't build properly on Lion. Try configuring with -nopython instead.

HTH,
Jason

--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
On Oct 6, 2011, at 7:01 PM, Gamal Akabani <akabani.ne.tamu.edu> wrote:
> I am having problems installing AmberTools in a Macintosh computer.
> I am using gcc 4.2 and gfortran. The ./config gnu works fine for what I read.
> However, when invoking the “make install” command I get the following error
> 
> rm -f libpython2.6.a
> ar cr libpython2.6.a Modules/getbuildinfo.o
> ar cr libpython2.6.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o
> ar cr libpython2.6.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o
> ar cr libpython2.6.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getmtime.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o  Python/mactoolboxglue.o Python/thread.o
> /usr/bin/ranlib: file: libpython2.6.a(pymath.o) has no symbols
> ar cr libpython2.6.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o
> /usr/bin/ranlib: file: libpython2.6.a(pymath.o) has no symbols
> ar cr libpython2.6.a Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/xxsubtype.o
> /usr/bin/ranlib: file: libpython2.6.a(pymath.o) has no symbols
> true libpython2.6.a
> /usr/bin/install -c -d -m 755 Python.framework/Versions/2.6
> if test ""; then \
> /usr/bin/gcc-4.2 -o Python.framework/Versions/2.6/Python  -dynamiclib \
> -isysroot "" \
> -all_load libpython2.6.a -Wl,-single_module \
> -install_name /Applications/amber11/amber11/Python.framework/Versions/2.6/Python \
> -compatibility_version 2.6 \
> -current_version 2.6; \
>        else \
> /usr/bin/libtool -o Python.framework/Versions/2.6/Python -dynamic  libpython2.6.a \
> -lSystem -lSystemStubs -arch_only x86_64 -install_name /Applications/amber11/amber11/Python.framework/Versions/2.6/Python -compatibility_version 2.6 -current_version 2.6 ;\
> fi
> /usr/bin/libtool: can't locate file for: -lSystemStubs
> /usr/bin/libtool: file: -lSystemStubs is not an object file (not allowed in a library)
> make[1]: *** [Python.framework/Versions/2.6/Python] Error 1
> 
> I am no guru and no expert on AmberTools.
> Any help will be appreciated.
> 
> Thank you!
> 
> Gamal Akabani, Ph.D.
> Associate Professor
> Department of Nuclear Engineering
> Texas A&M Institute for Preclinical Studies
> Texas A&M University
> Zachry Engineering Center
> Room 58H
> 3133 TAMU
> College Station, TX 77843-3133
> (979) 458-1699 Phone
> (979) 676-0695 Mobile
> (979) 845-6443 FAX
> 
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Oct 09 2011 - 06:30:03 PDT
Custom Search