sorry to answer my own question. The snapshot (20030810) i download did not include the file htconfig.h, but you can just simply copy the config.h to htconfig.h at the same directory, they are the same file. For the " -Wno-deprecated" error, please refer the the FAQ 3.8.
Does anyone know whether the Berkeley database created by my htdig can exceed 2Gb if i don't want to really index over 2Gb data? Cheers Martin > >Hi > >I am trying to install the latest snapshot of htdig3.2.0b4 on an SUN Solaris system, >running OS 5.8 with GNU make 3.79.1 and gcc 3.2.1, but i get stuck by the following >error , hope someone can help me. > >./configure --prefix=/.../htdig3.2 \ --disable-shared \ --bindir=/.../htdig3.2/bin >......... -- no errors at this stage >gmake >------------------------------------------------------------------------- >. >. >Making all in db >gmake[1]: Entering directory `/home/cspserch/htDig/htdig-3.2.0b4-20030810/db' >gmake all-am >gmake[2]: Entering directory `/home/cspserch/htDig/htdig-3.2.0b4-20030810/db' >gmake[2]: Leaving directory `/home/cspserch/htDig/htdig-3.2.0b4-20030810/db' >gmake[1]: Leaving directory `/home/cspserch/htDig/htdig-3.2.0b4-20030810/db' >Making all in htlib >gmake[1]: Entering directory `/home/cspserch/htDig/htdig-3.2.0b4-20030810/htlib' >/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -DD >EFAULT_CONFIG_FILE=\"/home/cspserch/htDig/htdig3.2/conf/htdig.conf\" -I../includ >e -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -g -O2 -W >all -fno-rtti -fno-exceptions -c -o Configuration.lo `test -f 'Configuration.cc' > || echo './'`Configuration.cc > g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/home/cspserch >/htDig/htdig3.2/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcomm >on -I../htword -I../db -I../db -g -O2 -Wall -fno-rtti -fno-exceptions -c Configu >ration.cc -o Configuration.o >Configuration.cc:20:22: htconfig.h: No such file or directory >In file included from lib.h:20, > from Object.h:19, > from Dictionary.h:21, > from Configuration.h:107, > from Configuration.cc:24: >clib.h:45: declaration of C function `int vsnprintf(char*, unsigned int, const > char*, ...)' conflicts with >/usr/include/stdio.h:227: previous declaration `int vsnprintf(char*, unsigned > int, const char*, void*)' here >In file included from /opt/apps/pkgs/gcc3.2.1/include/c++/3.2.1/backward/iostrea >m.h:31, > from htString.h:28, > from Dictionary.h:22, > from Configuration.h:107, > from Configuration.cc:24: >/opt/apps/pkgs/gcc3.2.1/include/c++/3.2.1/backward/backward_warning.h:32:2: warn >ing: #warning This file includes at least one >deprecated or antiquated header. P >lease consider using one of the 32 headers found in section 17.4.1.2 of the C++ >standard. Examples include substituting the <X> header for the <X.h> header for >C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To di >sable this warning use -Wno-deprecated. >gmake[1]: *** [Configuration.lo] Error 1 >gmake[1]: Leaving directory `/home/cspserch/htDig/htdig-3.2.0b4-20030810/htlib' >gmake: *** [all-recursive] Error 1 >------------------------------------------------------------------------ > > >Besides, will the database file size used by htdig be limited to 2Gb in my case?. I >know the ext2 file system is a problem. Are there anything i need to check? > >thanks in advance >Martin >========================================================================================== >�ǭ^�y/���q�� ���F6000����U - >http://oascentral.sina.com.hk/RealMedia/ads/click_lx.ads/hk.sina.com/clickscommand/1234/Bottom1/Sina.com/HK_Lingua_0803_MailB_Text/textlink.gif/1 >�s���u�T���s�� �̷s����a�n�I - >http://rd.sina.com.hk/sms/mail-footer/sms.sina.com.hk/cgi-bin/showringtone.cgi >�s���j�M���s���X�A�j�M��֧�ǡI- >http://redirection.sina.com.hk/google/mail-google/www.sina.com.hk > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >ht://Dig general mailing list: <[EMAIL PROTECTED]> >ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html >List information (subscribe/unsubscribe, etc.) >https://lists.sourceforge.net/lists/listinfo/htdig-general >. > ========================================================================================== �ǭ^�y/���q��, ���p���,�ۥѦۦb - http://oascentral.sina.com.hk/RealMedia/ads/click_lx.ads/hk.sina.com/clickscommand/1234/Bottom1/Sina.com/HK_Lingua_0803_MailB_Text/textlink.gif/1 �s���u�T���s�� �̷s����a�n�I - http://rd.sina.com.hk/sms/mail-footer/sms.sina.com.hk/cgi-bin/showringtone.cgi �s���j�M���s���X�A�j�M��֧�ǡI - http://redirection.sina.com.hk/google/mail-google/www.sina.com.hk ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

