Re: [exim] exim build on FreeBSD jail fails re: unrequested,…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: snowcrash+exim-users
日付:  
To: exim-users
題目: Re: [exim] exim build on FreeBSD jail fails re: unrequested, missing NIS symbols, but 2nd build's 'a charm'?
hi phil,

> I think that "make makefile" needs to follow a "cd work/exim-*" since
> you're not asking Ports to make makefile.


argh. my brain hurts. i thought i was :-/ need to stare at this a bit ...

> Did you cd the second time
> but not the first? So the second time, you had made the makefile but
> the first time, you accidentally let Ports tamper?


nope. same steps, both times.

> > which fails at,
> >       /usr/local/libexec/ccache/cc -o exim
> >       lookups/lookups.a(nis.o)(.text+0xe): In function `nis_open':
> >       : undefined reference to `yp_get_default_domain'

>
> This can only happen if:
> (1) LOOKUP_NIS is defined after all


not as far as I can tell.

> (2) Your C pre-processor is so broken that it gets #ifndef/#else wrong


honestly doubt that ... i'd see the problem elsewhere, no?

> I'm inclined to suspect (1) and you're missing a cd, as noted.


hrm. read on ...

> You have my sympathy


lol! heh, the need for sympathy sunk in, finally, and i gave up on the port.

Now, building "manually" (the way i always have b4 on osx etc) from
src all's well and functional:

exim -bv

Exim version 4.69 #1 built 29-Dec-2007 20:53:52
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 use_setclassresources PAM
TCPwrappers OpenSSL Content_Scanning Old_Demime Experimental_DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
dsearch mysql sqlite
Authenticators: cram_md5 dovecot plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /usr/local/etc/exim/exim.conf

exim in a 'slender' jail! very cool.

> I like FreeBSD's Ports system and the Exim port is
> impressive, and yet it always manages to miss "just that one little
> thing" and I end up having to script around it as you do.


I've really come to like/appreciate Ports sys, as well. But, whereas
the lower-lying tools, deps, etc are generally wonderfully easy to
deal with in Ports, i'm finding that the "top-level" apps (apache2,
bind9, spamassassin, exim, etc) _all_ "miss just that one little
thing" ...

my S.O.P. is becoming foundations with Ports, top-level apps via diy
src. so far, so good with that theory. and, i don't have to beat my
head against the wall when ports-maintainers are non-responsive or the
Ports sys is in endless-thaw (kinda like Google forever-beta, eh? ;-)
)

anyway, thanks! for taking the time to read/think about my issue. :-)
at some point in the future, i may well monkey with the exim port to
figure out the issue in jails, but for now -- onward!

cheers.