[GRASS-user] grass7- problems caompiling
Markus Neteler
neteler at osgeo.org
Fri Jul 19 09:41:02 PDT 2013
On Fri, Jul 19, 2013 at 2:01 PM, António M. Rodrigues
<amcrgrodrigues at gmail.com> wrote:
> Hi,
>
> I recently downgraded from ubuntu 11.10 (on a macbookpro 8.1) to 12.04 LTS
> (on a samsung 900X3E) - kernel version: 3.5.0-36-generic
>
> On 11.10 I had grass7 running smoothly. On 12.04, after a frustrating night,
> I'm still not able to have it running.
>
> I followed instructions on
> http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS, with
> minor alternations....
>
> (yes, I do need 7 rather than 6.4.....)
...
> if run without sudo, returns:
> ./configure: 621: ./configure: cannot create ./config.log: Permission denied
You should compile as normal user, not root. In case the
Wiki instructions are wrong (dind't check). To fix above error, change the
file owner of config.log to your user from "root" user.
> -------------------------------------------
> make -j2 && sudo checkinstall && sudo ldconfig
...
> Errors in:
> /usr/local/src/grass7_trunk/scripts/v.krige
(this one you can ignore for now)
> --
> Finished compilation: Thu Jul 18 13:53:46 WEST 2013
> make: *** [default] Error 1
This will be caused by compiling as sudo (bad idea).
You need to take ownership for all files in the source directory.
> When I type grass70, it returns: "command not found".
It seems you did not run "[sudo] make install". hence the
start script is in
./bin.x86_64-unknown-linux-gnu/grass70
You can use GRASS from there, no need to install it if you are only
user on the machine.
hope that helps
Markus
More information about the grass-user
mailing list