[GRASS-dev] Compiling grass7_trunk in Funtoo
Markus Metz
markus.metz.giswork at gmail.com
Sun Jul 7 01:55:54 PDT 2013
On Sun, Jul 7, 2013 at 10:25 AM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
> Hi devs!
>
> Hope that some advanced Gentoo user is tuned-in. I am trying to compile
> grass7_trunk in Funtoo. I managed to get a clean configuration of almost
> everything required (except for LAPACK, BLAS and FFMPEG, all of which, if
> I am no miss-taking, are not required).
You can check for optional functionality with ./configure --help.
AFAIK, BLAS and LAPACK are not used.
>
> The compilation ends-up like:
>
> --%<---
> Started compilation: Sun Jul 7 10:24:41 EEST 2013
> --
> Errors in:
> /osgeo/src/grass7_trunk/lib/python/ctypes
> /osgeo/src/grass7_trunk/db/drivers/ogr
> /osgeo/src/grass7_trunk/db/drivers/dbf
> /osgeo/src/grass7_trunk/db/drivers/postgres
> /osgeo/src/grass7_trunk/db/drivers/sqlite
> /osgeo/src/grass7_trunk/db/drivers/odbc
> /osgeo/src/grass7_trunk/db/drivers/mysql
> /osgeo/src/grass7_trunk/gui/wxpython/vdigit
> /osgeo/src/grass7_trunk/gui/wxpython/mapswipe
> /osgeo/src/grass7_trunk/gui/wxpython/rlisetup
> /osgeo/src/grass7_trunk/gui/wxpython/animation
> /osgeo/src/grass7_trunk/gui/wxpython/dbmgr
> /osgeo/src/grass7_trunk/gui/wxpython/psmap
> /osgeo/src/grass7_trunk/gui/wxpython/iclass
> /osgeo/src/grass7_trunk/gui/wxpython/gmodeler
> /osgeo/src/grass7_trunk/man
> --
> In case of errors please change into the directory with error and run
> 'make'.
Please note that...
> If you get multiple errors, you need to deal with them in the order they
> appear in the error log. If you get an error building a library, you will
> also get errors from anything which uses the library.
> --
> Finished compilation: Sun Jul 7 10:25:27 EEST 2013
> make: *** [default] Error 1
> --->%--
>
>
> Running make inside some of the above mentioned directories,
You should really start with the first error
> tells that
> some script was denied permissions to execute. I think it is a
> Gentoo/Funtoo thing and has nothing to do with GRASS or missing
> dependencies.
>
> For example,
>
> --%<---
> /osgeo/src/grass7_trunk/db/drivers/ogr $ make
>
> VERSION_NUMBER=7.0.svn /osgeo/src/grass7_trunk/dist.x86_64-unknown-
> linux-gnu/tools/g.html2man.py /osgeo/src/grass7_trunk/dist.x86_64-
> unknown-linux-gnu/docs/html/grass-ogr.html
> /osgeo/src/grass7_trunk/dist.x86_64-unknown-linux-
> gnu/docs/man/man1/grass-ogr.1
> /bin/sh: /osgeo/src/grass7_trunk/dist.x86_64-unknown-linux-
> gnu/tools/g.html2man.py: Permission denied
Check the permissions of
/osgeo/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/tools/g.html2man.py
>
> or
>
> --%<---
> nik at localhost /osgeo/src/grass7_trunk/gui/wxpython/vdigit $ make
>
> [..]
> /bin/sh: /osgeo/src/grass7_trunk/dist.x86_64-unknown-linux-
> gnu/scripts/g.gui.vdigit: Permission denied
Check the permissions of
/osgeo/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/scripts/g.gui.vdigit
Compilation should be done as normal user, not root. That means that
the source should be obtained and copied to its current location as
normal user. Maybe that helps.
Markus M
More information about the grass-dev
mailing list