David Kim wrote: > Hello, > > I'm am trying to experiment with R through python and am having trouble > installing. I use Enthought's EPD 4.3 python distribution. I have Xcode > installed and downloaded the R 2.9 mac binary (which I understand > includes the shared build -- whatever that is). I get the following error: > > #### > Reading http://pypi.python.org/simple/rpy2/ > Reading http://rpy.sourceforge.net <http://rpy.sourceforge.net/> > Best match: rpy2 2.0.6 > Downloading > http://pypi.python.org/packages/source/r/rpy2/rpy2-2.0.6.tar.gz#md5=adf3de7336aa4bdf7e441cb870bfaa95 > Processing rpy2-2.0.6.tar.gz > 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 > collect2: ld returned 1 exit status > lipo: can't open input file: > /var/folders/A4/A44P935JH0OrA7hGlWeH7E+++TI/-Tmp-//cc1u5t1k.out (No such > file or directory) > There is no difference between the current state and the most recent > saved state in the enstaller.cache, so the current state does not need > to be saved. > error: Setup script exited with error: command 'gcc' failed with exit > status 1 > #### > > From the final line, it looks like there may be some problem with GCC.
Yes, but it indicates that running gcc ended up with an error that seems to be: /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 > I > noticed that rpy2 uses GCC 4.3 and that Xcode uses 4.01. Could this be > the issue? Likely not: I am also building and running rpy2 on OS X (and gcc 4.0.1). I am thinking that your Python is the issue. L. > If so, can anyone tell me how to update my gcc? > (unfortunately I have no experience with C, compilers, etc.) > > Many thanks, > > dk > > > -- > morenotestoself.wordpress.com <http://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 ------------------------------------------------------------------------------ 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