rpy2 and Enthought Python have been reported to have interaction problems.

which version of rpy2 are you trying to install ?

gyro wrote:
> Hi,
> I am trying to build the latest version of rpy2 on Mac OS X Snow
> Leopard (v 10.6.2). I cloned the latest version of rpy2 from the
> mercurial repository
> and tried to build it. The relevant errors and program versions I am
> using are shown below
> 
> I compiled R (v2.10.0) from source using the following configure flags:
> ./configure --enable-R-shlib  --enable-R-static-lib
> --with-blas="-framework vecLib" --with-lapack
> 
> Is this correct?
> 
> Does anyone know what version of gcc, R, etc. will work in this case?
> Any other advice?
> 
> Thank you for any help you can provide.
> 
> -g
> 
> =========================
> 
> $ python setup.py build
> running build
> running build_py
> running build_ext
> "/Library/Frameworks/R.framework/Resources/bin/R" CMD config LAPACK_LIBS
> returned an empty string.
> 
> building 'rpy2.rinterface.rinterface' extension
> /usr/bin/gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
> -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
> -I/Library/Frameworks/Python.framework/Versions/5.1.1/include
> -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DCSTACK_DEFNS=1
> -DRIF_HAS_RSIGHAND=1 -Irpy/rinterface
> -I/Library/Frameworks/Python.framework/Versions/5.1.1/include/python2.5
> -I/Library/Frameworks/R.framework/Resources/include -c
> rpy/rinterface/array.c -o
> build/temp.macosx-10.4-i386-2.5/rpy/rinterface/array.o
> -F/Library/Frameworks/R.framework/.. -framework R -framework vecLib
> cc1: error: unrecognized command line option "-Wno-long-double"
> cc1: error: unrecognized command line option "-framework vecLib"
> error: command '/usr/bin/gcc' failed with exit status 1
> 
> ----- gcc -----
> $ /usr/bin/gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> ----------
> 
> ------ python -----
> $ python --version
> Python 2.5.4 -- EPD 5.1.1
> ----------
> 
> ----- R -----
> $ /usr/bin/R
> 
> R version 2.10.0 (2009-10-26)
> Copyright (C) 2009 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> ----------
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to