[CIG-MC] CitcomS-3.0.1 installation problem on MacOSX10.5
Leif Strand
leif at geodynamics.org
Wed Feb 6 12:12:45 PST 2008
Hi Magali,
For the original problem, I would have first tried removing "-arch ppc"
from PYTHON_LDFLAGS. If that didn't work, I would try the following
work-around, which I found using Google:
sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.10.5.o
> -- I tried removing the MacOSX10.4u.sdk directory, reinstalled Python
> 2.5 and then re-configured, but then I got an error during configuration:
> configure: downloading missing Python dependencies
> configure: error: cannot download missing Python dependencies
The "config.log" you sent indicates success, so I think it must be from
a different attempt. As a wild guess, I suspect that it is now having
difficulty finding a "Cheetah" package which matches your new setup.
But send along the "config.log", and I'll be happy to take a look.
--Leif
Magali Billen wrote:
> Hello,
> I'm having a problem installing CitcomS-3.0.1 on the Mac (Intel), which
> is now
> running MacOSX10.5. The problem appears to be with the flag
> PYTHON_LDFLAGS.
>
> -- In the Makefile, config.log, config.status this flag is includes a
> link to the MacOSX10.4u.sdk directory, even
> though I have MacOSX10.5.sdk installed in the same SDK subdirectory:
>
> Makefile:PYTHON_LDFLAGS = -arch i386 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -g
> config.log:PYTHON_LDFLAGS='-arch i386 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -g'
> config.status:s, at PYTHON_LDFLAGS@,|#_!!_#|-arch i386 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -g,g
>
> -- This causes a problem because during the compilation, I get an error
> when the library -lcrt1.10.5.o is not
> found. This library exists, but its in MacOSX10.5, not MacOSX10.4.
> Here's the error:
>
> mpicc -g -O2 -o pycitcoms -arch i386 -arch ppc -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -g -u _PyMac_Error -framework Python
> pycitcoms-pycitcoms.o dummy.o ../module/libCitcomSLibmodule.a
> ../lib/libCitcomS.a -ldl -lz
> ld: library not found for -lcrt1.10.5.o
> collect2: ld returned 1 exit status
> ld: library not found for -lcrt1.10.5.o
> collect2: ld returned 1 exit status
> lipo: can't open input file:
> /var/folders/Do/DogRzoLA2RaxlE+BYoXNg++++TI/-Tmp-//cc4MfSjj.out (No such
> file or directory)
> make[2]: *** [pycitcoms] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
> --I tried explicitly replacing MacOSX10.4u.sdk with MacOSX10.5.sdk in
> the Makefile and the config.status file, but
> this did not work.
>
> -- I tried removing the MacOSX10.4u.sdk directory, reinstalled Python
> 2.5 and then re-configured, but then I got an error during configuration:
>
> checking for a Python interpreter with version >= 2.3... python
> checking for python...
> /Library/Frameworks/Python.framework/Versions/Current/bin/python
> checking for python version... 2.5
> checking for python platform... darwin
> checking for python script directory...
> ${prefix}/lib/python2.5/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.5/site-packages
> checking python sysconfig... ok
> configure: downloading missing Python dependencies
> configure: error: cannot download missing Python dependencies
>
> I'm stumped... I've attached the config.log and Makefile, from the
> latest attempt, which has Python 2.5
> newly installed, and the MacOSX10.4u.sdk and MacOSX10.5.sdk directories
> are both in the /Developer/SDK directory.
>
> Any help you can give is much appreciated.
> Thanks,
> Magali
>
> ---------------------------------------------
> Assistant Professor
> U.C. Davis, Geology
> (530) 754-5696
> billen at geology.ucdavis.edu
> ----------------------------------------------
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> CIG-MC mailing list
> CIG-MC at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc
More information about the CIG-MC
mailing list