[GRASS-dev] compilation of grass on AIX 7.1
Markus Neteler
neteler at osgeo.org
Sun Jun 9 11:00:04 PDT 2013
Hi,
I got meanwhile access to this AIX 7.1 machine. PROJ4 and GDAL I got
installed, but now having a problem with GRASS 7:
...
/gpfs/home/neteler/software/grass-7.0.svn/install-sh -c -m 644
PERMANENT/WIND /gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
/gpfs/home/neteler/software/grass-7.0.svn/install-sh[239]: : cannot execute
gmake[2]: *** [/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND]
Error 126
gmake[2]: Leaving directory
`/gpfs/home/neteler/software/grass-7.0.svn/demolocation'
...
There is this spurious " : " in install-sh. Adding -x delivers this:
-bash-3.2$ gmake
chmod 755 install-sh
gmake subdirs
gmake[1]: Entering directory `/gpfs/home/neteler/software/grass-7.0.svn'
gmake[2]: Entering directory
`/gpfs/home/neteler/software/grass-7.0.svn/demolocation'
/gpfs/home/neteler/software/grass-7.0.svn/install-sh -c -m 644
PERMANENT/WIND /gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
+ doit=
+ mvprog=mv
+ cpprog=cp
+ chmodprog=chmod
+ chownprog=chown
+ chgrpprog=chgrp
+ stripprog=strip
+ rmprog=rm
+ mkdirprog=mkdir
+ transformbasename=
+ transform_arg=
+ instcmd=mv
+ chmodcmd=chmod 0755
+ chowncmd=
+ chgrpcmd=
+ stripcmd=
+ rmcmd=rm -f
+ mvcmd=mv
+ src=
+ dst=
+ dir_arg=
+ [ x-c != x ]
+ instcmd=cp
+ shift
+ continue
+ [ x-m != x ]
+ chmodcmd=chmod 644
+ shift
+ shift
+ continue
+ [ xPERMANENT/WIND != x ]
+ [ x = x ]
+ src=PERMANENT/WIND
+ shift
+ continue
+ [ x/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
!= x ]
+ [ xPERMANENT/WIND = x ]
+ :
+ dst=/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
+ shift
+ continue
+ [ x != x ]
+ [ xPERMANENT/WIND = x ]
+ true
+ [ x != x ]
+ [ -f PERMANENT/WIND -o -d PERMANENT/WIND ]
+ true
+ [ x/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
= x ]
+ true
+ [ -d /gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
]
+ true
+ + sed -e s,[^/]*$,,;s,/$,,;s,^$,.,
+ echo /gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
dstdir=/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT
+ [ ! -d /gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT
]
+ [ x != x ]
+ [ x = x ]
+ + basename /gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND
dstfile=WIND
+ [ xWIND = x ]
+ true
+ dsttmp=/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/#inst.3735728#
+ cp PERMANENT/WIND
/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/#inst.3735728#
/gpfs/home/neteler/software/grass-7.0.svn/install-sh[239]: : cannot execute
gmake[2]: *** [/gpfs/home/neteler/software/grass-7.0.svn/dist.powerpc-ibm-aix7.1.0.0/demolocation/PERMANENT/WIND]
Error 126
gmake[2]: Leaving directory
`/gpfs/home/neteler/software/grass-7.0.svn/demolocation'
...
Executing the cp command manually does not lead to this ":" error.
Any ideas?
thanks
Markus
More information about the grass-dev
mailing list