ports/51497: Can't compile ports/mail/postfix, with sasl enabled
Xavier HUMBERT
xavier at xavhome.fr.eu.org
Mon Apr 28 14:10:12 UTC 2003
>Number: 51497
>Category: ports
>Synopsis: Can't compile ports/mail/postfix, with sasl enabled
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 28 07:10:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Xavier HUMBERT
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD valinor.groumpf.org 5.0-CURRENT FreeBSD 5.0-CURRENT
#7: Sat Apr 26 23:56:09 CEST 2003
root at valinor.groumpf.org:/usr/obj/usr/src/sys/XAVIER i386
Needed packages are installed :
cyrus-sasl-1.5.28
db3-3.3.11
msyql-*-4.0.12_2
openssl-0.9.7b
>Description:
postfix won't build with sasl enabled.
The problem is there is a stale dependancy to libdes in Makefiles and
script/configure.postfix. Here is the relevant part of the output
=====================================================
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include -I/usr/local/include/sasl1 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_SSL -I/usr/include -I/usr/local/include/db3 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_PCRE -I/usr/local/include -O -pipe -I. -I../../include -DFREEBSD5 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/local/lib -lsasl -lpam -lcrypt /usr/local/lib/mysql/libmysqlclient.a -lm -lz -lkrb -lcrypto -ldes -lcom_err -L/usr/lib -lssl -lcrypto -L/usr/local/lib -ldb3 /usr/local/lib/mysql/libmysqlclient.a -lm -lz -L/usr/local/lib -lpcre
/usr/bin/ld: cannot find -ldes
*** Error code 1
Stop in /usr/ports/mail/postfix/work/postfix-2.0.7/src/master.
*** Error code 1
=====================================================
If I try to remove ldes (actually, libdes claimed to be merged with
libcrypto) in Makefile, Makefile.inc, and script/configure.postfix,
the error changes :
=====================================================
gcc -Wmissing-prototypes -Wformat -DUSE_SASL_AUTH -I/usr/local/include -I/usr/local/include/sasl1 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_SSL -I/usr/include -I/usr/local/include/db3 -DHAS_MYSQL -I/usr/local/include/mysql -DHAS_PCRE -I/usr/local/include -O -pipe -I. -I../../include -DFREEBSD5 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/local/lib -lsasl -lpam -lcrypt /usr/local/lib/mysql/libmysqlclient.a -lm -lz -lkrb -lcrypto -lcom_err -L/usr/lib -lssl -lcrypto -L/usr/local/lib -ldb3 /usr/local/lib/mysql/libmysqlclient.a -lm -lz -L/usr/local/lib -lpcre
/usr/lib/libkrb.so: undefined reference to `des_pcbc_encrypt'
/usr/lib/libkrb.so: undefined reference to `des_set_odd_parity'
/usr/lib/libkrb.so: undefined reference to `des_key_sched'
/usr/lib/libkrb.so: undefined reference to `des_read_pw_string'
/usr/lib/libkrb.so: undefined reference to `des_set_key'
/usr/lib/libkrb.so: undefined reference to `des_cbc_cksum'
/usr/lib/libkrb.so: undefined reference to `des_quad_cksum'
/usr/lib/libkrb.so: undefined reference to `des_string_to_key'
*** Error code 1
=====================================================
>How-To-Repeat:
cd /usr/ports/mail/postfix
make clean install (check flavours SASL, TLS, DB3, MySQL)
>Fix:
Still trying ...
Best regards,
Xav
--
Xavier HUMBERT - Systemes et Reseaux | labo-info at injep.fr
INJEP | humbert at injep.fr
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list