I have just downloaded htDig for my SGI/IRIX 6.5.3 machine.
I have installed the GNU C/C++ compiler from SGI Freeware and have attempted to follow the instructions. That is,
STEP ONE
STEP TWO
STEP THREE
Step One goes off with no problem. Step Two goes off for a few minutes before I experience a problem. It appears to be a problems with n32 versus o32 objects. Any suggestions?
Below is an excerpt of the last 50 or so lines of the make process...
=======================================================
: libht.a
c++ -c -DBIN_DIR=\"/opt/www/htdig/bin\" -DCOMMON_DIR=\"/opt/www/htdig/common\" -DCONFIG_DIR=\"/opt/www/htdig/conf\" -DDATABASE_DIR=\"/opt/www/htdig/db\" -DIMAGE_URL_PREFIX=\"/htdig\" -DPDF_PARSER=\"/usr/bin/acroread\" -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 DocumentDB.cc
c++ -c -DBIN_DIR=\"/opt/www/htdig/bin\" -DCOMMON_DIR=\"/opt/www/htdig/common\" -DCONFIG_DIR=\"/opt/www/htdig/conf\" -DDATABASE_DIR=\"/opt/www/htdig/db\" -DIMAGE_URL_PREFIX=\"/htdig\" -DPDF_PARSER=\"/usr/bin/acroread\" -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 DocumentRef.cc
c++ -c -DBIN_DIR=\"/opt/www/htdig/bin\" -DCOMMON_DIR=\"/opt/www/htdig/common\" -DCONFIG_DIR=\"/opt/www/htdig/conf\" -DDATABASE_DIR=\"/opt/www/htdig/db\" -DIMAGE_URL_PREFIX=\"/htdig\" -DPDF_PARSER=\"/usr/bin/acroread\" -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 WordList.cc
c++ -c -DBIN_DIR=\"/opt/www/htdig/bin\" -DCOMMON_DIR=\"/opt/www/htdig/common\" -DCONFIG_DIR=\"/opt/www/htdig/conf\" -DDATABASE_DIR=\"/opt/www/htdig/db\" -DIMAGE_URL_PREFIX=\"/htdig\" -DPDF_PARSER=\"/usr/bin/acroread\" -DSORT_PROG=\"/usr/bin/sort\" -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 defaults.cc
/usr/bin/ar rcv libcommon.a DocumentDB.o DocumentRef.o WordList.o defaults.o
a - DocumentDB.o
a - DocumentRef.o
a - WordList.o
a - defaults.o
: libcommon.a
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Endings.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 EndingsDB.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Exact.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Fuzzy.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Metaphone.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Soundex.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 SuffixEntry.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Synonym.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 htfuzzy.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Substring.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Prefix.cc
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Accents.cc
c++ -o htfuzzy -L../htlib -L../htcommon -L../db/dist -L/usr/lib Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o SuffixEntry.o Synonym.o htfuzzy.o Substring.o Prefix.o Accents.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a -lz -lnsl -lsocket
ld32: FATAL 12 : Expecting n32 objects: /usr/lib/libz.so is o32.
collect2: ld returned 4 exit status
*** Error code 1 (bu21)
*** Error code 1 (bu21)
=======================================================
**************************************************************************
DISCLAIMER
The contents of this e-mail are not necessarily the policy or
opinion or representative of any policy or opinion of the Authority
or any person employed by it. This transmission is intended only
for the named recipient(s) and is confidential in nature. If received
in error, please return it to the sender and destroy any copies
immediately.
**************************************************************************