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

Paul Hiemstra paul.hiemstra at knmi.nl
Mon Oct 3 10:08:40 CEST 2011


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 05:03 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.
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


-- 
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494

http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-help mailing list