Hi,<br><br>I can't install rgdal library on Lion, tried this:<div><br><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px"><div class="line" id="LC1" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
R CMD INSTALL --configure-args='--with-gdal-config=/Library/Frameworks/GDAL.framework/unix/bin/gdal-config --with-proj-include=/Library/Frameworks/PROJ.framework/unix/include --with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib' /Users/marcello/Downloads/rgdal_0.7-20.tar.gz </div>
<div class="line" id="LC2" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">* installing to library ‘/usr/local/Cellar/r/2.15.2/R.framework/Versions/2.15/Resources/library’</div>
<div class="line" id="LC3" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">* installing *source* package ‘rgdal’ ...</div><div class="line" id="LC4" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
** package ‘rgdal’ successfully unpacked and MD5 sums checked</div><div class="line" id="LC5" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
configure: gdal-config: /Library/Frameworks/GDAL.framework/unix/bin/gdal-config</div><div class="line" id="LC6" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking gdal-config usability... yes</div><div class="line" id="LC7" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">configure: GDAL: 1.9.1</div>
<div class="line" id="LC8" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking GDAL version > 1.5.4... yes</div><div class="line" id="LC9" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for gcc... cc</div><div class="line" id="LC10" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking whether the C compiler works... yes</div>
<div class="line" id="LC11" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for C compiler default output file name... a.out</div>
<div class="line" id="LC12" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for suffix of executables... </div><div class="line" id="LC13" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking whether we are cross compiling... no</div><div class="line" id="LC14" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for suffix of object files... o</div>
<div class="line" id="LC15" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking whether we are using the GNU C compiler... yes</div>
<div class="line" id="LC16" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking whether cc accepts -g... yes</div><div class="line" id="LC17" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for cc option to accept ISO C89... none needed</div><div class="line" id="LC18" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking how to run the C preprocessor... cc -E</div><div class="line" id="LC19" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for grep that handles long lines and -e... /usr/bin/grep</div><div class="line" id="LC20" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for egrep... /usr/bin/grep -E</div><div class="line" id="LC21" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for ANSI C header files... rm: conftest.dSYM: is a directory</div>
<div class="line" id="LC22" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">rm: conftest.dSYM: is a directory</div><div class="line" id="LC23" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
yes</div><div class="line" id="LC24" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for sys/types.h... yes</div><div class="line" id="LC25" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for sys/stat.h... yes</div><div class="line" id="LC26" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for stdlib.h... yes</div>
<div class="line" id="LC27" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for string.h... yes</div><div class="line" id="LC28" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for memory.h... yes</div><div class="line" id="LC29" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for strings.h... yes</div>
<div class="line" id="LC30" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for inttypes.h... yes</div><div class="line" id="LC31" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking for stdint.h... yes</div><div class="line" id="LC32" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for unistd.h... yes</div>
<div class="line" id="LC33" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking gdal.h usability... yes</div><div class="line" id="LC34" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking gdal.h presence... yes</div><div class="line" id="LC35" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking for gdal.h... yes</div>
<div class="line" id="LC36" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">checking gdal: linking with --libs only... no</div><div class="line" id="LC37" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
checking gdal: linking with --libs and --dep-libs... no</div><div class="line" id="LC38" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated</div><div class="line" id="LC39" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
gdal_test.c:5:1: error: C++ requires a type specifier for all declarations</div><div class="line" id="LC40" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
main() {</div><div class="line" id="LC41" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">^~~~</div><div class="line" id="LC42" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
1 error generated.</div><div class="line" id="LC43" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated</div>
<div class="line" id="LC44" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">gdal_test.c:5:1: error: C++ requires a type specifier for all declarations</div>
<div class="line" id="LC45" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">main() {</div><div class="line" id="LC46" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
^~~~</div><div class="line" id="LC47" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">1 error generated.</div><div class="line" id="LC48" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
configure: Install failure: compilation and/or linkage problems.</div><div class="line" id="LC49" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
configure: error: GDALAllRegister not found in libgdal.</div><div class="line" id="LC50" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
ERROR: configuration failed for package ‘rgdal’</div><div class="line" id="LC51" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
* removing ‘/usr/local/Cellar/r/2.15.2/R.framework/Versions/2.15/Resources/library/rgdal’</div><div class="line" id="LC51" style="font-family:'Bitstream Vera Sans Mono',Courier,monospace;font-size:12px;line-height:1.4em;margin:0px;padding:0px 0px 0px 1em">
<br></div>Any Ideas?<br><br>Thanks in advance.</pre>-- <br><b>Marcello Benigno B. de Barros Filho</b><br><font size="1">Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB<br>Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE</font><div>
<font size="1">Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE</font><font size="1"><br></font><font size="1"><a href="http://profmarcello.blogspot.com" target="_blank">http://profmarcello.blogspot.com</a></font><div>
<a href="http://about.me/marcello.benigno" target="_blank"><font size="1">http://about.me/marcello.benigno</font></a></div></div><br>
</div></div>