[CIG-MC] Problem with compiling with Pyre

Cheng Cheng cchengster at gmail.com
Sun Nov 25 22:56:30 PST 2012


Hi Eric,

Oh, yes. That works. Thanks ! But some other weird things happened when it
tried to link. It which gives the info like below. PS, I am on Mac OS 10.8,
the newest version of Mac OS. I worked fine on linux.

**************
Making all in bin
/bin/sh ../libtool --tag=CC   --mode=link mpicc  -g -O2   -o pycitcoms  -u
_PyMac_Error /System/Library/Frameworks/ -framework Python \
 pycitcoms-pycitcoms.o dummy.o ../module/libCitcomSLibmodule.a
 ../lib/libCitcomS.a \
 \
 \
-ldl -framework CoreFoundation   \
-lz  \
libtool: link: mpicc -g -O2 -o pycitcoms -u _PyMac_Error
/System/Library/Frameworks/ pycitcoms-pycitcoms.o dummy.o  -framework
Python ../module/libCitcomSLibmodule.a ../lib/libCitcomS.a -ldl -framework
CoreFoundation -lz
ld: can't map file, errno=22 for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [pycitcoms] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

**************

Best,
Cheng

On Sun, Nov 25, 2012 at 10:06 PM, Eric Heien <emheien at ucdavis.edu> wrote:

> Hi Cheng,
>
> Try editing the Makefile so there is a space between the path and
> framework command, in other words:
>
> "/System/Library/Frameworks/ -framework Python"
>
> -Eric
>
> On Nov 25, 2012, at 11:59 AM, Cheng Cheng wrote:
>
> > Hi,
> >
> > I met some problems when compiling with Pyre framework. It always gives
> the information as below and tells me missing
> "/System/Library/Frameworks/-framework". My python version is 2.6 and the
> configure procedure is OK.
> >
> > *********************
> > /bin/sh ../libtool --tag=CC   --mode=link mpicc  -g -O2   -o pycitcoms
>  -u _PyMac_Error /System/Library/Frameworks/-framework Python \
> >                pycitcoms-pycitcoms.o dummy.o
> ../module/libCitcomSLibmodule.a  ../lib/libCitcomS.a \
> >                \
> >                \
> >               -ldl -framework CoreFoundation   \
> >               -lz  \
> >
> > libtool: link: mpicc -g -O2 -o pycitcoms -u _PyMac_Error
> /System/Library/Frameworks/-framework Python pycitcoms-pycitcoms.o dummy.o
>  ../module/libCitcomSLibmodule.a ../lib/libCitcomS.a -ldl -framework
> CoreFoundation -lz
> > i686-apple-darwin11-llvm-gcc-4.2: /System/Library/Frameworks/-framework:
> No such file or directory
> > i686-apple-darwin11-llvm-gcc-4.2: Python: No such file or directory
> > make[2]: *** [pycitcoms] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > ***********************
> >
> > Best,
> > Cheng
> >
> >
> >
> > _______________________________________________
> > CIG-MC mailing list
> > CIG-MC at geodynamics.org
> > http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc
>
>


-- 
______________________________________________
Cheng Cheng
PHD Candidate
University of California - Berkeley
Department of Earth and Planetary Science
Berkeley Seimological Lab
179 McCone Hall
Cellphone: (510)-816-1345
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-mc/attachments/20121125/23aa839b/attachment.htm 


More information about the CIG-MC mailing list