installing OK, but checking not OK

Brian Gough bjg@network-theory.co.uk
Fri Aug 25 10:46:00 GMT 2000


 > ...and 'make check` still gives me the error code mentioned above.
 > Should I ignore the problem for good and carry on using the GSL??

If the segmentation fault only occurs while running make check try
using the following command-line,

TESTS_ENVIRONMENT=gdb make check

which will run the test under gdb and should catch the error.

For example,

bjg|debian> TESTS_ENVIRONMENT=gdb make check
make  test
make[1]: Entering directory `/home/bjg/gsl/dht'
make[1]: `test' is up to date.
make[1]: Leaving directory `/home/bjg/gsl/dht'
make  check-TESTS
make[1]: Entering directory `/home/bjg/gsl/dht'
GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-pc-linux-gnu"...
(gdb) run
Starting program: /home/bjg/gsl/dht/./test 
PASS: Small Exact DHT
 ....
(gdb) bt
 ... backtrace information
 


More information about the Gsl-discuss mailing list