htdig: making ht://Dig 3.1.0b1 in Digital Unix 4.0D


Michael Boer (boerm@u.washington.edu)
Wed, 23 Sep 1998 15:43:16 -0700 (PDT)


There have been a few questions on making ht://Dig in Digital Unix
recently, but no answers. Since I'm now in the position of wanting to
do this, I will share a few observations, hoping that someone will find
sense and a solution in what is a mystery to me.

I have fresh installations of gcc 2.8.1, gmake 3.77, libstdc++ 2.8.1
(with the libg++ 2.8.1.1a compatibility thing), and I have compiled c++
in what I believe is the recommended fashion.

Since the normal ht://Dig make process fails, I've tried to approach it
a step at a time.

The first oddity to show up is that the Makefile in db-2.4.14/build.unix
uses cc despite the fact that gcc is found by configure. Nevertheless,
if I cd into db-2.4.14/build.unix and run gmake, cc makes executables,
and 'gmake install' puts them and man pages where they belong.

So next I've gone into the htdig directory, and here is what gmake
produces there -- watch for the collect2 message at the end:

/usr/local/work/htdig-3.1.0b1/htdig> gmake clean
rm -f htdig Document.o HTML.o Images.o Parsable.o Plaintext.o
Postscript.o Retriever.o SGMLEntities.o Server.o URLRef.o main.o
ExternalParser.o PDF.o *~ *.bak *% a.out *.orig core
/usr/local/work/htdig-3.1.0b1/htdig> gmake
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Document.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
HTML.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Images.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Parsable.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Plaintext.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Postscript.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Retriever.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
SGMLEntities.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
Server.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
URLRef.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
main.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
ExternalParser.cc
c++ -c -g -O2 -O2
-DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../include -I../db-2.4.14/build.unix -I../rx-1.5/rx
PDF.cc
c++ -o htdig -L../htlib -L../htcommon -L../db-2.4.14/build.unix
-L../rx-1.5/rx -L/usr/lib Document.o HTML.o Images.o Parsable.o
Plaintext.o Postscript.o Retriever.o SGMLEntities.o Server.o URLRef.o
main.o ExternalParser.o PDF.o -lcommon -lht -ldb -lrx
collect2: ld returned 1 exit status
/usr/bin/ld:
Can't locate file for: -lht
gmake: *** [htdig] Error 1

This is the essential failure, I think. So, friends, what's up with
ld's errors here? (Is it an issue that it uses Digital's /usr/bin/ld
rather than the gnu ld which located elsewhere? Or is it something
more fundamental than an ld problem?)

[X] Michael Boer | boerm@u.washington.edu | 206-543-8262
Systems Coordinator | <a href="http://www.nnlm.nlm.nih.gov/pnr/">
National Network of Libraries of Medicine | Pacific Northwest Region</a>
University of Washington, Box 357155
Seattle, WA 98195-7155

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:51 PST