Hi all
I just finished compiling htdig 3.1.5 under AIX.
But for compiling without error it is necessary to adapt the file
htdig/Retriever.cc like this :
in function : Retriever::GetLocal(char *url) I added this line
static String *defaultdoc = 0;
and in line 840 I modify the while like this :
while (String *defaultdoc = (String *)defaultdocs->Get_Next()) {
while (defaultdoc = (String *)defaultdocs->Get_Next()) {
in function : Retriever::GetLocalUser(char *url, StringList *defaultdocs) I
added this line
static String *defaultdoc = 0;
and in line 967 I modify the while like this :
while (String* defaultdoc = (String *)defaultdocs->Get_Next()) {
while (defaultdoc = (String *)defaultdocs->Get_Next()) {
Probably that the IBM compiler does not support declaration in a while
(strange no).
The other problem come when I start rundig, see below :
SrvT450: root# rundig -v -c /usr/local/conf/htdig.conf
DB2 problem...: /ef/gen/htdig/db/db.docdb: unexpected file format
htdig: Unable to open/create document database '/ef/gen/htdig/db/db.docdb'
htmerge: Unable to create temporary word file
'/ef/gen/htdig/db/db.wordlist.new'
DB2 problem...: /ef/gen/htdig/db/db.docdb: unexpected file format
SrvT450: root#
Any idee ?
Guy De Leeuw
EDP Manager
Eurofer ASBL
211, rue du noyer
1000, Bruxelles
Belgium
Phone : +32 (2) 738 79 40
Fax : +32 (2) 736 28 22
E-Mail : mailto:[EMAIL PROTECTED]
www : http://www.eurofer.org
_______________________________________________
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