The problem is that many programs rely on libs already installed in the
distro or on the developers machine.

Since they are releasing this stuff in compiled binary, this doesn't
present a big problem... However it bites you when you try to do your
own compilations.

In this chase you are probably missing the openssl development package
with headers.

To avoid this I used a big drive and install EVERYTHING (which does not
conflict) in Mandrake 8.

I've also added all the Contrib Libs.

Most SRC RPM's compile fine as long as your not too far out of the
distribution tree, as you are with your BIND compile.

In a case such as yours I'll use http://rpmfind.net to locate all the
requires for the SRC.RPM file. If the required libs do not conflict with
existing ones, (or attempt to upgrade them, I.E. a new package) I go
ahead and install the missing libs. (BTW if you haven't been to this
site go there NOW!)

When a require conflicts with one already installed, or will attempt to
upgrade one, I find the source for it and try to compile it as well.

Thus you end up walking backups up the distribution tree to get all the
missing parts. This is tedious at best, so I reserve such actions for
things I --REALLY--really--- need...

Grabbing the tarball is no better and likely to get you into bigger
trouble as you work your way up the required libs/modules.

-JMS

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Craig Woods
Sent: Thursday, July 19, 2001 9:16 PM
To: [EMAIL PROTECTED]
Subject: [expert] Still no luck with bind 9 src rpm


Greetings,

(Speaking of Unix SA, I have found patience and perseverence to be 
quintessential skills that have saved my ass a time or two.)

Thanks Jose S., A.V. Flinsch, Civilemen, and Joan T. for info on the
patch 
program. I installed LMDK7.2 as a server, and consequently did not pick
up 
many of the programs for development and compiling source code. After 
installing patch, I ran my "rpm --rebuild" only to find out other
programs 
were needed, i.e. libtools, and an upgrade of openssl. I was hoping my 
patience and perseverence were about to pay off but alas they did not,
as of 
yet.

But I still keep plodding along. Anyone care to see if this latest
output of 
"rpm --rebuild" makes any sense to anyone of you. Maybe we have reached
the 
end. Again, lady and gentlemen, I thank you for being there on this
journey 
of learning. After all, isn't that what Linux is all about.....

---------snip from the end of the output-------------

gcc -O2 -pipe -I/usr/src/RPM/BUILD/bind-9.1.1 -I. 
-I/usr/src/RPM/BUILD/bind-9.1.
1/lib/dns/include -I../../../../lib/dns/include 
-I../../../../lib/dns/sec/dst/in
clude -I/usr/src/RPM/BUILD/bind-9.1.1/lib/isc/include
-I../../../../lib/isc 
-I..
/../../../lib/isc/include -I../../../../lib/isc/unix/include 
-I../../../../lib/i
sc/pthreads/include -I/usr/include/openssl/include -D_REENTRANT
-DUSE_MD5 
-DOPEN
SSL -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -c  -fPIC
-DPIC 
ds
t_api.c -o .libs/dst_api.lo
dst_api.c:51: openssl/rand.h: No such file or directory
make[4]: *** [dst_api.lo] Error 1
make[4]: Leaving directory
`/usr/src/RPM/BUILD/bind-9.1.1/lib/dns/sec/dst'
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/bind-9.1.1/lib/dns/sec'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/bind-9.1.1/lib/dns'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/bind-9.1.1/lib'
make: *** [subdirs] Error 1
Bad exit status from /var/tmp/rpm-tmp.27897 (%build)


Thanks,
Craig Woods
UNIX SA


Reply via email to