[R-sig-Geo] Gstat - Installation Fail _ download source and compile help ...

Edzer Pebesma edzer.pebesma at uni-muenster.de
Mon Oct 3 11:57:43 CEST 2011


After some iterations off-list, it seems that the configure script that 
comes with gstat wants to use gcc, whereas R then starts compiling C 
files with icc.

Sandeep, could you tell us what the output of

R CMD config CC

is, on your computer?


On 10/03/2011 10:16 AM, Paul Hiemstra wrote:
> Avoid cross-posting to R-help and R-sig-geo...
>
> My earlier reply:
>
> Hi Sandeep,
>
> You need to provide way more detail for us to be able to help you:
>
> - Which version of gstat do you want to install, ?
> - where did you get the sources, ?
> - is it the version inside R or the standalone version?
> - what version of R are you running?
> - *what is the exact error that gstat gave*?
> - have you tried the precompiled gstat standalone binaries?
>
> Furthermore, this is not the correct forum to get help for gstat, this
> is far more appropriate for the R-sig-geo mailing list. Another helpful
> mailing list is:
>
> http://www2.52north.org/mailman/listinfo/geostatistics
>
> good luck,
> Paul
>
>
>
>
> On 10/01/2011 04:34 PM, Sandeep Patil wrote:
>> Hello
>>
>> I have been trying to install gstat on university's unix based system ( i am
>> not familiar with many technical aspects of installation) but i am getting a
>> particular error which i could not find a solution to online. Here is what
>> the technical support guy mailed me back, i am sure someone who understands
>> the technicalities can explain me this procedure in a more lucid way.
>> *
>> **Technical Assistant's reply*
>> *
>> Unfortunately, the error is due to a type being used in one of the
>> source files which has not yet been defined in an include file.
>> The "u_int" type is defined in /usr/include/sys/types.h:
>>
>>     typedef __u_int u_int;
>>
>> And, the "__u_int" type is defined in /usr/include/bits/types.h:
>>
>>     typedef unsigned int __u_int;
>>
>> Note that<bits/types.h>  is included at the top of<sys/types.h>, so
>> only the<sys/types.h>  would need to be included.
>>
>> Without including<sys/types.h>, the program won't recognize
>> "u_int" as a valid type.  So, this is an issue with the configuration
>> or perhaps source for the given program being compiled by the
>> package installation function of R.
>>
>> My suggestion would be to search for the given error message on any
>> support/help/discussion boards/websites related to the R program.
>> Or, do a google search to see if anyone else has encountered the same
>> error and find their suggested solution.
>>
>> Otherwise, you can manually download the source to your directory and
>> attempt to tweak the "configure" command, which would generate a more
>> correct Makefile.  Or, in the least desirable scenario, insert the
>> needed "#include<sys/types>" in the given *.c file yourself and
>> compile.
>> *
>> Can anyone make out anything from this , i want to tweak the configure
>> command but do not know how to proceed..
>>
>> Sandeep
>>
>> 	[[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
>
>
>

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list