From: Dave.Thompson@SWFWMD.STATE.FL.US - 2003-02-24 15:49:29
|
I'm trying to compile htDig 3.1.6 on Tru64 and get the following error during the make: # /usr/local/bin/make make[1]: Entering directory `/apps/htdig-3.1.6/db/dist' gcc -c -O -I. -I./../include -Wno-deprecated ../btree/bt_compare.c gcc -c -O -I. -I./../include -Wno-deprecated ../btree/bt_conv.c gcc -c -O -I. -I./../include -Wno-deprecated ../btree/bt_curadj.c gcc -c -O -I. -I./../include -Wno-deprecated ../btree/bt_cursor.c ... c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I.. /htcommon -I../db/dist -I../include -Wno-deprecated String_fmt.cc c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I.. /htcommon -I../db/dist -I../include -Wno-deprecated URL.cc In file included from HtRegex.h:30, from HtRegexReplace.h:22, from HtRegexReplaceList.h:20, from HtURLRewriter.h:9, from URL.cc:16: gregex.h:394: conflicting types for `typedef int regoff_t' /usr/include/reg_types.h:49: previous declaration as `typedef off_t regoff_t' make[1]: *** [URL.o] Error 1 make[1]: Leaving directory `/apps/htdig-3.1.6/htlib' make: *** [all] Error 1 We're using gcc/g++ 3.2.1 and as stated in the FAQs, I used the following flags with the configure command: CXXFLAGS=-Wno-deprecated CPPFLAGS=-Wno-deprecated ./configure Any help to get around this and get htDig installed is appreciated. Dave -------------------------------------------------------------------------------- Dave Thompson Systems Administration Supervisor Southwest Florida Water Management District 7601 U.S. Highway 301 North, TDC/Building 2 Tampa, Florida 33637-6759 Voice: 813-985-7481 x2316 Fax: 813-987-6748 -------------------------------------------------------------------------------- *** IMPORTANT NOTICE *** All e-mail messages to/from the Southwest Florida Water Management District are public record, are archived, and are subject to public inspection and/or release. -------------------------------------------------------------------------------- |