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 \
-o spamc/spamc -ldl -lnsl -lsocket
make[1]: Leaving directory `/export/builds/Mail-SpamAssassin-3.0.4'
spamc/spamc.c: In function `read_args':
spamc/spamc.c:185: error: `EX_OK' undeclared (first use in this function)
spamc/spamc.c:185: error: (Each undeclared identifier is reported only once
spamc/spamc.c:185: error: for each function it appears in.)
spamc/spamc.c:217: error: `EX_OSERR' undeclared (first use in this function)
spamc/spamc.c:306: error: `EX_USAGE' undeclared (first use in this function)
spamc/spamc.c:313: error: `EX_TEMPFAIL' undeclared (first use in this
function)
spamc/spamc.c: In function `get_output_fd':
spamc/spamc.c:350: error: `EX_OSERR' undeclared (first use in this function)
spamc/spamc.c: In function `get_current_user':
spamc/spamc.c:439: error: `EX_OK' undeclared (first use in this function)
spamc/spamc.c:449: error: `EX_OSERR' undeclared (first use in this function)
spamc/spamc.c: In function `main':
spamc/spamc.c:479: error: `EX_OK' undeclared (first use in this function)
spamc/spamc.c:480: error: `EX_TEMPFAIL' undeclared (first use in this
function)
spamc/spamc.c:509: error: `EX_NOHOST' undeclared (first use in this
function)
spamc/libspamc.c: In function `_translate_connect_errno':
spamc/libspamc.c:145: error: `EX_SOFTWARE' undeclared (first use in this
function)
spamc/libspamc.c:145: error: (Each undeclared identifier is reported
only once
spamc/libspamc.c:145: error: for each function it appears in.)
spamc/libspamc.c:150: error: `EX_UNAVAILABLE' undeclared (first use in
this function)
spamc/libspamc.c:153: error: `EX_NOPERM' undeclared (first use in this
function)
spamc/libspamc.c: In function `_opensocket':
spamc/libspamc.c:219: error: `EX_SOFTWARE' undeclared (first use in this
function)
spamc/libspamc.c:222: error: `EX_NOPERM' undeclared (first use in this
function)
spamc/libspamc.c:228: error: `EX_OSERR' undeclared (first use in this
function)
spamc/libspamc.c:273: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_try_to_connect_unix':
spamc/libspamc.c:298: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_try_to_connect_tcp':
spamc/libspamc.c:374: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_message_read_raw':
spamc/libspamc.c:455: error: `EX_OSERR' undeclared (first use in this
function)
spamc/libspamc.c:461: error: `EX_IOERR' undeclared (first use in this
function)
spamc/libspamc.c:471: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_message_read_bsmtp':
spamc/libspamc.c:481: error: `EX_OSERR' undeclared (first use in this
function)
spamc/libspamc.c:489: error: `EX_IOERR' undeclared (first use in this
function)
spamc/libspamc.c:514: error: `EX_DATAERR' undeclared (first use in this
function)
spamc/libspamc.c:542: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `message_read':
spamc/libspamc.c:553: error: `EX_OSERR' undeclared (first use in this
function)
spamc/libspamc.c:567: error: `EX_USAGE' undeclared (first use in this
function)
spamc/libspamc.c: In function `_spamc_read_full_line':
spamc/libspamc.c:667: error: `EX_IOERR' undeclared (first use in this
function)
spamc/libspamc.c:678: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_handle_spamd_header':
spamc/libspamc.c:792: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c:799: error: `EX_PROTOCOL' undeclared (first use in this
function)
spamc/libspamc.c: In function `message_filter':
spamc/libspamc.c:835: error: `EX_SOFTWARE' undeclared (first use in this
function)
spamc/libspamc.c:841: error: `EX_OSERR' undeclared (first use in this
function)
spamc/libspamc.c:898: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c:935: error: `EX_PROTOCOL' undeclared (first use in this
function)
spamc/libspamc.c: In function `message_process':
spamc/libspamc.c:1061: error: `EX_OK' undeclared (first use in this
function)
spamc/libspamc.c: In function `transport_setup':
spamc/libspamc.c:1203: error: `EX_OK' undeclared (first use in this
function)
spamc/libspamc.c:1220: error: `EX_NOHOST' undeclared (first use in this
function)
spamc/libspamc.c:1222: error: `EX_TEMPFAIL' undeclared (first use in
this function)
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.
--
*********************
Doug Hubbard - IT Manager
TrackMaster, an Equibase Company
email [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Website www.trackmaster.com <http://www.trackmaster.com>
*********************
This message is intended only for the use of the Addressee and may contain
information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended
recipient, you are hereby notified that any dissemination of this communication
is strictly prohibited. If you have received this communication in error,
please erase all copies of the message and its attachments and notify us
immediately.
Thank you!
begin:vcard
fn:Doug Hubbard
n:Hubbard;Doug
org:TrackMaster, an Equibase Company
adr:;;14515 56th Ave SE;Everett;WA;98208;USA
email;internet:[EMAIL PROTECTED]
title:IT Manager
tel;work:650-316-1020 x138
tel;fax:781-623-0331
tel;pager:650-599-8883
tel;home:425-338-9520
x-mozilla-html:TRUE
url:http://www.trackmaster.com
version:2.1
end:vcard