Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 01:55:00 -0700
From:      "Jesse Geddis" <FreeBSD@Sgeine.Net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Make buildworld fail due to sendmail/sasl installation.
Message-ID:  <029501c6eb80$9dfe2e60$0b0b000a@Skye>
In-Reply-To: <026301c6eb32$880ea0b0$0b0b000a@Skye>

next in thread | previous in thread | raw e-mail | index | archive | help
Well my last copying the header files all over the place apparently helped
because now I'm down to the linker not being able to find the libraries.
Suggestions?

===> libexec/mail.local
cc -O -pipe  -I/usr/src/libexec/mail.local/../../contrib/sendmail/include
-I. -I/usr/local/include/sasl -DSASL=2  -c
/usr/src/libexec/mail.local/../../contrib/sendmail/mail.local/mail.local.c
cc -O -pipe  -I/usr/src/libexec/mail.local/../../contrib/sendmail/include
-I. -I/usr/local/include/sasl -DSASL=2   -L/usr/local/lib/sasl2 -o
mail.local mail.local.o
/usr/obj/usr/src/libexec/mail.local/../../lib/libsm/libsm.a -lsasl2
/usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lsasl2
*** Error code 1

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

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

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jesse Geddis
Sent: Sunday, October 08, 2006 4:36 PM
To: freebsd-questions@freebsd.org
Subject: Make buildworld fail due to sendmail/sasl installation.

	Ever since I installed the package sendmail+tls+sasl2-8.13.8 I
haven't been able to make buildworld on my system. I get file not found
errors for some sasl header files. I'll attach the pertinent portion of the
failure below. Seems simple enough, however, I haven't been able to get
around it. It calls for the sasl files in the correct directory
ns1:/usr/local/include/sasl# ls
hmac-md5.h      md5global.h     sasl.h          saslutil.h
md5.h           prop.h          saslplug.h
The files are there. Still nothing. I've tried copying them to various
places to get around it to no avail
/usr/src/contrib/sendmail/src
/usr/src/contrib/sendmail/src/sasl
/usr/src/contrib/sendmail/libmilter
/usr/src/contrib/sendmail/libmilter/sasl
/usr/local/include

Not sure what to do with this, seems to me it would probably make things
easier on a lot of folks if sendmail was treated similar to how perl is on
freebsd these days, where it isn't integral. Not using the integral sendmail
has been a bit of a nightmare. Thanks so much for any help

Jesse

mkdep -f .depend -a    -I/usr/src/lib/libmilter/../../contrib/sendmail/src
-I/usr/src/lib/libmilter/../../contrib/sendmail/include -I. -DNOT_SENDMAIL
-Dsm_snprintf=snprintf -D_THREAD_SAFE -DNETINET6 -I/usr/local/include/sasl
-DSASL=2 /usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/smfi.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/signal.c
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/errstring.c
/usr/src/lib/libmilter/../../contrib/sendmail/libsm/strl.c
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/main.c:15:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/engine.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/listener.c:18:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/handler.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/comm.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/smfi.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/libmilter.h:31,
                 from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/signal.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
In file included from
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25:
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29:
sasl/saslutil.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/lib/libmilter.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?029501c6eb80$9dfe2e60$0b0b000a>