On Fri, Dec 9, 2011 at 3:11 PM, Jean-Baptiste Marquette <marqu...@iap.fr> wrote:
> Dear Rpy gurus,
>
> I got the following issues while trying to install rpy 1.0.3 on my MacBook
> Pro:
>
> first, I was unable to fetch my R version which is 2.14.0. I modified the
> line 101 in rpy_tools.py as
>
>     version = re.search(" +([0-9]\.[0-9][0-9]\.[0-9])", output)
> to deal with the 2 digit number
>
> second, I have an error message:
>
> gcc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -DNDEBUG -g -O3
> -arch x86_64 -DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_
> -DRPY_SHNAME=_rpy2140 -DINIT_RPY=init_rpy2140 -UPRE_2_2
> -I/Library/Frameworks/R.framework/Resources/include -Isrc
> -I/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/numpy/core/include
> -I/Library/Frameworks/EPD64.framework/Versions/7.1/include/python2.7 -c
> src/rpymodule2140.c -o build/temp.macosx-10.5-x86_64-2.7/src/rpymodule2140.o
> In file included from src/rpymodule2140.c:51:
> src/RPy.h:77:51: error: Rdevices.h: No such file or directory
> src/rpymodule2140.c:1565: warning: initialization from incompatible pointer
> type
> src/rpymodule2140.c:1568: warning: ‘intargfunc’ is deprecated
> src/rpymodule2140.c:1568: warning: initialization from incompatible pointer
> type
> src/rpymodule2140.c:1569: warning: ‘intintargfunc’ is deprecated
> src/rpymodule2140.c:1569: warning: initialization from incompatible pointer
> type
> src/rpymodule2140.c:1570: warning: initialization from incompatible pointer
> type
> error: command 'gcc' failed with exit status 1
>
> The file Rdevices.h is in the
> directory /Library/Frameworks/R.framework/Versions/Current/PrivateHeaders/.
> I tried to append it in the include search path. Unfortunately this yields
> other errors.

See http://sourceforge.net/mailarchive/message.php?msg_id=28082544

This is fixed in SVN, but there is one more potential problem blocking
releasing an rpy 1.0.4 maintenance release with finding lapack.

Peter

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to