[R] Compilation error of R-2.14.0 on Mac OS 10.7.2

2011-12-08 Thread Jean-Baptiste Marquette
Dear R gurus,

I attempt to install the latest version of R from source on my MacBook Pro, 
using latest versions of Xcode and gfortran for Lion and configure options:

./configure --with-libintl-prefix=/sw --enable-R-shlib (this last option 
necessary to further install the Rpy Python package)

I got the following unreduced compilation error:

gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined 
dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib 
-L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o 
-L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/libRblas.dylib 
-lintl -Wl,-framework -Wl,CoreFoundation
make[6]: `Makedeps' is up to date.
mkdir ../../../../library/tools/libs
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object 
'/Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so':
  dlopen(/Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so, 6): 
Symbol not found: _libintl_dgettext
  Referenced from: 
/Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so
  Expected in: /Users/marquett/Downloads/R-2.14.0/lib/libR.dylib
 in /Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so
Error: impossible de charger le code R depuis le package ‘tools’
Execution halted
make[3]: *** [all] Error 1
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1

However the binary file matches the unresolved symbol:

grep _libintl_dgettext 
/Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so
Binary file /Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so 
matches

Any help welcome.

Cheers
Jean-Baptiste
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Error in package management on R 2.9.2 GUI 1.29 Tiger build 32-bit

2009-09-23 Thread Jean-Baptiste Marquette

Dear R gurus,

I use the above release on my MacPro under Leopard 10.5.8 and I have  
no more access to the package manager and the CRAN binary list on  
package installer. Error messages in the console are :


Erreur : impossible de trouver la fonction  
"package.manager" (impossible to find function "package.manager")
Erreur : impossible de trouver la fonction "browse.pkgs" (impossible  
to find function "browse.pkgs")


and I got a window :

Fetching Package List Failed

Any hint welcome.


Bien cordialement / Very truly yours / Mit freundlichen Gruessen,
Jean-Baptiste Marquette
Institut d'Astrophysique de Paris
CNRS - UMR 7095
Université Pierre & Marie Curie
98bis Bd Arago
75014 Paris - France
Tel +33 (0)1 4432 8196
Fax +33 (0)1 4432 8001


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.