I got some requests to share the answer to my question regarding Rpy2
and the gcc error I was getting. See the response below if you are
running EPD and are thinking of installing Rpy2...

David Kim wrote:
> Running rpy2-2.0.6/setup.py -q bdist_egg --dist-dir /var/folders/A4/
> A44P935JH0OrA7hGlWeH7E+++TI/-Tmp-/easy_install-zTc-lO/rpy2-2.0.6/egg-dist-tmp-Jm_Jth
> ld: 
> in/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/Python.framework/Versions/4.3.0./lib/libz.1.dylib,
>  file is not of required architecture for architecture ppc

Sorry for the trouble you're having.  This is a known symptom of the EPD
4.3.0 release not having full universal support.   Assuming you're not
actually using an older Mac with a PPC processor, you can fix this by
editing the file at:

/Library/Frameworks/Python.framework/Version/4.3.0/lib/python2.5/config/Makefile
And delete every instance of "-arch PPC" that you can find.

After this, your install of Rpy2 shouldn't have this particular problem
anymore.   I phrase it that way because some projects may also rely on
compilation configuration values returned from other libs such as wx,
etc. and most of these in EPD 4.3.0 also claim to be built universal.
It gets harder to fix these though.

If you keep running into this sort of thing, and you have access to an
install of an older EPD version, then another possible solution is to
try grabbing a universal build of the mentioned library from that old
install and overwrite the mentioned one with it.  (You should back up
the current version first though, just in case the old version isn't
really compatible.)



-- 
morenotestoself.wordpress.com

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to