[GRASS-dev] grass7/0_trunk/release fail to start

Nikos Alexandris nik at nikosalexandris.net
Thu May 8 01:56:32 PDT 2014


Nikos Alexandris:

>> A fresh, (make dist)clean(ed) and error-free configured & compiled
>> grass7_trunk  under Funtoo (3.12.18-KS.01) won't launch:
>>
>> # /osgeo/grass70_release/bin.x86_64-unknown-linux-gnu $ ./grass70

Markus Neteler:

> Do you use trunk or release branch?

>> /usr/bin/python2.7: can't open file
>> 
>> '/osgeo/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/gui/wxpython/gis_set.py':
>> [Errno 2] No such file or directory
>> Received EXIT message from GUI.
>>
>> # /osgeo/grass70_release/bin.x86_64-unknown-linux-gnu $ ./grass70 
>> -text
>
> To me it looks like you have a mixed version of trunk and relbr70...

I have downloaded both and tested both separately. The configuration 
and compilation is done in the respective source directories separately, 
i.e.: grass70_release and grass7_trunk as downloaded per svn.  Trying to 
be as clean as possible, I wiped out grass7_trunk and kept only grass70 
on-disk. I make a simple configuration

# in grass70_release directory
make distclean
./configure --with-freetype-includes="/usr/include/freetype2/"

..

GRASS is now configured for:  x86_64-unknown-linux-gnu

   Source directory:           /osgeo/grass70_release
   Build directory:            /osgeo/grass70_release
   Installation directory:     ${prefix}/grass-7.0.0svn
   Startup script in directory:${exec_prefix}/bin
   C compiler:                 gcc -g -O2
   C++ compiler:               c++ -g -O2
   Building shared libraries:  yes
   OpenGL platform:            X11

   MacOSX application:         no
   MacOSX architectures:
   MacOSX SDK:

   BLAS support:               no
   C++ support:                yes
   Cairo support:              yes
   DWG support:                no
   FFMPEG support:             no
   FFTW support:               yes
   FreeType support:           yes
   GDAL support:               yes
   GEOS support:               no
   LAPACK support:             no
   Large File support (LFS):   yes
   libLAS support:             no
   MySQL support:              no
   NetCDF support:             no
   NLS support:                no
   ODBC support:               no
   OGR support:                yes
   OpenCL support:             no
   OpenGL support:             yes
   OpenMP support:             no
   PNG support:                yes
   POSIX thread support:       no
   PostgreSQL support:         no
   Readline support:           no
   Regex support:              yes
   SQLite support:             no
   TIFF support:               yes
   wxWidgets support:          no
   X11 support:                yes

# compile
make -j5

..

Started compilation: Thu May  8 11:50:16 EEST 2014
--
Errors in:
No errors detected.
--
Finished compilation: Thu May  8 11:54:11 EEST 2014

# launch grass
/osgeo/grass70_release/bin.x86_64-unknown-linux-gnu $ ./grass70 
/geo/grassdb/wgs84/PERMANENT/

WELCOME TO GRASS 7.0.0svn

    1) Have at your side all available GRASS GIS tutorials

    2) When working on your location, the following materials
       are extremely useful:
       - A topographic map of your area
       - Current catalog of available computer maps

    3) Check the GRASS GIS web pages for supporting mailing lists and 
more:
       http://grass.osgeo.org

Hit RETURN to continue
Starting GRASS GIS...
Traceback (most recent call last):
   File "./grass70", line 1386, in <module>
     check_lock()
   File "./grass70", line 857, in check_lock
     ret = call([gfile("etc", "lock"), lockfile, "%d" % os.getpid()])
   File "./grass70", line 154, in call
     return subprocess.call(cmd, **kwargs)
   File "/usr/lib64/python2.7/subprocess.py", line 522, in call
     return Popen(*popenargs, **kwargs).wait()
   File "/usr/lib64/python2.7/subprocess.py", line 709, in __init__
     errread, errwrite)
   File "/usr/lib64/python2.7/subprocess.py", line 1326, in 
_execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory


Same error again.  I must have something wrong with my local 
configuration (all this in a new machine).  In my other Funtoo-box, I 
don't remember having done something differently. For example, I didn't 
need to setup anything in ld.so.conf.


More information about the grass-dev mailing list