Hi Eric,<div><br></div><div>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.<br>
<br>**************</div><div><div>Making all in bin</div><div>/bin/sh ../libtool --tag=CC --mode=link mpicc -g -O2 -o pycitcoms -u _PyMac_Error /System/Library/Frameworks/ -framework Python \</div><div><span class="Apple-tab-span" style="white-space:pre">                </span> pycitcoms-pycitcoms.o dummy.o ../module/libCitcomSLibmodule.a ../lib/libCitcomS.a \</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span> \</div><div><span class="Apple-tab-span" style="white-space:pre">                </span> \</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>-ldl -framework CoreFoundation \</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>-lz \</div><div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div>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</div>
<div>ld: can't map file, errno=22 for architecture x86_64</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [pycitcoms] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div>
<div><br></div><div>**************</div><div><br></div><div>Best,</div><div>Cheng</div><div><br></div><div class="gmail_quote">On Sun, Nov 25, 2012 at 10:06 PM, Eric Heien <span dir="ltr"><<a href="mailto:emheien@ucdavis.edu" target="_blank">emheien@ucdavis.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cheng,<br>
<br>
Try editing the Makefile so there is a space between the path and framework command, in other words:<br>
<br>
"/System/Library/Frameworks/ -framework Python"<br>
<br>
-Eric<br>
<div><div class="h5"><br>
On Nov 25, 2012, at 11:59 AM, Cheng Cheng wrote:<br>
<br>
> Hi,<br>
><br>
> 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.<br>
><br>
> *********************<br>
> /bin/sh ../libtool --tag=CC --mode=link mpicc -g -O2 -o pycitcoms -u _PyMac_Error /System/Library/Frameworks/-framework Python \<br>
> pycitcoms-pycitcoms.o dummy.o ../module/libCitcomSLibmodule.a ../lib/libCitcomS.a \<br>
> \<br>
> \<br>
> -ldl -framework CoreFoundation \<br>
> -lz \<br>
><br>
> 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<br>
> i686-apple-darwin11-llvm-gcc-4.2: /System/Library/Frameworks/-framework: No such file or directory<br>
> i686-apple-darwin11-llvm-gcc-4.2: Python: No such file or directory<br>
> make[2]: *** [pycitcoms] Error 1<br>
> make[1]: *** [all-recursive] Error 1<br>
> make: *** [all] Error 2<br>
> ***********************<br>
><br>
> Best,<br>
> Cheng<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> CIG-MC mailing list<br>
> <a href="mailto:CIG-MC@geodynamics.org">CIG-MC@geodynamics.org</a><br>
> <a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>______________________________________________<br>Cheng Cheng<br></div><div>PHD Candidate</div><div>University of California - Berkeley</div><div>Department of Earth and Planetary Science</div>
<div>Berkeley Seimological Lab</div><div>179 McCone Hall</div><div>Cellphone: (510)-816-1345</div><div>_______________________________________________</div><br>
</div>