[GRASS-user] problem with g.extension

Hi,
I'm trying to install an extension (v.mkhexgrid) using g.extension and after

g.extension extension=v.mkgrid

I get the following error message:

Fetching <v.mkhexgrid> from GRASS-Addons SVN (be patient)...
A v.mkhexgrid/description.html
A v.mkhexgrid/v.mkhexgrid
A v.mkhexgrid/Makefile
Checked out revision 44986.
Compiling <v.mkhexgrid>...
Makefile:5: /usr/lib/grass64/include/Make/Script.make: No such file or directory
make: *** No rule to make target `/usr/lib/grass64/include/Make/Script.make'. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.

I'm on ubuntu 10.04, grass 6.4 and my $GISBASE is /usr/lib/grass64
The directory /usr/lib/grass64/include/Make/ does exists (but it is empty).

Any help?

Saludos, EKS

--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701

2011/1/12 Eduardo Klein <eklein@usb.ve>:

I'm on ubuntu 10.04, grass 6.4 and my $GISBASE is /usr/lib/grass64
The directory /usr/lib/grass64/include/Make/ does exists (but it is empty).

missing grass-dev package.

Martin

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

Thanks, you're right. But still, after installing the missing package and fixing some permissions problems, I'm getting some errors. The first of them:

make[82]: Entering directory `/home/eklein/grassdata/usb/PERMANENT/.tmp/diodon/7414.0/v.mkhexgrid'
if [ "/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/scripts/v.mkhexgrid" != "" ] ; then GISRC=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/demolocation/.grassrc64 GISBASE=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu PATH="/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/bin:/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/lib:/usr/lib/grass64/lib" LC_ALL=C fakeroot /build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/scripts/v.mkhexgrid --html-description < /dev/null | grep -v '</body>\|</html>' > v.mkhexgrid.tmp.html ; true ; fi
ERROR: G_getenv(): Variable LOCATION_NAME not set

Any ideas?

Saludos, EKS

On 01/12/2011 11:57 AM, Martin Landa wrote:

2011/1/12 Eduardo Klein<eklein@usb.ve>:

I'm on ubuntu 10.04, grass 6.4 and my $GISBASE is /usr/lib/grass64
The directory /usr/lib/grass64/include/Make/ does exists (but it is empty).

missing grass-dev package.

Martin

--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701

Hi just stumbled upon your question while trying to find a way to install it
on 10.04 as well. Jumped through all the hoops to get onto this mailing list
to let you know what worked for me...

1. Download mkhexgrid-0.1.1-1.i386.rpm
2. $ sudo alien mkhexgrid-0.1.1-1.i386.rpm
3. Double click the generated .deb

Simple as that as long as you don't have 64bit of course, then you probably
still have to compile.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/problem-with-g-extension-tp5915051p6097132.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Wed, Jan 12, 2011 at 6:23 PM, Eduardo Klein <eklein@usb.ve> wrote:

Thanks, you're right. But still, after installing the missing package and
fixing some permissions problems, I'm getting some errors. The first of
them:

make[82]: Entering directory
`/home/eklein/grassdata/usb/PERMANENT/.tmp/diodon/7414.0/v.mkhexgrid'
if [ "/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/scripts/v.mkhexgrid"
!= "" ] ; then
GISRC=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/demolocation/.grassrc64

...

This is a packaging error as well as bug
http://trac.osgeo.org/grass/ticket/620
and perhaps also
http://trac.osgeo.org/grass/ticket/1180

A pity that it is still open after so much time.

Markus

Markus wrote:

and perhaps also
http://trac.osgeo.org/grass/ticket/1180

that one has a test-fix in 6.5svn, does it work if you try that version?

Hamish