[R-sig-Geo] error in compiling rgdal 0.8-14
Roger Bivand
Roger.Bivand at nhh.no
Thu Feb 6 10:22:13 CET 2014
rgdal 0.8-15 just accepted on CRAN now works with the forthcoming PROJ
4.9.0. It has been tested with 4.7.1 and 4.8.0 too, so should be backward
compatible.
Roger
On Fri, 24 Jan 2014, Roger Bivand wrote:
> On Fri, 24 Jan 2014, Annalisa Minelli wrote:
>
>> I correct myself anch close the task.
>
> But a very useful heads-up, so that rgdal can be prepared for use with the
> development version of proj, so at its next release, rgdal should also
> support > 4.8.
>
> Roger
>
>> I was working on proj trunk when I experienced this problem. I parallel
>> have another installation where rgdal had no problem and it was compiled
>> under PROJ 4.8 instead.
>> So I downloaded and recompiled the proj 4.8, added the right paths and now
>> it works.
>>
>> Sorry for the mail.
>>
>> Annalisa
>>
>>
>> 2014/1/24 Annalisa Minelli <annagfoss at gmail.com>
>>
>>> Dear all,
>>> I freshly compiled my SIG tools on my fresh linux installation (Ubuntu
>>> 12.04 LTS).
>>> I compiled GDAL and PROJ (v.4.9) too.
>>> The problem is that when I install rgdal by package using the command:
>>>
>>> R CMD INSTALL --configure-args='--with-proj-include=/usr/local/includes/
>>> --with-proj-lib=/usr/local/lib/proj --with-proj-share=/usr/share/proj/'
>>> /home/infolab/Downloads/rgdal
>>>
>>> I receive the following error:
>>>
>>> ...
>>> checking PROJ.4 Version 4.7 or earlier... no
>>> configure: PROJ_LIB: /usr/share/proj/
>>> proj_conf_test.c:3:7: error: conflicting types for 'pj_open_lib'
>>> /usr/local/include/proj_api.h:146:8: note: previous declaration of
>>> 'pj_open_lib' was here
>>> ...
>>>
>>> so not only seems not to find PROJ library (despite of the arguments
>>> passed), but it seems encoutering an internal conflict with the file
>>> proj_api.h
>>>
>>> I compiled both proj and gdal, and no other conflicting copies are
>>> installed (e.g. by package).
>>>
>>> Here there's the url to the complete output of the command:
>>> http://pastebin.com/embed_iframe.php?i=KqhPyTiy
>>>
>>>
>>> Any idea/suggestion is well accepted.
>>> Annalisa
>>>
>>>
>>>
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
>
--
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list