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@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.