Andrew Kemp (firstname.lastname@example.org)
Tue, 27 Apr 1999 03:48:36 +0000
Geoff Hutchison wrote:
> On Tue, 27 Apr 1999, Andrew Kemp wrote:
> > Thanks for your email. Unfortuantely, I still have not yet been able to
> > compile htDig on Digital Unix 4.x. I have tried every time they announce
> > a
> > new version, and every time I get exactly the same result.
> I'm sorry if this seems redundant. I can't recollect a bug report about
> this, what result would that be. I have compiled every release since 3.1.0
> on a Digial 4.x box I have access to and there haven't been problems.
Geoff, thanks for your response. I first posted a message when trying to
3.1.0b4 under Digital Unix 4.x and again for 3.1.0 and 3.1.1.
Here is the message I posted for 3.1.0b4 on the 02/04/99 :
I am trying to compile htdig v3.1.0b4 under Digital Unix using
gcc-2.8.1 and libstdc++18.104.22.168
I have encountered the following error and was wondering if someone
c++ -c -DDEFAULT_CONFIG_FILE=\"/usr/local/htdig/conf/htdig.conf\"
-I../htlib -I../htcommon -I../db/dist -I../rx/rx -I../include -g -O2
c++ -o htdig -L../htlib -L../htcommon -L../db/dist -L../rx/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 ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a
collect2: ld returned 1 exit status
__inet_addr(char const *)
gethostbyname(char const *)
getservbyname(char const *, char const *)
gethostbyaddr(char const *, int, int)
make: *** [htdig] Error 1
make: Leaving directory `/usr1/local/src/WEB/htdig-3.1.0b4/htdig'
make: *** [all] Error 1
Thanks - its been quite a busy few days and lack of sleep is not
And here is your response :
>I am trying to compile htdig v3.1.0b4 under Digital Unix using
>gcc-2.8.1 and libstdc++22.214.171.124
>__inet_addr(char const *)
>gethostbyname(char const *)
>getservbyname(char const *, char const *)
>gethostbyaddr(char const *, int, int)
>make: *** [htdig] Error 1
>make: Leaving directory `/usr1/local/src/WEB/htdig-3.1.0b4/htdig'
>make: *** [all] Error 1
I'm not completely familiar with Digital UNIX, but this could be a
link to something like -lsocket or -lnsl. I don't know why the configure
script didn't pick up on it, but if you have one or both of those
libraries, you can add them to the Makefile.config and it should go
Williams Students Online
And a further message from yourself when you suggested I try a couple of
>Sorry, but there is no -lsocket nor -lnsl. I would appreciate any other
>suggestions you may have. Noticed in your release announcement etc
>that you have access to Digital Unix and the product is supposed to
Yes, I have access to a few Digital Unix boxes. In fact, I compiled a
of the latest development code on a Digital box yesterday to show
how it worked.
I took a look at "man gethostbyname" to check which library it's in:
gethostbyname, gethostbyname_r - Get a network host entry by name
Standard C Library (libc.so, libc.a)
So I'm pretty confused why your linker can't find the C library! What
version of Digital Unix are you running?
colrain:99grh: uname -a
OSF1 colrain.williams.edu V4.0 878 alpha
My manpage on ld says it searches the following directories:
These seem to make sense to me. Is there something I'm missing? Are you
using the Digital ld?
Now, please don't get me wrong. I would very much like to install htDig
migrate to that search engine instead of harvest which we currently use.
I have upgraded/reinstalled libstdc++, gcc, etc when trying to compile
of htDig between 3.1.0b4 and 3.1.2 inclusive. This same machine also
runs the latest
DNS (bind-8.1.2), ISC DHCP, Apache 1.3.6, sendmail, etc. All have been
perfectly and without problems using the same compilers etc that htDig
uses. They all
most definitely call 'gethostbyname'.
All I can suggest is that your 'configure' script is flawed when trying
libraries. Hope this helps.
> > It is mentioned on the htDig site that they support Digital Unix and I
> > have
> > spoken to the developer about this but still no joy.
> Which of us was that?
It was yourself Geoff :-)
-- Unix,WWW,Proxy,News,DNS,LDAP,... Administrator Phone : 61 +3 9214-8252 IT Infrastructure Services Fax : 61 +3 9214-8944 Swinburne University of Technology E-Mail: andrew@swin.EDU.AU Hawthorn, Victoria, Australia 3122 URL: http://opax.swin.edu.au/andrew
This archive was generated by hypermail 2.0b3 on Mon Apr 26 1999 - 20:58:59 PDT