ports/134055: bulding port: misc/libhome on FreeBSD 7.1 amd64
Yngvi Hrafn Petursson
skuti at skuti.is
Mon Apr 27 23:00:13 UTC 2009
>Number: 134055
>Category: ports
>Synopsis: bulding port: misc/libhome on FreeBSD 7.1 amd64
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 27 23:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yngvi Hrafn Petursson
>Release: FreeBSD 7.1
>Organization:
EJS
>Environment:
FreeBSD 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #1: Wed Apr 22 20:52:40 UTC 2009 root@:/usr/obj/usr/src/sys/VMWARE amd64
>Description:
can't build port misc/libhome
I'm using:
FreeBSD 7.1 RELEASE amd64.iso install cd
updated world and custom kernel (patch 4)
(the same problem repeated when I skiped the update process)
and vmware esx server
when trying to buld I get error
./libtool --mode=link cc -O2 -fno-strict-aliasing -pipe -o home_su -Icompat home_su.c libhome.la
cc -O2 -fno-strict-aliasing -pipe -o .libs/home_su -Icompat home_su.c ./.libs/libhome.so -L/usr/local/lib /usr/local/lib/libldap.so /usr/local/lib/liblber.so -lgssapi -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib
./.libs/libhome.so: undefined reference to `crypt'
*** Error code 1
Stop in /usr/ports/misc/libhome/work/libhome-0.10.1.
I only want ldap support, and maby proxy
>How-To-Repeat:
install FreeBSD 7.1 amd64
cd /usr/ports/misc/libhome
make install clean
>Fix:
I'm not the best programmer to fix this, but I can debug alitle:
I was able to compile with this tricks, but run with success.
cd /usr/ports/misc/libhome/
edit Makefile
add line:
CONFIGURE_ARGS+= --without-db3 --without-db4
make
wait for error...
edit work/libhome-0.10.1/Makefile
add " /usr/lib/libcrypt.so" to the end of lines 106 and 112
so it looks like this:
home_su: home_su.c libhome.la compat
${LINK} -o home_su -Icompat home_su.c libhome.la /usr/lib/libcrypt.so
and
home_proxy: home_proxy.c libhome.la
${LINK} -o home_proxy ${CPPFLAGS} -I. home_proxy.c libhome.la /usr/lib/libcrypt.so
this enables me to compile the port, but all my results are coredump of home_finger
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list