[GRASS5] Re: [GRASSLIST:3695] Grass5.0.0pre4's 'make install' dies looking for dist.X/locale

Glynn Clements glynn.clements at virgin.net
Tue May 21 12:33:27 EDT 2002


[On GRASSLIST] H. Bowman wrote:

> Grass5.0.0pre4 is out apparently.
> 
> Kudos to all. Time to beat on the new shape file importers.. :)
> The configure summary is a nice touch.
> 
> 
> Configured it (with everything but NLS support), compiled it. No errors. 
> Upon 'make install', it hums though until it gets to this:
> 
> test -d /usr/src/grass5source/grass5.0.0pre4/dist.i686-pc-linux-gnu/locale 
> &&
>   /bin/sh -c "cd 
> /usr/src/grass5source/grass5.0.0pre4/dist.i686-pc-linux-gnu ;
>   tar cBf - locale | (cd /usr/local/grass5 ; tar xBf - ) 2>/dev/null ; 
> true"
> make[1]: *** [real-install] Error 1
> make[1]: Leaving directory `/usr/src/grass5source/grass5.0.0pre4'
> make: *** [install] Error 2
> 
> 
> Trouble is, there is no ./dist.X/locale directory.

We need to release an update. This bug is probably going to bite
*most* users, as NLS is disabled by default. The net result is that
the following section of the "install" target won't get executed:

	${SHELL} -c "cd ${GISBASE} ; tar cBf - man | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
	${SHELL} -c "cd ${GISBASE} ; tar cBf - include | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
	${SHELL} -c "cd ${GISBASE} ; tar cBf - lib | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null ; true"
	${SHELL} -c "$(INSTALL) ${GISBASE}/dev/create_fifos.sh ${INST_DIR}/dev ; true"
	if [ ${XDRIVER} = fifo ] ; then \
		${SHELL} -c "${SHELL} ${SRCDIR}/src/scripts/shells/create_fifos.sh ${INST_DIR} 2>/dev/null ; true"; \
	fi
	${SHELL} -c "sed 's#'${GISBASE}'#'${INST_DIR}'#g' ${GISBASE}/etc/monitorcap > ${INST_DIR}/etc/monitorcap ; true"
	${SHELL} -c "chmod -R 1777 ${INST_DIR}/locks 2>/dev/null ; true"
	${SHELL} -c "chmod -R a+rX ${INST_DIR} 2>/dev/null ; true"

The bit regarding monitorcap and the final chmod could be critical.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list