[GRASS-dev] grass7 make install errors

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

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)

Neither of these seem critical, but should I have a monitorcap? 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

svn info
Revision: 32838

cat my_grass70_configure
#CXXFLAGS=‘-g -O2 -D_LARGE_FILE_SOURCE -D_FILE_OFFSET_BITS=64’
#CFLAGS=‘-g -O2 -D_LARGE_FILE_SOURCE -D_FILE_OFFSET_BITS=64’
./configure --prefix=/usr/local/stow/grass7-svnAug2008/
–without-postgres --with-cxx --enable-largefile
–with-tcltk-includes=/usr/include/tcl8.4
–with-python=/usr/bin/python2.5-config
–with-proj-share=/usr/share/proj
–with-freetype
–with-freetype-includes=/usr/include/freetype2
–with-cairo
–enable-64bit
–with-wxwidgets=/usr/bin/wx-config
–with-sqlite

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@gclements.plus.com>

On Sun, Aug 17, 2008 at 9:26 PM, Glynn Clements
<glynn@gclements.plus.com> wrote:
...

[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.]

Just as note: for many years I no longer use "make install" (too lazy
as not needed). Perhaps I/we should do from time to time :slight_smile:

Markus