[GRASS-dev] grass7 make install errors
Glynn Clements
glynn at gclements.plus.com
Sun Aug 17 15:26:50 EDT 2008
Andrew Danner wrote:
> I'm getting some make install errors in grass7 on ubuntu x64
>
> If I don't run with --with-nls, I get the following error. Can the makefile
> be modified to skip this step if nls is disabled (default)
>
> cd /home/adanner/packages/grass7/dist.x86_64-unknown-linux-gnu ; tar cBf -
> locale | (cd /usr/local/stow/grass7-svnAug2008//grass-7.0.svn ; tar xBf - )
> 2>/dev/null
> tar: locale: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors
My inclination is to just copy the entire dist.<arch> directory, i.e.
replace all of the individual "tar" commands with just:
-tar cBCf ${GISBASE} - . | tar xBCf ${INST_DIR} - 2>/dev/null
This won't care which subdirectories actually exist.
> I haven't been able to eliminate this error:
>
> sed
> 's#'/home/adanner/packages/grass7/dist.x86_64-unknown-linux-gnu'#'/usr/local/stow/grass7-svnAug2008//grass-7.0.svn'#g'
> /home/adanner/packages/grass7/dist.x86_64-unknown-linux-gnu/etc/monitorcap >
> /usr/local/stow/grass7-svnAug2008//grass-7.0.svn/etc/monitorcap
> sed: can't read
> /home/adanner/packages/grass7/dist.x86_64-unknown-linux-gnu/etc/monitorcap:
> No such file or directory
> make[1]: [real-install] Error 2 (ignored)
Right; the monitorcap file no longer exists.
[Since 7.x development took off, I haven't actually tried
"make install". Given that you're the first person to report this, it
appears that no-one else has, either.]
> Neither of these seem critical, but should I have a monitorcap?
No.
> I have a monitorcap in the grass6_devel build, but no locale, though
> 6.4 doesn't seem to look for a locale directory by default
I changed the top-level Makefile to treate locale as a normal
directory, so that it didn't get built every time that you run e.g.
"make DIRS=lib". locale/Makefile performs its own check that NLS is
actually enabled.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list