[GRASS-dev] problem compiling grass 7 on ubuntu 8.04 (ctypes)

Margherita Di Leo diregola at gmail.com
Mon May 17 15:45:25 EDT 2010


Hi developers,

I tried to compile grass 7 on Ubuntu 8.04 64bit. I have an error in:
/usr/local/grass_trunk/lib/python

So I change into the directory and run make:

/usr/local/grass_trunk/lib/python# make
make -C ctypes
make[1]: Entering directory `/usr/local/grass_trunk/lib/python/ctypes'
make
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib
make[2]: Entering directory `/usr/local/grass_trunk/lib/python/ctypes'
make[2]:
`/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib'
is up to date.
make[2]: Leaving directory `/usr/local/grass_trunk/lib/python/ctypes'
make date.py grass.py raster.py gmath.py proj.py imagery.py vector.py
display.py stats.py dbmi.py g3d.py arraystats.py cluster.py trans.py
vedit.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/date.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/grass.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/raster.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/gmath.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/proj.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/imagery.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/vector.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/display.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/stats.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/dbmi.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/g3d.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/arraystats.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/cluster.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/trans.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/vedit.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/__init__.py
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/date.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/grass.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/raster.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/gmath.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/proj.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/imagery.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/vector.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/display.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/stats.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/dbmi.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/g3d.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/arraystats.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/cluster.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/trans.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/vedit.pyc
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/etc/python/grass/lib/__init__.pyc
make[2]: Entering directory `/usr/local/grass_trunk/lib/python/ctypes'
ctypesgen.py -I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include
-I/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include
-L/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib
-L/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/lib -lgrass_datetime
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include/grass/datetime.h
/usr/local/grass_trunk/dist.x86_64-unknown-linux-gnu/include/grass/P_datetime.h
-o date.py
make[2]: ctypesgen.py: Command not found
make[2]: *** [date.py] Error 127
make[2]: Leaving directory `/usr/local/grass_trunk/lib/python/ctypes'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/grass_trunk/lib/python/ctypes'
make: *** [default] Error 2

The ctypes is installed by synaptic. I also tried to run make in the
directory /usr/local/grass_trunk/lib/python/ctypes (there is the makefile).

The error is:

make[1]: ctypesgen.py: Command not found
make[1]: *** [date.py] Error 127
make[1]: Leaving directory `/usr/local/grass_trunk/lib/python/ctypes'
make: *** [default] Error 2

Any idea? What's the problem?

In the same machine I have grass 6.5 svn as well, and it works fine.

Thank you in advance

Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100517/6c4c4645/attachment-0001.html


More information about the grass-dev mailing list