From owner-freebsd-questions Tue Apr 1 11:50:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA24668 for questions-outgoing; Tue, 1 Apr 1997 11:50:52 -0800 (PST) Received: from popeye.remuda.com (fisbin.remuda.com [205.153.153.59]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA24654 for ; Tue, 1 Apr 1997 11:50:45 -0800 (PST) Received: from localhost (scotto@localhost) by popeye.remuda.com (8.6.12/8.6.12) with SMTP id LAA23215 for ; Tue, 1 Apr 1997 11:45:55 -0800 Date: Tue, 1 Apr 1997 11:45:55 -0800 (PST) From: Scott Overholser To: questions@freebsd.org Subject: HylaFAX broken on 2.2.0-R? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've been experiencing problems installing HylaFAX 4.0pl1 on a FreeBSD 2.2.0-R system. The configure /bin/sh script generates makefiles based on information it gathers about the system on which it is run. The problem is that configure does not work properly on 2.2.0-R. Fer instance, there are two functions defined called CheckForLibrary() and CheckForIncludeFile() that attempt to compile small bits of code. These functions are called to determine whether or not the system supports SGI RGB images (among other things). configure generates a log file which clearly shows the compiles failing. Somehow, configure thinks it succeeds. I've done some sanity checking on 2.1.7-R. Everything is just peachy. I've searched the HylaFAX archives as well as the FreeBSD archives. It doesn't appear that this issue is being discussed. I've reproduced it on two different 2.2.0-R systems. I'm not a shell script guru but this one looks okay to me. Is /bin/sh behaving strangely? Or, perhaps make? I've included snippets of the configure shell script and corresponding logfile below. Ideas? Suggestions? btw: the tiff library required for HylaFAX has a similar configure shell script that behaves the same way. thanks, -scotto ---------->%snip>%---------- CheckForLibrary() { f=$1; shift libs="$@"; cat>t.c<t.c runMake t "t:; ${CCOMPILER} ${ENVOPTS} -E t.c" } if [ "$LIBIMAGE" = auto ]; then if CheckForLibrary iopen -limage && CheckForIncludeFile gl/image.h; then Note "Looks like there is support for SGI RGB images." LIBIMAGE=yes else LIBIMAGE=no fi ---------->%snip>%---------- ---------->%snip>%---------- + eval set -x; make -f confMakefile t + set -x + make -f confMakefile t /usr/bin/gcc t.c -limage ld: -limage: no match *** Error code 1 Stop. + eval set -x; make -f confMakefile t + set -x + make -f confMakefile t /usr/bin/gcc -E t.c t.c:1: gl/image.h: No such file or directory # 1 "t.c" *** Error code 1 Stop. ---------->%snip>%----------