[GRASSLIST:1250] Re: grass5b10 compile error

Markus Neteler neteler at geog.uni-hannover.de
Tue Dec 12 04:16:20 EST 2000


On Mon, Dec 11, 2000 at 03:40:26PM -0600, bob at math.umn.edu wrote:
> FYI ...
> 
> 
> bash# uname -a
> Linux piruz 2.2.17 #2 Sun Dec 10 03:26:52 CST 2000 i686 unknown
> bash# make install
> test -d /usr/local || mkdir -p -m 755 /usr/local
> test -d src/CMD/next_step || mkdir -p src/CMD/next_step
> test ! -f src/CMD/head/head || mv src/CMD/head/head src/CMD/head/head.i686-pc-linux-gnulibc1
> UNIX_BIN=/usr/local/bin SRC=/var/tmp/grass/grass5.0beta10 MAKE=make NAME_VER=5 GISBASE=/usr/local/grass5  MACHINENAME=`uname -n` /bin/sh src/CMD/generic/CREATE_GMAKE.sh i686-pc-linux-gnulibc1 /usr/local/bin
> /bin/sh /var/tmp/grass/grass5.0beta10/src/CMD/generic/is64bit.sh i686-pc-linux-gnulibc1
> Now proceed with make install
> GRASSSRC=/var/tmp/grass/grass5.0beta10/src GMAKE=/var/tmp/grass/grass5.0beta10/src/CMD/gmake5.0 HEADER=head.i686-pc-linux-gnulibc1 MAKE=make /bin/sh src/CMD/generic/GISGEN.sh
> GISBASE=/usr/local/grass5
> SRC=/var/tmp/grass/grass5.0beta10/src
> CMD=/var/tmp/grass/grass5.0beta10/src/CMD
> HEADER=head.i686-pc-linux-gnulibc1
> ARCH=i686-pc-linux-gnulibc1
> ####################################################################
> GISGEN                              Mon Dec 11 15:37:29 CST 2000
>  GISBASE = /usr/local/grass5
>  SRC     = /var/tmp/grass/grass5.0beta10/src
>  CMD     = /var/tmp/grass/grass5.0beta10/src/CMD
>  HEADER  = head.i686-pc-linux-gnulibc1
>  ARCH    = i686-pc-linux-gnulibc1
> 
> GISGEN failure: /usr/local/grass5 - directory doesn't exist
> make: *** [do-install] Error 1
> 
> 
> Run as root, I would have thought the makefile would create /usr/local/grass5
> on its own.  Doing mkdir /usr/local/grass5 seems to work.
> 
> Adios,
Hi Chris,

this is already fixed for the next release :-)
Of course the Makefile should have done the job.

Edit Makefile.in

add line 95
        test -d ${GISBASE} || ${INSTALL_DATA_DIR} ${GISBASE}

Then run
./configure
make install

(without problems)

Sorry for this inconvenience.

Markus




More information about the grass-user mailing list