Bugs item #2830385, was opened at 2009-07-31 17:53 Message generated for change (Tracker Item Submitted) made by jryge You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453021&aid=2830385&group_id=48422
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: jesper ryge (jryge) Assigned to: Nobody/Anonymous (nobody) Summary: rpy 1.0.3 fails to build/install on intel mac os 10.5.7 Initial Comment: try to install rpy 1 on intel mac os 10.5.7 with gcc 4.2 from xcode 3.1. R was installed from source as framework and with --enable-R-shlib. python 2.6.2 was installed from source (not framework and MACOSX_DEPLOYMENT_TARGET=10.5 set in makefile). rpy2 does install but i need rpy 1 to work. thos is the error message i get: py-1.0.3 jr$ python setup.py build RHOMES= [] DEBUG= True Setting RHOMES to ['/Library/Frameworks/R.framework/Resources'] ### Using R verion 2.9.1 installed at /Library/Frameworks/R.framework/Resources ### RHOME= /Library/Frameworks/R.framework/Resources copying src/rpymodule.c -> src/rpymodule2091.c copying src/R_eval.c -> src/R_eval2091.c copying src/io.c -> src/io2091.c running build running build_py creating build creating build/lib.macosx-10.5-i386-2.6 copying rpy.py -> build/lib.macosx-10.5-i386-2.6 copying rpy_io.py -> build/lib.macosx-10.5-i386-2.6 copying rpy_version.py -> build/lib.macosx-10.5-i386-2.6 copying rpy_tools.py -> build/lib.macosx-10.5-i386-2.6 copying rpy_options.py -> build/lib.macosx-10.5-i386-2.6 copying rpy_wintools.py -> build/lib.macosx-10.5-i386-2.6 running build_ext building '_rpy2091' extension creating build/temp.macosx-10.5-i386-2.6 creating build/temp.macosx-10.5-i386-2.6/src gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_ -DRPY_SHNAME=_rpy2091 -DINIT_RPY=init_rpy2091 -UPRE_2_2 -I/Library/Frameworks/R.framework/Resources/include -Isrc -I/usr/local/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include/python2.6 -c src/rpymodule2091.c -o build/temp.macosx-10.5-i386-2.6/src/rpymodule2091.o In file included from src/RPy.h:57, from src/rpymodule2091.c:51: /Library/Frameworks/R.framework/Resources/include/R_ext/Rdynload.h:26: warning: function declaration isn't a prototype In file included from src/rpymodule2091.c:51: src/RPy.h:77:51: error: Rdevices.h: No such file or directory src/rpymodule2091.c:1565: warning: initialization from incompatible pointer type src/rpymodule2091.c:1568: warning: 'intargfunc' is deprecated src/rpymodule2091.c:1568: warning: initialization from incompatible pointer type src/rpymodule2091.c:1569: warning: 'intintargfunc' is deprecated src/rpymodule2091.c:1569: warning: initialization from incompatible pointer type src/rpymodule2091.c:1570: warning: initialization from incompatible pointer type src/rpymodule2091.c: In function 'r_finalize': src/rpymodule2091.c:1782: warning: implicit declaration of function 'Rf_KillAllDevices' src/rpymodule2091.c:1788: warning: implicit declaration of function 'R_CleanTempDir' src/rpymodule2091.c:1776: warning: unused variable 'tmpdir' src/rpymodule2091.c:1775: warning: unused variable 'buf' error: command 'gcc' failed with exit status 1 cheers, jesper ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453021&aid=2830385&group_id=48422 ------------------------------------------------------------------------------ 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