isis configure issue on x86_64

From: Roderick Johnstone <rmj_at_email.domain.hidden>
Date: Fri, 05 Nov 2010 11:33:55 +0000
Hi

I'm seeing an issue with ./configure in isis 1.6.1-9 on Fedora 12 x86_64.

I have libslang.so.xx in /usr/lib64 and slang.h in /usr/include/slang. 
This is standard for a multilib system, I think.

If I do ./configure --prefix=/data/soft3 --with-headas=$HEADAS for 
example it reports finding the slang stuff:

checking for the slang library and header files ... yes:  and 
/usr/include/slang

but the make fails:

linux> make
cd src; make all
make[1]: Entering directory `/data/soft3/isis/isis-1.6.1-9/src'
gcc -g -O2  -fno-strength-reduce -Dunix -DISIS_SRC 
-I/data/soft3/isis/isis-1.6.1-9/src 
-I/data/soft3/heasoft/heasoft-6.10/x86_64-unknown-linux-gnu-libc2.11.2/include 
-I/usr/include/slang   -I/usr/include/slang 
/data/soft3/isis/isis-1.6.1-9/src/chkslang.c 
-Wl,-R/data/soft3/heasoft/heasoft-6.10/x86_64-unknown-linux-gnu-libc2.11.2/lib 
-L -lslang -o /data/soft3/isis/isis-1.6.1-9/src/objs/chkslang
/tmp/cc6WyJ19.o: In function `main':
/data/soft3/isis/isis-1.6.1-9/src/chkslang.c:60: undefined reference to 
`SLang_Version'
/data/soft3/isis/isis-1.6.1-9/src/chkslang.c:68: undefined reference to 
`SLang_Version'
collect2: ld returned 1 exit status
make[1]: *** [/data/soft3/isis/isis-1.6.1-9/src/objs/chkslang] Error 1
make[1]: Leaving directory `/data/soft3/isis/isis-1.6.1-9/src'
make: *** [all] Error 2

Whats happening, I think, is that the -L just before the -lslang (sorry 
for the poor wrapping) is causing the slang library not to be found.

I can fix this easily by adding --with-slanglib=/usr/lib64
but I wondered if you could fix this for the next release please.

Thanks

Roderick Johnstone
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Fri Nov 05 2010 - 10:34:29 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT