[GRASS-dev] Re: [GRASS GIS] #367: g.region segmentation violation when creating EPSG:4326 location

GRASS GIS trac at osgeo.org
Tue Nov 18 11:25:42 EST 2008


#367: g.region segmentation violation when creating EPSG:4326 location
----------------------+-----------------------------------------------------
  Reporter:  epatton  |       Owner:  grass-dev at lists.osgeo.org   
      Type:  defect   |      Status:  new                         
  Priority:  major    |   Milestone:  6.4.0                       
 Component:  default  |     Version:  svn-develbranch6            
Resolution:           |    Keywords:  g.region, segmentation fault
  Platform:  Linux    |         Cpu:  x86-64                      
----------------------+-----------------------------------------------------
Comment (by epatton):

 Thanks. I've removed the Ubuntu versions of geos, proj and gdal, and
 compiled each of those from source. No errors during configure or make for
 any of them.

 Grass configure proceeds fine, and I can confirm that proj and gdal are
 installed. I get a ton of make errors, with about 30 modules failing. The
 first in the error.log is /usr/local/grass6_devel/lib/proj; here's the
 error I get when I change to this directory and run make clean and then
 'make':


 {{{
 /usr/bin/ld: /usr/local/lib/libgdal.a(cpl_conv.o): relocation R_X86_64_32S
 against `std::basic_string<char, std::char_traits<char>,
 std::allocator<char> >::_Rep::_S_empty_rep_storage' can not be used when
 making a shared object; recompile with -fPIC
 /usr/local/lib/libgdal.a: could not read symbols: Bad value
 collect2: ld returned 1 exit status
 make: *** [/usr/local/grass6_devel/dist.x86_64-unknown-linux-
 gnu/lib/libgrass_gproj.6.4.svn.so] Error 1
 }}}

 Here is the Grass configure statement:

 {{{
 CFLAGS="-g -Wall -fPIC"
 ./configure  \
 --enable-64bit \
 --with-libs=/usr/lib64 \
 --with-tcltk-includes=/usr/include/tcl8.5 \
 --without-postgres \
 --with-sqlite \
 --with-sqlite-includes=/usr/include \
 --with-freetype \
 --with-freetype-includes=/usr/include/freetype2 \
 --with-readline \
 --with-cxx \
 --with-gdal \
 --with-gdal-includes=/usr/local/include \
 --enable-largefile \
 --with-proj \
 --with-proj-share=/usr/local/share/proj \
 --with-proj-lib=/usr/local/lib \
 --with-fftw \
 --with-fftw-includes=/usr/include \
 --with-fftw-libs=/usr/lib \
 --with-python \
 --with-opengl \
 --with-opengl-includes=/usr/include/GL \
 --with-python=yes \
 --with-python-includes=/usr/bin/ \
 --with-wxwidgets=yes \
 --with-cairo \
 }}}

 ~ Eric.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/367#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list