[GRASS-user] m.eigensystem segfaults under Jaunty (beta)

Nikos wrote:

I have recompiled latest grass6_devel using the
configuration copy-pasted in [2].

....

[2] CFLAGS="-g -Wall -O0" LDFLAGS="-s" ./configure \

LDFLAGS="-s" strips out the debugging messages from the final
code to make smaller binaries. Not wanted here.

also you can proably just leave out -O0.

--enable-debug \

I don't see anything about that listed in
  ./configure --help | less
so I don't think it actually does anything.

Hamish

Nikos:

> I have recompiled latest grass6_devel using the
> configuration copy-pasted in [2].
....
> [2] CFLAGS="-g -Wall -O0" LDFLAGS="-s" ./configure \

Hamish:

LDFLAGS="-s" strips out the debugging messages from the final
code to make smaller binaries. Not wanted here.

also you can proably just leave out -O0.

Both removed [1]. Recompiling now...

> --enable-debug \

I don't see anything about that listed in
  ./configure --help | less
so I don't think it actually does anything.

Hmmm... right. There is no description of it.
Probably "-g" and "--enable-debugging" are doing the same job (!?).
Maybe add that piece of info in grass-source/doc/debugging.txt?

...

I also tried without "-Wall". Again the same results (!?).

Cheers, Nikos
---

[1] CFLAGS="-g -Wall" ./configure \
--enable-64bit \
--with-libs=/usr/lib64 \
--with-cxx \
--with-freetype=yes \
--with-freetype-includes="/usr/include/freetype2/" \
--with-postgres=no \
--with-sqlite=yes \
--enable-largefile=yes \
--with-tcltk-includes="/usr/include/tcl8.4/" \
--with-freetype-includes=/usr/include/freetype2 \
--with-opengl-libs=/usr/include/GL \
--with-readline \
--with-python=yes \
--with-proj-share=/usr/local/share/proj/ \
--with-wxwidgets \
--with-cairo
# "Enter<-" to configure

[...]

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

  Source directory: /geo/osgeo/src/grass6_devel
  Build directory: /geo/osgeo/src/grass6_devel
  Installation directory: ${prefix}/grass-6.5.svn
  Startup script in directory: ${exec_prefix}/bin
  C compiler: gcc -g -Wall
  C++ compiler: c++ -g -O2
  Building shared libraries: yes
  64bit support: yes
  OpenGL platform: X11
[...]