[GRASS-dev] Integrate XDR lib into GRASS?

Patrice Dumas pertusus at free.fr
Wed Mar 21 10:18:15 EDT 2012


On Wed, Mar 21, 2012 at 02:42:27PM +0100, Markus Neteler wrote:
> Hi,
> 
> here at the FOSSGIS.de conference we tried to compile GRASS for Android.
> A major obstacle was XDR (e.g.,
> https://svn.r-project.org/R/trunk/src/extra/xdr).
> 
> Since it is only 4 files (or perhaps less used), why not incorporating these
> files into the GRASS source code?

Maybe it would be overkill, but gnulib is designed for such portability
issues, maybe grass could use that more generally?

http://www.gnu.org/software/gnulib/

I checked that there is some xdr support (from glibc):
http://www.gnu.org/software/gnulib/manual/html_node/Glibc-rpc_002fxdr_002eh.html#Glibc-rpc_002fxdr_002eh

There is an entry cost, though, and it integrates better when automake 
is used too.  Also the fact that grass requires an old autoconf may be 
troublesome.

-- 
Pat


More information about the grass-dev mailing list