According to Darryl Friesen: > I'm trying to get htdig running on our new Solaris 8 box, with little > success. I've tried both htdig-3.1.6-120901 and htdig-3.2.0b4-120901 using > gcc 3.0.2. In looking through the mailing list archives, it seems I'm > running across the same errors that Mark T. Valites had back in > October/November with 3.1.6 and 3. (thread from archive is here: > http://www.geocrawler.com/mail/thread.php3?subject=%5Bhtdig%5D+compile+fails > +on+solaris+8&list=8822) > > It seemed he had old headers floating around on his system. Is there a good > way to tell if that's the case? I built gcc 3.0.2 from scratch; I didn't > use a precompiled package. A find on stdio.h (because 'make' complains > about snprintf which according to the man page is in stdio.h) turns up the > following: > > -rw-r--r-- 1 root 11480 Nov 20 14:36 > /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.2/include/stdio.h > -rw-r--r-- 1 root 2977 Nov 20 15:38 > /usr/local/include/g++-v3/c_shadow/stdio.h > -rw-r--r-- 1 root 11066 Jan 5 2000 /usr/include/stdio.h > -rw-r--r-- 1 root 8393 Jan 5 2000 /usr/ucbinclude/stdio.h > > I don't know if that's normal or not. > > I've included exactly what make spits out below. I'd appreciate any help at > all, even if it's to point out something obviously stupid that I'm doing. > > Thanks, > > - Darryl > > > [corndog]# make > Making all in db > make[1]: Entering directory `/work/source/htdig-3.2.0b4-120901/db' > /bin/sh ./libtool --mode=compile > gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -I/usr/include > -g -O2 -Wall -c db_err.c > gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -I/usr/include -g > -O2 -Wall -Wp,-MD,.deps/db_err.pp -c db_err.c -o db_err.o
I think someone suggested the -I/usr/include as the culprit. For some reason, the configure script in 3.2 adds this to the compiler flags in the Makefile, but it messes up the default search order for system header files. Try removing it from the flags in your Makefile and see if that fixes the problem. We'll need to figure out how to get the configure script to stop doing this. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

