Am Freitag, 31. Oktober 2008 13:57 schrieb Alain Spineux: > On Tue, Oct 28, 2008 at 12:55 PM, Thomas Lenz <[EMAIL PROTECTED]> wrote: > > Hi OpenPKG Users, > > > > i'm unable to build the mimedefang package. > > > > ... > > /openpkg-dev/bin/cc -I/openpkg-dev/include -Wall -Wstrict-prototypes > > -pthread -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o > > syslog-fac.o dynbuf.o milter_cap.o -L/openpkg-dev/lib -L/openpkg-dev/lib > > -lmilter -lpthread -lnsl -lsm > > /openpkg-dev/bin/ld: cannot find -lsm > > I looks like, you have not installed libsm. > Googleing a little, libsm could have something to do with sendmail > try to install all sendmail libraries. > > Hope this help
Thanks, i greped libsm in configure, configure.in and Changelog. My finding is now libsm is from sendmail and is needed for older libmilter. After googling i found that post: http://article.gmane.org/gmane.mail.mimedefang/14120/ After read it i unset NEED_LIBSM in configure with adding the following lines in mimedefang.patch: Index: configure --- configure.orig 2008-11-05 17:18:52.000000000 +0100 +++ configure 2008-11-05 17:19:21.000000000 +0100 @@ -7120,7 +7120,7 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - NEED_LIBSM=yes + #NEED_LIBSM=yes fi Now mimedefang build successfully, but i must test the installed package further. I hope i'm on the right way, or should i better patch the sendmail package to install libsm like your suggestion? Thanks again! Thomas -- Thomas Lenz [EMAIL PROTECTED] ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org