Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 1997 18:14:49 -0500 (EST)
From:      spork <spork@super-g.com>
To:        questions@freebsd.org
Cc:        qpopper@qualcomm.com, freebsd-isp@freebsd.org
Subject:   Popper Port
Message-ID:  <Pine.BSF.3.96.971113180801.26224A-100000@super-g.inch.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to install the popper port (2.4b2 qpopper) and some strange
things have been happening.  If I compile it with defaults and
"-DSERVER_MODE", it works, but has some bugs; it will occasionally zero
out user's .popbull files, and if a user has an empty spool, it dumps
core.

I tried adding the "-DBULLDB" to solve the first problem by keeping all
bulletin information in a database, but it fails like so when including
the BULLDB option:

cc -c -I.  -DHAVE_CONFIG_H -DSETPROCTITLE -DBSD44_DBM -DBIND43
-DAPOP='"'/usr/local'/etc/popper/pop.auth"'  -DPOPUID='"pop"'
-DNONAUTHFILE='"/etc/ftpusers"' -DSKEY -DSERVER_MODE -DBULLDB pop_bull.c
-o pop_bull.o
pop_bull.c: In function `pop_bull':
pop_bull.c:171: `LOCK_EX' undeclared (first use this function)
pop_bull.c:171: (Each undeclared identifier is reported only once
pop_bull.c:171: for each function it appears in.)
pop_bull.c:178: `LOCK_UN' undeclared (first use this function)
*** Error code 1

Stop.

This is on 2.1.7.1, and I do see both functions declared in the system
headers.  There are also flock functions in popper:

util [/usr/ports/mail/popper-2.4b2]# grep LOCK_EX work/qpopper2.4b2/*
work/qpopper2.4b2/flock.c:      arg.l_type = (LOCK_EX & operation) ?
F_WRLCK :
work/qpopper2.4b2/flock.h:#define LOCK_EX               2       /*
exclusive lock */

I'm lost...  I was looking to downgrade to 2.3 or 2.2 to take care of the
core dumping, but the bulletin database fails the same way in all
versions.  Anyone have this working?

Thanks,

Charles Sprickman
spork@super-g.com
---- 
                           "I'm not a prophet or a stone-age man
                           Just a mortal with potential of a superman
                           I'm living on"      -DB




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971113180801.26224A-100000>