-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to install SpamAssassin (2.01) as a normal user on an old Tru64 
system.  The system's admin seemed mildly interested so if any of your 
debugging suggestions need root I might be able to get her to help.

The installation initially barfed at perl 5.005 not being installed (perl 
5.004 was installed) but I managed a install Bundle::CPAN so am now running a 
shiny new perl 5.61. This I suppose demonstrates the system's compiler etc do 
work :-)

There are HEAPS of warnings of the form:

cc: Warning: spamd/spamc.c, line 493: In this statement, the referenced type 
of the pointer value "msg_buf" is "char", which is not compatible with "const 
unsigned char" because they differ by signed/unsigned attribute. 
(ptrmismatch1)
      full_write(STDOUT_FILENO,msg_buf,amount_read);

Anyway, here is the error:

cc -std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C  -O4
spamd/spamc.c \
                -o spamd/spamc -L/usr/local/lib -lgdbm -ldbm -lm -liconv
- -lutil
cc: Error: spamd/spamc.c, line 60: In the initializer for ESC_PASSTHROUGHRAW,
"EX__MAX" is not declared. (undeclared)
const int ESC_PASSTHROUGHRAW = EX__MAX+666;
- -------------------------------^

I see the code has:

#if defined(__sun__) && defined(__sparc__) && !defined(__svr4__)
# ifndef EX__MAX
# define EX__MAX 77
extern char *optarg;
typedef unsigned long   in_addr_t;      /* base type for internet address */
# endif
#endif

This is the only definition of EX_MAX I can see.  Copying the #ifndef EX__MAX 
out of sun and executing it in all cases causes a successful compilation, but 
when I tried to rerun make Mail::SpamAssassin it redownloaded the package so 
I lost my patch.  I don't know how CPAN works well enough to tell it to use 
the code it has already, sorry.

Corrin





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8cgrgi5A0ZsG8x8cRAivcAJ9pUEG+myZkhR2hEbRUK2yZy7nyNwCdF0tT
0f/Id7YKMTkE2ldzM6sl0QI=
=uxUp
-----END PGP SIGNATURE-----


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to