[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation/RPM creation problems
On Tue, Apr 04, 2000 at 10:15:44AM -0400, dan@docisp.com wrote:
>
> Hi. I am having trouble compiling Zmailer 2.99.53-pre1 on RH 6.2 with
> tcp-wrappers support. The thing compiles just fine in Debian.
> Here's what I am getting:
The problem here is that the <explenative> tcp-wrapper as it is
done at RH 6.1/6.2 requires linkage against NIS (YP). A jolly
stupid idea... Similar happens already at Solaris 2.6, and
I am most unhappy there as well.
Adding (manually) -lnsl to the library list definition at the
scheduler/Makefile will help you thru.
( But won't help at RPM driven processing, of course.. there you
propably need to patch scheduler/Makefile.in )
My medium term goal is to eradict tcp-wrapper due to this kind
of corruptions from ZMailer entirely. smtpserver doesn't need
it, after all. Similar controls can be done with smtpserver.auth
by adding there extra column of allowed contactee addresses/nets.
> <SNIP>
> cc -DHAVE_CONFIG_H -I./../include -I../include -I.. -I/usr -o scheduler.x scheduler.o readconfig.o conf.o agenda.o transport.o pipes.o update.o qprint.o msgerror.o resources.o threads.o wantconn.o mq2.o mq2auth.o version.o -L../libs -lzm -lzc -lta -lsfio -L/usr -lwrap -lresolv
> /usr/bin/../lib/libwrap.a(hosts_access.o): In function `host_match':
> hosts_access.o(.text+0x400): undefined reference to `yp_get_default_domain'
> collect2: ld returned 1 exit status
> make[1]: *** [scheduler] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/zmailer-2.99.53_pre1/scheduler'
> make: *** [all] Error 1
> Bad exit status from /var/tmp/rpm-tmp.13294 (%build)
> </SNIP>
>
> Also if I compile it without tcp-wrappers rpm doesn't build
> a binary package. Any ideas? Thanks.
Uh ?
--
/Matti Aarnio <mea@nic.funet.fi>