Re: Sendmail not compiling with make world in 6.0

2005-11-08 Thread Scot Hetzel
As Brain had stated you are using the libsasl from your 5.x system. 
You need to rebuild the sasl port for 6.x, and then do either a
buildworld or build sendmail manually from the base sources.

If your system is not at 6.x right now, just comment out those entries
in /etc/make.conf. Do the build/installworld.  Then build the Cyrus
SASL port (I would suggest that you take this time to update to the
Cyrus SASL 2 port).

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sendmail not compiling with make world in 6.0

2005-11-07 Thread Brian Fundakowski Feldman
On Mon, Nov 07, 2005 at 07:28:06PM -0500, sammy!!! wrote:
> I get this error when trying to do a make world with FreeBSD 6.0.
> ===> libexec/mail.local (all)
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/libexec/ 
> mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ 
> sasl1 -DSASL  -c /usr/src/libexec/mail.local/../../contrib/sendmail/ 
> mail.local/mail.local.c
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/libexec/ 
> mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ 
> sasl1 -DSASL   -L/usr/local/lib -o mail.local mail.local.o /usr/obj/ 
> usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypt.so.2, needed by / 
> usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: libpam.so.2, needed by /usr/ 
> local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
> /usr/local/lib/libsasl.so: undefined reference to `pam_end'
> /usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
> /usr/local/lib/libsasl.so: undefined reference to `crypt'
> /usr/local/lib/libsasl.so: undefined reference to `pam_start'
> *** Error code 1
> 
> Stop in /usr/src/libexec/mail.local.
> *** Error code 1
> 
> 
> I have the following in  my /etc/make.conf
> SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
> SENDMAIL_LDFLAGS=-L/usr/local/lib
> SENDMAIL_LDADD=-lsasl
> 
> Any clues on why this is failing with 6.0?  It worked in 5.4 no  
> problem...

You're still using your libsasl from 5.4.  The warnings pretty
unequivocally showed that it can't find the libraries it was
originally linked against.

-- 
Brian Fundakowski Feldman   \'[ FreeBSD ]''\
  <> [EMAIL PROTECTED]   \  The Power to Serve! \
 Opinions expressed are my own.   \,,\
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sendmail not compiling with make world in 6.0

2005-11-07 Thread sammy!!!

I get this error when trying to do a make world with FreeBSD 6.0.
===> libexec/mail.local (all)
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/libexec/ 
mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ 
sasl1 -DSASL  -c /usr/src/libexec/mail.local/../../contrib/sendmail/ 
mail.local/mail.local.c
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/libexec/ 
mail.local/../../contrib/sendmail/include -I. -I/usr/local/include/ 
sasl1 -DSASL   -L/usr/local/lib -o mail.local mail.local.o /usr/obj/ 
usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libcrypt.so.2, needed by / 
usr/local/lib/libsasl.so, not found (try using -rpath or -rpath-link)
/usr/obj/usr/src/tmp/usr/bin/ld: warning: libpam.so.2, needed by /usr/ 
local/lib/libsasl.so, not found (try using -rpath or -rpath-link)

/usr/local/lib/libsasl.so: undefined reference to `pam_end'
/usr/local/lib/libsasl.so: undefined reference to `pam_authenticate'
/usr/local/lib/libsasl.so: undefined reference to `crypt'
/usr/local/lib/libsasl.so: undefined reference to `pam_start'
*** Error code 1

Stop in /usr/src/libexec/mail.local.
*** Error code 1


I have the following in  my /etc/make.conf
SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl

Any clues on why this is failing with 6.0?  It worked in 5.4 no  
problem...



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"