Building Heimal without using ports

Robert Fitzpatrick robert at webtent.com
Sat Mar 20 15:00:21 PST 2004


> No, but you have to correct the falsely recorded dependency 
> with pkgdb -F again. Don't forget to tailor 
> /usr/local/etc/pkgtools.conf to suit your needs.
> OpenLDAP/SASL/Kerberos can be tricky, search to OpenLDAP 
> Software Archives for some help: 
> <http://www.openldap.org/lists/openldap-software/>

I did the following and no help. I thought that would be the charm. I have
USE_OPENLDAP=yes and WITH_LDAP=yes in the /etc/make.conf file and you can
see the remarks I'm getting at the end of the make statement. These remarks
are a bad thing, I assume, since the LDAP support appears not to be there.

kdc# pkgdb -F
kdc# make deinstall
kdc# make clean
kdc# make WITH_LDAP=yes all install clean
...
"/usr/ports/net/openldap21-client/../openldap21-server/Makefile", line 52:
You have `USE_OPENLDAP' defined either in your environment or in make(1)
arguments.
"/usr/ports/net/openldap20-client/../openldap20-server/Makefile", line 56:
You have `USE_OPENLDAP' defined either in your environment or in make(1)
arguments.
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for heimdal-0.6_2
kdc# ldd /usr/bin/kadmin
/usr/bin/kadmin:
        libkadm5clnt.so.7 => /usr/lib/libkadm5clnt.so.7 (0x2807c000)
        libkadm5srv.so.7 => /usr/lib/libkadm5srv.so.7 (0x28084000)
        libkrb5.so.7 => /usr/lib/libkrb5.so.7 (0x28091000)
        libroken.so.7 => /usr/lib/libroken.so.7 (0x280ce000)
        libhdb.so.7 => /usr/lib/libhdb.so.7 (0x280dd000)
        libasn1.so.7 => /usr/lib/libasn1.so.7 (0x280ea000)
        libcrypto.so.3 => /lib/libcrypto.so.3 (0x28110000)
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x2821e000)
        libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28237000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x28239000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x28267000)
        libc.so.5 => /lib/libc.so.5 (0x282a7000)

My problem is I'm brand new at ports and love the use of them. I used to
lease BSDi and then FreeBSD servers years ago when I first started dealing
with the web (circa 1996). Then I had to build and install everything the
hard way, and now appreciate and want to use the ports system as much as
possible for help keeping things neat. After drifting to Linux when buying a
web appliance for my hosting business, now I need a serious box to handle
many important new services. I am using 5.2.1 because of it's SATA support.
I'm just weak on my ports knowledge, but I'm sure I'll be up to speed after
this ordeal. I have gone through the Handbook, but I'm just paranoid of
making mistakes and want to be sure until I have managed a few packages
using this great ports system.

--
Robert




More information about the freebsd-ports mailing list