[GRASS-user] Compiling GRASS 6.4.0RC5 on AIX 5.3
Mike Waldron
mwaldron at email.unc.edu
Tue Dec 15 10:59:43 EST 2009
Since the configure script is assuming that the ldAix script is in
$SRCDIR, it should probably be included with the source, or a flag
should be added to point to where it is. It's apparently needed to
create the lib.exp file when building shared libraries, although I ended
up building static libraries to get the compile to succeed. This script
comes from the TclTk package, specifically /usr/local/lib/tcl8.4 in my
case.
The source code tweaks I had to make were mainly to resolve conflicts
with variable declarations in the math.h include file. These didn't
cause a problem on Linux, but the xlc compiler on AIX would choke on
these. Also, there were several include references to <sys/fcntl.h>,
which on AIX is located in <fcntl.h>, so again a peculiarity with AIX.
Mike
Glynn Clements wrote:
> Mike Waldron wrote:
>
>
>> Yes, I copied the ldAix script from the Tcl/Tk package.
>>
>> After attempting all the suggestions, I finally used --disable-shared on
>> the configure command, and all but a handful of modules successfully
>> compiled. I was able to individually address the ones that failed
>> through Makefile edits and several small source code/header file edits.
>>
>
> Is there anything which ought to be changed in GRASS itself?
>
>
More information about the grass-user
mailing list