Support Requests item #2721281, was opened at 2009-03-29 18:21 Message generated for change (Tracker Item Submitted) made by monipol You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453022&aid=2721281&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: Install Problem (example) Group: None Status: Open Priority: 5 Private: No Submitted By: Monic Polynomial (monipol) Assigned to: Nobody/Anonymous (nobody) Summary: RPy2 with Fink's R: no LAPACK_LIBS; setup.py fails Initial Comment: I'm trying to install RPy2 on Mac OS X 10.5.6 using R supplied by Fink. R (2.7.0) outputs the following link parameters: $ R CMD config --ldflags -F/sw/Library/Frameworks/R.framework/.. -framework R $ R CMD config BLAS_LIBS -framework vecLib -dylib_file /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib $ R CMD config LAPACK_LIBS As you may see, BLAS_LIBS points to libLAPACK (vecLib) and LAPACK_LIBS is empty (Apple's vecLib includes both BLAS and LAPACK). I was browsing the configure (autoconf) file distributed with R 2.7.0 and it seems that LAPACK_LIBS is intended to be blank: ## Note that (see R-admin) that our main intention is to allow a ## LAPACK-containing BLAS to be used, so this is rarely needed, and ## it is not used if the BLAS already contains LAPACK. ## LAPACK_LIBS= However, RPy'2 setup.py fails if "R CMD config LAPACK_LIBS" doesn't output something. Should LAPACK_LIBS really be mandatory? For your information, these are the relevant configure parameters that Fink uses when building R: --with-blas="-framework vecLib -dylib_file /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib" --with-lapack --enable-R-framework=/sw/Library/Frameworks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453022&aid=2721281&group_id=48422 ------------------------------------------------------------------------------ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list