compile source package under ubuntu 8.04.2

Asked by Bruce Janson on 2010-01-15

I seek to (re)compile /usr/sbin/dhcpd3 from source package dhcp3_3.0.6.dfsg.orig.tar.gz under Ubuntu "Hardy" 8.04.2.
Download, unpack, ./configure and make all succeed. However (1), the resultant executable refers to these shared libraries:
        linux-gate.so.1 => (0xb7f7f000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e2a000)
        /lib/ld-linux.so.2 (0xb7f80000)
whereas the distributed executable refers to these:
        linux-gate.so.1 => (0xb7f7b000)
        libcap.so.1 => /lib/libcap.so.1 (0xb7f71000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e22000)
        /lib/ld-linux.so.2 (0xb7f7c000)
and (2), when I install and start the new executable it fails, leaving this in /var/log/daemon.log:
        dhcpd: Can't open lease database /var/state/dhcp/dhcpd.leases: No such file or directory --
and indeed, the leases file maintained by the distributed /usr/sbin/dhcpd3 is:
        /var/lib/dhcp3/dhcpd.leases
Presumably there are some extra options and values that I should be passing to ./configure.
What are they, or where might I find them, please?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
2010-01-15
Last reply:
2010-01-15
Doug McMahon (mc3man) said : #1

What you're hoping to gain by building the same source that's available in hardy/hardy-updates is not clear (source creates 7 packages in hardy - all properly built

If you must then there is a large readme in the source folder

Can you help with this problem?

Provide an answer of your own, or ask Bruce Janson for more information if necessary.

To post a message you must log in.