Bugs item #1710180, was opened at 2007-04-30 13:48 Message generated for change (Comment added) made by warnes You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1710180&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: Build Group: rpy >Status: Closed >Resolution: Out of Date Priority: 5 Private: No Submitted By: John Owens (john_owens) >Assigned to: Gregory Warnes (warnes) Summary: Build error, OS X 10.4.9, R 2.5.0 (MacPorts) [rpy-1.0-RC2] Initial Comment: Using MacPorts version of both python2.4 and R 2.5.0. This is on OS X 10.4.9, PPC. Appears to be a linking error with libRblas.dylib, which seems to be in the right place with the right permissions. ======================= movenpick 524$ python2.4 setup.py build RHOMES= [] Setting RHOMES to ['/opt/local/lib/R'] ### Using R verion 2.5.0 installed at /opt/local/lib/R ### RHOME= /opt/local/lib/R copying src/rpymodule.c -> src/rpymodule2050.c copying src/R_eval.c -> src/R_eval2050.c copying src/io.c -> src/io2050.c running build running build_py running build_ext building '_rpy2050' extension creating build/temp.darwin-8.9.0-Power_Macintosh-2.4 creating build/temp.darwin-8.9.0-Power_Macintosh-2.4/src /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC -DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2 -I/opt/local/lib/R/include -Isrc -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/rpymodule2050.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/rpymodule2050.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC -DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2 -I/opt/local/lib/R/include -Isrc -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/R_eval2050.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/R_eval2050.o /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Numeric/arrayobject.h:313: warning: 'PyArray_API' defined but not used /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -DWITH_NUMERIC -DRPY_SHNAME="_rpy2050" -DINIT_RPY=init_rpy2050 -UPRE_2_2 -I/opt/local/lib/R/include -Isrc -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c src/io2050.c -o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/io2050.o src/io2050.c: In function 'RPy_ReadConsole': src/io2050.c:131: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness src/io2050.c: At top level: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Numeric/arrayobject.h:313: warning: 'PyArray_API' defined but not used /usr/bin/gcc-4.0 -bundle -undefined dynamic_lookup build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/rpymodule2050.o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/R_eval2050.o build/temp.darwin-8.9.0-Power_Macintosh-2.4/src/io2050.o -L/opt/local/lib/R/bin -L/opt/local/lib/R/lib -L/opt/local/lib/R/bin -L/opt/local/lib/R/lib -lR -o build/lib.darwin-8.9.0-Power_Macintosh-2.4/_rpy2050.so /usr/bin/ld: warning can't open dynamic library: libRblas.dylib referenced from: /opt/local/lib/R/lib/libR.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: Undefined symbols: _dgemm_ referenced from libR expected to be defined in libRblas.dylib _dsyrk_ referenced from libR expected to be defined in libRblas.dylib _zgemm_ referenced from libR expected to be defined in libRblas.dylib _dcopy_ referenced from libR expected to be defined in libRblas.dylib _dtrsm_ referenced from libR expected to be defined in libRblas.dylib _daxpy_ referenced from libR expected to be defined in libRblas.dylib _dswap_ referenced from libR expected to be defined in libRblas.dylib _ddot_ referenced from libR expected to be defined in libRblas.dylib _dasum_ referenced from libR expected to be defined in libRblas.dylib _dscal_ referenced from libR expected to be defined in libRblas.dylib _dnrm2_ referenced from libR expected to be defined in libRblas.dylib _drot_ referenced from libR expected to be defined in libRblas.dylib _drotg_ referenced from libR expected to be defined in libRblas.dylib collect2: ld returned 1 exit status error: command '/usr/bin/gcc-4.0' failed with exit status 1 movenpick 525$ R --version R version 2.5.0 (2007-04-23) Copyright (C) 2007 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under the terms of the GNU General Public License. For more information about these matters, see http://www.gnu.org/copyleft/gpl.html. movenpick 526$ file /opt/local/lib/R/lib/libRblas.dylib /opt/local/lib/R/lib/libRblas.dylib: Mach-O dynamically linked shared library ppc movenpick 527$ ls -l /opt/local/lib/R/lib/ total 11960 -rwxr-xr-x 2 root admin 2427280 Apr 27 22:33 libR.dylib -rwxr-xr-x 2 root admin 355632 Apr 27 22:33 libRblas.dylib -rwxr-xr-x 2 root admin 3336720 Apr 27 22:33 libRlapack.dylib ---------------------------------------------------------------------- >Comment By: Gregory Warnes (warnes) Date: 2007-10-17 22:14 Message: Logged In: YES user_id=9316 Originator: NO Please try with a current version of R. Since I do my development on OSX (10.4.10), I'm pretty sure it is working. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1710180&group_id=48422 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list