[Bioc-devel] Rcpp on the Mac test servers

Henning Redestig henning.red at googlemail.com
Mon Jan 25 01:52:35 CET 2010


Hi,

I started to use the very convenient Rcpp package in pcaMethods and
got compilation to work on the Linux and Mac bioconductor test servers
but Mac is reporting that it can not find Rcpp even though it seems to
be installed. Build gets stuck on the following error:


** libs
** arch - i386
g++ -arch i386 -I/Library/Frameworks/R.framework/Versions/2.11/Resources/include
-I/Library/Frameworks/R.framework/Versions/2.11/Resources/include/i386
-I/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Rcpp/lib/i386
-I/usr/local/include    -fPIC  -g -O2 -Wall -c nipals.cpp -o nipals.o
g++ -arch i386 -dynamiclib -Wl,-headerpad_max_install_names
-mmacosx-version-min=10.4 -undefined dynamic_lookup -single_module
-multiply_defined suppress -L/usr/local/lib -o pcaMethods.so nipals.o
-L/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Rcpp/lib/i386
-lRcpp -F/Library/Frameworks/R.framework/.. -framework R
-Wl,-framework -Wl,CoreFoundation
** arch - ppc
Error in library.dynam(lib, package, package.lib) :
  shared library 'Rcpp' not found
Calls: ::: ... tryCatch -> tryCatc

Apparently the Makevars script sets the path to Rcpp header files correctly,

-L/Library/Frameworks/R.framework/Versions/2.11/Resources/library/Rcpp/lib/i386

but still no luck. Does anyone have an idea on how to make Rcpp work
on Mac? Or does the path above not contain Rcpp.h?

Regards,


-- 
/Henning Redestig

Metabolome Informatics Unit | Yokohama RIKEN Plant Science Center



More information about the Bioc-devel mailing list