[GRASS-dev] compilation of grass on AIX 7.1

Ivan Barka ivan.barka at gmail.com
Wed Mar 27 06:50:32 PDT 2013

Hi devs,

I tried again recent grass7 on AIX 7.1 with gcc.

I had error in lib/gis:

gcc  -lstdc++
-I/gpfs/home/senko/dev/grass/grass7/dist.powerpc-ibm-aix7.1.0.0/include -o
OBJ.powerpc-ibm-aix7.1.0.0/plot.o -c plot.c
plot.c:34:15: error: conflicting types for 'nearest'
note: previous declaration of 'nearest' was here
gmake: *** [OBJ.powerpc-ibm-aix7.1.0.0/plot.o] Error 1

After renaming the variable "nearest" to "nearesta" in lib/gis/plot.c it

But next strange error was in lib/vector/diglib:

if [ "" != "" -a -f "".html ] ; then gmake html ; fi
gmake test
gmake[1]: Entering directory
diff OBJ.powerpc-ibm-aix7.1.0.0/test.tmp test64.ok
diff: Missing newline at the end of file
diff: Missing newline at the end of file test64.ok.
gmake[1]: *** [test] Error 1
gmake[1]: Leaving directory
gmake: *** [default] Error 2

Full output is in file diglib_gmake.txt

Thanks for any advice.


2013/3/23 Markus Neteler <neteler at osgeo.org>

> However, I think that this exercise is done since we cannot gain more
> on AIX 5.3. I hope that the code is AIX 7 ready at this point.
> I have documented the compilation steps here:
> http://grasswiki.osgeo.org/wiki/Talk:Compile_and_Install
> -> AIX compilation hints
>    (configuration scripts for wget, PROJ4, GDAL, GRASS 6, and GRASS 7)
> http://grasswiki.osgeo.org/wiki/Compile_and_Install#AIX
> -> GRASS 7: Using the IBM xlc compiler
> -> GRASS 7: Using the GNU gcc compiler
> Ivan, could you please update from GRASS 7 SVN and try again?
> Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130327/1ad5039d/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diglib_gmake.txt
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130327/1ad5039d/attachment.txt>

More information about the grass-dev mailing list