[R-SIG-Mac] spprj - copiling error

epifanio epi massimodisasha at yahoo.it
Thu Apr 6 00:24:43 CEST 2006


i'm trying to install spproj, but i've this error:


* Installing *source* package 'spproj' ...
creating cache ./config.cache
checking for pj_init_plus in -lproj... yes
checking how to run the C preprocessor... cc -E
checking for proj_api.h... yes
updating cache ./config.cache
creating ./config.status
creating src/Makevars
** libs
gcc-3.3 -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/ 
include  -I/usr/local/include   -fno-common  -g -O2 -c projectit.c -o  
projectit.o
gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib - 
o spproj.so projectit.o -lproj -lcc_dynamic -F/Library/Frameworks/ 
R.framework/.. -framework R
** R
ld: warning multiple definitions of symbol _signgam
/Library/Frameworks/R.framework/../R.framework/R(lgamma.lo)  
definition of _signgam
/usr/lib/libSystem.dylib(gamma9.o) definition of _signgam
** save image
Loading required package: sp
Error in importIntoEnv(impenv, impnames, ns, impvars) :
	objects 'Sline', 'Sring', 'Srings', 'SpatialRings',  
'getSRpolygonsSlot', 'getSringsIDSlot', 'getSringsSringsSlot',  
'getSringCoordsSlot' are not exported by 'namespace:sp'
** Removing '/Library/Frameworks/R.framework/Versions/2.2/Resources/ 
library/spproj'
Execution halted
ERROR: execution of package source for 'spproj' failed
 >


i'm on mac osx 10.4.5
i've compiled proj-4.4.9.tar.gz  in by source-code
with the the other R-spatial package (sp-spmaptools-spgdal- 
spgrass6...) have not problem

have you any suggest?
thanks!
Massimo



More information about the R-SIG-Mac mailing list