Hi,
The following shows the difference between the outputs of
Rcpp.package.skeleton of version 0.9.13 and 0.10.3. The output from
0.10.3 can not be installed correctly. The difference is in
src/Makefile. Does anybody has similar problem with 0.10.3?
~/dvcs_src/rexample/Rexample/cran/Rcpp/Rcpp.package.skeleton$ diff -r
mypackage mypackage_bak/
diff -r mypackage/DESCRIPTION mypackage_bak/DESCRIPTION
5c5
< Date: 2013-05-25
---
Only in mypackage_bak/src: mypackage.so
Binary files mypackage/src/rcpp_hello_world.o and
mypackage_bak/src/rcpp_hello_world.o differ
Only in mypackage_bak/: src-i386
Only in mypackage_bak/: src-x86_64
~/dvcs_src/rexample/Rexample/cran/Rcpp/Rcpp.package.skeleton$
Rpkins.sh mypackage
R CMD INSTALL --no-multiarch mypackage
tools:::.install_packages()
* installing to library ?/Users/py/utility/R?
* installing *source* package ?mypackage? ...
** libs
llvm-g++-4.2 -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -Wall
-I/usr/local/include -I"/Users/py/utility/R_user/Rcpp/include" -fPIC
-mtune=core2 -g -O2 -c rcpp_hello_world.cpp -o rcpp_hello_world.o
llvm-g++-4.2 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names
-undefined dynamic_lookup -single_module -multiply_defined suppress
-L/usr/local/lib -L/usr/local/lib -o mypackage.so rcpp_hello_world.o >
Rcpp:::LdFlags() /Users/py/utility/R_user/Rcpp/lib/libRcpp.a> >
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
-Wl,CoreFoundation
i686-apple-darwin11-llvm-g++-4.2: >: No such file or directory
i686-apple-darwin11-llvm-g++-4.2: Rcpp:::LdFlags(): No such file or directory
i686-apple-darwin11-llvm-g++-4.2:
/Users/py/utility/R_user/Rcpp/lib/libRcpp.a>: No such file or
directory
i686-apple-darwin11-llvm-g++-4.2: >: No such file or directory
make: *** [mypackage.so] Error 1
ERROR: compilation failed for package ?mypackage?
* removing ?/Users/py/utility/R/mypackage?
~/dvcs_src/rexample/Rexample/cran/Rcpp/Rcpp.package.skeleton$
Rpkins.sh mypackage_bak/
R CMD INSTALL --no-multiarch mypackage_bak/
tools:::.install_packages()
* installing to library ?/Users/py/utility/R?
* installing *source* package ?mypackage? ...
** libs
llvm-g++-4.2 -arch x86_64
-I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -Wall
-I/usr/local/include -I"/Users/py/utility/R_user/Rcpp/include" -fPIC
-mtune=core2 -g -O2 -c rcpp_hello_world.cpp -o rcpp_hello_world.o
llvm-g++-4.2 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names
-undefined dynamic_lookup -single_module -multiply_defined suppress
-L/usr/local/lib -L/usr/local/lib -o mypackage.so rcpp_hello_world.o
/Users/py/utility/R_user/Rcpp/lib/libRcpp.a
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
-Wl,CoreFoundation
installing to /Users/py/utility/R/mypackage/libs
** R
** preparing package for lazy loading
** help
Warning: /Users/py/dvcs_src/rexample/Rexample/cran/Rcpp/Rcpp.package.skeleton/mypackage_bak/man/mypackage-package.Rd:31:
All text must be in a section
Warning: /Users/py/dvcs_src/rexample/Rexample/cran/Rcpp/Rcpp.package.skeleton/mypackage_bak/man/mypackage-package.Rd:32:
All text must be in a section
*** installing help indices
** building package indices
** testing if installed package can be loaded