On Thu, 8 Sep 2005, Doug Hubbard wrote:

I am trying to install Spamassassin 3.04 (finally trying to get current
from 2.63) and having a compile time issue.

I am running Solaris 8 with perl 5.8.6. and gcc 3.4.2. All other modules
that I have tried seem to build fine on this box (Apache, qpopper,
sendmail, bind)
When I attempt to run make on the SA code (after perl Makefile.PL) I get
the following error output (make has been run once, so the initial clean
output is missing, if it will help I can run a make dist clean and rebuild).

make -f spamc/Makefile spamc/spamc
make[1]: Entering directory `/export/builds/Mail-SpamAssassin-3.0.4'
gcc  -g -O2 spamc/spamc.c spamc/libspamc.c spamc/utils.c \
[snip..]
spamc/libspamc.c:1224: error: `EX_OSERR' undeclared (first use in this
function)
make[1]: *** [spamc/spamc] Error 1
make: *** [spamc/spamc] Error 2

I have tried googling the errors with no luck, neither could I find
anything in the FAQ, front page or the bundled Docs,
What am I missing?
Thanks.

You're missing a system include file that should define the 'sysexits'
symbols, usually "/usr/include/sysexits.h"

Brute force, try:

 find /usr/include -type f -name '*.h' -print | xargs grep EX_OSERR

see if you find anything. (Solaris may put its include files in
places other than '/usr/include', adjust accordingly).

Dave

--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to