[R-SIG-Mac] mac OS X 10.5.7 rgdal installation problems

stephen sefick ssefick at gmail.com
Thu Jul 2 21:42:26 CEST 2009


R CMD install --configure-args='--with-proj-include=/sw/include' rgdal
* Installing to library ‘/Library/Frameworks/R.framework/Resources/library’
* Installing *source* package ‘rgdal’ ...
gdal-config: gdal-config
checking for gcc... gcc -arch i386 -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -arch i386 -std=gnu99 accepts -g... yes
checking for gcc -arch i386 -std=gnu99 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -arch i386 -std=gnu99 -E
checking for egrep... grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_init_plus in -lproj... no
Error: libproj.a not found.
If the PROJ.4 library is installed in a non-standard location,
use --configure-args='--with-proj-lib=/opt/local/lib' for example,
replacing /opt/local/* with appropriate values for your installation.
If PROJ.4 is not installed, install it.
ERROR: configuration failed for package ‘rgdal’
* Removing ‘/Library/Frameworks/R.framework/Resources/library/rgdal’


On Thu, Jul 2, 2009 at 2:33 PM, Steve
Lianoglou<mailinglist.honeypot at gmail.com> wrote:
>
> On Jul 2, 2009, at 3:29 PM, stephen sefick wrote:
>
>> locate proj_api.h
>>
>>
>>
>> /Applications/GrassGIS.app/Contents/Resources/app/grass-6.3.0/include/gproj_api.h
>>
>> /Applications/GrassGIS.app/Contents/Resources/app/grass-6.3.0/include/grass/gproj_api.h
>>
>> /Applications/GrassGIS.app/Contents/Resources/app/x11/grass-6.3.0/include/grass/gproj_api.h
>> /Applications/GrassGIS.app/Contents/Resources/grasslib/include/proj_api.h
>> /Library/Frameworks/PROJ.framework/Versions/4.6/Headers/proj_api.h
>> /sw/include/proj_api.h
>
> Right, so as suggested, instead of:
>
> R CMD install --configure-args='--with-proj-include=/sw/include/proj' rgdal
>
> do
>
> R CMD install --configure-args='--with-proj-include=/sw/include' rgdal
>
> -steve
>
> --
> Steve Lianoglou
> Graduate Student: Physiology, Biophysics and Systems Biology
> Weill Medical College of Cornell University
>
> Contact Info: http://cbio.mskcc.org/~lianos/contact
>
>
>
>



-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis



More information about the R-SIG-Mac mailing list