Hi Everyone,

I'm having problems installing a package locally from source on my Mac.  It was developed on a Windows 7 machine (x86-64) and loads without incident under Windows (both x86-32 and x86-64) and Linux.  When I try to install, it steps through a bunch of g++ calls, and then gives the following error message:

L/Library/Frameworks/R.framework/Resources/lib/x86_64 -lRblas -lgfortran -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/Rcpp/lib/x86_64/libRcpp.a: line 1: syntax error near unexpected token `newline'
/Library/Frameworks/R.framework/Versions/2.13/Resources/library/Rcpp/lib/x86_64/libRcpp.a: line 1: `!<arch>'
installing to /Library/Frameworks/R.framework/Versions/2.13/Resources/library/growcurves/libs/x86_64

In the end, it fails to load.  (See below.)  I assume this is due to these errors.  Any thoughts as to what I am doing wrong?

Thanks,

Lane


** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/growcurves/libs/x86_64/growcurves.so':
  dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/growcurves/libs/x86_64/growcurves.so, 6): Symbol not found: __ZTIN4Rcpp12not_a_matrixE
  Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/growcurves/libs/x86_64/growcurves.so
  Expected in: flat namespace
 in /Library/Frameworks/R.framework/Versions/2.13/Resources/library/growcurves/libs/x86_64/growcurves.so
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/growcurves'


> sessionInfo()
R version 2.13.2 (2011-09-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] ggplot2_0.8.9        proto_0.3-9.2        reshape_0.8.4        plyr_1.6             RcppArmadillo_0.2.29
[6] Rcpp_0.9.7


__________________________________________________________________________

This email message is for the sole use of the intended r...{{dropped:9}}

