[GRASS-dev] Problem installing r.modis on trunk

Hi,

I'm having a wee problem trying to compile r.modis on the trunk
version of GRASS. It does not seem to compile the pymodis library if
I'm getting that right:

GRASS 7.0.svn (eda-rsr):~ > g.extension ext=r.modis
Fetching <r.modis> from GRASS-Addons SVN (be patient)...
WARNING: gnome-keyring:: couldn't connect to:
/tmp/keyring-CTEtVP/pkcs11: No such file or directory
Compiling...
/bin/sh: 1: cannot create
/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c:
Directory nonexistent
sed: couldn't flush stdout: Broken pipe
make[1]: [/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c]
Error 2 (ignored)
/bin/sh: 1: cannot create
/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.import_to_translate.c:
Directory nonexistent
sed: couldn't flush stdout: Broken pipe
make[1]: [/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.import_to_translate.c]
Error 2 (ignored)
Installing...
Updating metadata file...
Installation of <r.modis> successfully finished
GRASS 7.0.svn (eda-rsr):~ > r.modis.import
ERROR: modis library not found

Is that a bug?

Cheers,

Pierre

--
Scientist
Landcare Research, New Zealand

Hi,

2013/10/8 Pierre Roudier <pierre.roudier@gmail.com>:

I'm having a wee problem trying to compile r.modis on the trunk
version of GRASS. It does not seem to compile the pymodis library if
I'm getting that right:

[...]

Is that a bug?

seems like that. Please report it. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Tue, Oct 8, 2013 at 4:46 AM, Pierre Roudier <pierre.roudier@gmail.com> wrote:

Hi,

I'm having a wee problem trying to compile r.modis on the trunk
version of GRASS. It does not seem to compile the pymodis library if
I'm getting that right:

On Fedora 19 no problem:

GRASS 7.0.svn (nc_basic_spm_grass7):~ > g.extension r.modis
Fetching <r.modis> from GRASS-Addons SVN (be patient)...
Compiling...
Installing...
Updating metadata file...
Installation of <r.modis> successfully finished

GRASS 7.0.svn (eda-rsr):~ > g.extension ext=r.modis
Fetching <r.modis> from GRASS-Addons SVN (be patient)...
WARNING: gnome-keyring:: couldn't connect to:
/tmp/keyring-CTEtVP/pkcs11: No such file or directory
Compiling...
/bin/sh: 1: cannot create
/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c:
Directory nonexistent

Does at least /usr/local/grass-7.0.svn/locale/ exist?

Markus

Hi,

···

On Tue, Oct 8, 2013 at 9:13 AM, Markus Neteler <neteler@osgeo.org> wrote:

On Tue, Oct 8, 2013 at 4:46 AM, Pierre Roudier <pierre.roudier@gmail.com> wrote:

Hi,

I’m having a wee problem trying to compile r.modis on the trunk
version of GRASS. It does not seem to compile the pymodis library if
I’m getting that right:

On Fedora 19 no problem:

I confirm Pierre’s problem, with slightly different messages (Red Hat):

Fetching <r.modis> from GRASS-Addons SVN (be patient)…
Compiling…
/bin/sh: /space/gis/grass_trunk/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c: No such file or directory
sed: couldn’t flush stdout: Broken pipe
make[1]: [/space/gis/grass_trunk/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c] Error 1 (ignored)
/bin/sh: /space/gis/grass_trunk/grass-7.0.svn/locale/scriptstrings/r.modis.import_to_translate.c: No such file or directory
sed: couldn’t flush stdout: Broken pipe
make[1]: [/space/gis/grass_trunk/grass-7.0.svn/locale/scriptstrings/r.modis.import_to_translate.c] Error 1 (ignored)
Installing…
Updating metadata file…
Installation of <r.modis> successfully finished

GRASS 7.0.svn (eda-rsr):~ > g.extension ext=r.modis
Fetching <r.modis> from GRASS-Addons SVN (be patient)…
WARNING: gnome-keyring:: couldn’t connect to:
/tmp/keyring-CTEtVP/pkcs11: No such file or directory
Compiling…
/bin/sh: 1: cannot create
/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c:
Directory nonexistent

Does at least /usr/local/grass-7.0.svn/locale/ exist?

In my case it does.

HTH,

madi

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

On Tue, Oct 8, 2013 at 9:45 AM, Margherita Di Leo
<dileomargherita@gmail.com> wrote:

On Tue, Oct 8, 2013 at 9:13 AM, Markus Neteler <neteler@osgeo.org> wrote:

> /usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c:
> Directory nonexistent

Does at least /usr/local/grass-7.0.svn/locale/ exist?

So this one is missing?
/space/gis/grass_trunk/grass-7.0.svn/locale/scriptstrings/

(that should be easy to fix in g.extension)

Markus

Markus,

···

On Tue, Oct 8, 2013 at 12:08 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Tue, Oct 8, 2013 at 9:45 AM, Margherita Di Leo
<dileomargherita@gmail.com> wrote:

On Tue, Oct 8, 2013 at 9:13 AM, Markus Neteler <neteler@osgeo.org> wrote:

/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c:
Directory nonexistent

Does at least /usr/local/grass-7.0.svn/locale/ exist?

So this one is missing?
/space/gis/grass_trunk/grass-7.0.svn/locale/scriptstrings/

Yes I confirm that one is missing.

Another strange fact that might be of interest: the r.modis folder is download in:
/space/gis/grass_trunk/grass-7.0.svn/

Is it the expected behavior?

Thanks,

madi

Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.

Hi,

On Fedora 19 no problem:

GRASS 7.0.svn (nc_basic_spm_grass7):~ > g.extension r.modis
Fetching <r.modis> from GRASS-Addons SVN (be patient)...
Compiling...
Installing...
Updating metadata file...
Installation of <r.modis> successfully finished

Forgot to mention that I'm running Ubuntu 12.04.2.

/usr/local/grass-7.0.svn/locale/scriptstrings/r.modis.download_to_translate.c:
Directory nonexistent

Does at least /usr/local/grass-7.0.svn/locale/ exist?

It does not - the correct path would be
/usr/local/src/grass7_trunk/locale/scriptstrings.

I am opening a bug in the trac,

Pierre

--
Scientist
Landcare Research, New Zealand