Romain, Jonathan, an update on the error I reported: This was due to some gettext failure in the configuration of the R build on the Mac. I had to use the configure options --with-included-gettext and everything worked after installation. For a config.log if interested see here: https://gist.github.com/anonymous/6541684.
Thanks again for your quick help! Best Simon On Sep 12, 2013, at 5:54 PM, Simon Zehnder <[email protected]> wrote: > Romain, Jonathan, > > many thanks for the quick response. This is actually very good to know, that > the -lintl is not in there usually. What I will do is to recompile my R from > sources - but this time without the option --with-valgrind-instrumentation. > Hopefully this is the source of error. > > Coming back to this later with hopefully some positive results. > > Best > > Simon > > On Sep 12, 2013, at 5:47 PM, Jonathan Olmsted <[email protected]> wrote: > >> Any idea where that is coming from? It isn't coming from the Rcpp Makevars >> or from a default Macports installation (as best as I can tell). I just did >> an clean install of R from a clean Macports and then installed Rcpp from >> within R. >> >> g++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup >> -single_module -multiply_defined suppress -L/opt/local/lib >> -Wl,-headerpad_max_install_names -arch x86_64 -o Rcpp.so Date.o Module.o >> Rcpp_init.o Timer.o api.o attributes.o barrier.o exceptions.o >> -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework >> -Wl,CoreFoundation >> g++ -o libRcpp.dylib Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o >> barrier.o exceptions.o -dynamiclib -Wl,-headerpad_max_install_names >> -undefined dynamic_lookup -single_module -multiply_defined suppress >> -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework >> -Wl,CoreFoundation >> ar qc libRcpp.a Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o >> barrier.o exceptions.o >> >> >> >> >> ------------------------------------------------------------------------- >> J.P. Olmsted >> >> 029 Corwin (Office) >> 130 Corwin Hall (Mail) >> >> Politics Department >> Princeton University >> Princeton, NJ 08544 >> >> >> t: 609.258.6202 >> f: 609.258.1110 >> [email protected] >> http://about.me/olmjo >> ------------------------------------------------------------------------- >> >> >> On Thu, Sep 12, 2013 at 10:28 AM, Simon Zehnder <[email protected]> wrote: >> Dear Rcpp-Users and Rcpp-Devels, >> >> I had to reinstall my system lately and compiled R-3.0.1. I installed >> several packages and all installations went well. Then I tried to install >> Rcpp 0.10.4. and I got: >> >> R CMD INSTALL Rcpp >> * installing to library ‘/Users/simonzehnder/Library/R/3.0/library’ >> * installing *source* package ‘Rcpp’ ... >> ** package ‘Rcpp’ successfully unpacked and MD5 sums checked >> ** libs >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c Date.cpp -o >> Date.o >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c Module.cpp -o >> Module.o >> gcc -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c Rcpp_init.c -o >> Rcpp_init.o >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c Timer.cpp -o >> Timer.o >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c api.cpp -o api.o >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c attributes.cpp >> -o attributes.o >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c barrier.cpp -o >> barrier.o >> g++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG >> -I../inst/include/ -I/opt/local/include -fPIC -g -O2 -c exceptions.cpp >> -o exceptions.o >> g++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup >> -single_module -multiply_defined suppress -L/opt/local/lib -o Rcpp.so Date.o >> Module.o Rcpp_init.o Timer.o api.o attributes.o barrier.o exceptions.o >> -F/Library/Frameworks/R.framework/.. -framework R -lintl -Wl,-framework >> -Wl,CoreFoundation >> g++ -o libRcpp.dylib Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o >> barrier.o exceptions.o -dynamiclib -Wl,-headerpad_max_install_names >> -undefined dynamic_lookup -single_module -multiply_defined suppress >> -F/Library/Frameworks/R.framework/.. -framework R -lintl -Wl,-framework >> -Wl,CoreFoundation >> ld: library not found for -lintl >> collect2: error: ld returned 1 exit status >> make: *** [libRcpp] Error 1 >> ERROR: compilation failed for package ‘Rcpp’ >> * removing ‘/Users/simonzehnder/Library/R/3.0/library/Rcpp’ >> >> What is the intl library and what could be the error. >> >> My System: Mac OS X Mountain Lion 10.8.4, Macports gcc48 Compiler >> >> >> Best >> >> Simon >> _______________________________________________ >> Rcpp-devel mailing list >> [email protected] >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel >> > > _______________________________________________ > Rcpp-devel mailing list > [email protected] > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
