Opened 20 years ago
Closed 20 years ago
#838 closed defect (worksforme)
make check fails without --enable-tests
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | build | Version: | 0.12.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
2) "make check" fails unless the magic flag "--enable-tests" is
supplied to ./configure
If I build using the ./configure specified above followed by "make",
then "make check" fails. It looks as if it's trying to find gsl in
the wrong place. the error is:
gcc -O0 -g -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -std=c99
-Wall -Werror -o .libs/tst_psAbort tst_psAbort.o
-L/array-2/tmp/lsst/pipelines/v1.0/lsstpipe/stdlibs/pslib-0.12.0/src
/array-2/tmp/lsst/pipelines/v1.0/lsstpipe/stdlibs/pslib-
0.12.0/src/.libs/libpslib.so
-L/array-2/tmp/lsst/local/lib -L/usr/lib/mysql -lmysqlclient -lcrypt
-lnsl -L/usr/lib -lssl -lcrypto -lcfitsio
/array-2/tmp/lsst/local/lib/libfftw3f.a /usr/lib/libgsl.so
/usr/lib/libgslcblas.so /usr/lib/libjpeg.so /usr/lib/libxml2.so -lz
-lpthread -lm -Wl,--rpath -Wl,/array-2/tmp/lsst/local/lib
gcc: /usr/lib/libgsl.so: No such file or directory
gcc: /usr/lib/libgslcblas.so: No such file or directory
If I build with --enable-tests then "make", "make check" and "make
install" all appear to work. But after that we come to the next bug...

Works for me with the latest version from CVS. Note that the build system has
been improved since 0.12.0.