[Greylist-users] Cannot get Sendmail::Milter compiled on HP-UX 11i
Goerke, Michael
Michael.Goerke at IUE.it
Sun Apr 18 10:15:52 PDT 2004
Dear Listers,
I am getting pretty desperate now, after weeks trying to get greylisting running. I am now ready with perl and mysql, but sendmail::milter makes problems. The perl lists didn't help, so I am repeating the posting to you, appending the Makefile created by sendmail::milter and the config file from perl (/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/Config.pm).
Any help would be most apprechiated, TIA,
Michael
---
Michael Goerke, European University Institute, Computing Service
Via Boccaccio 121, 50133 Firenze, Italy
phone: +39 055 4685-531 (voice), 4685-205 (fax)
email: michael.goerke at iue.it
<<Config.pm>> <<Makefile>>
===========================================================
> -----Original Message-----
> From: Goerke, Michael
> Sent: 06 April 2004 11:56
> To: sendmail-milter-users at lists.sourceforge.net
> Cc: beginners at perl.org
> Subject: Cannot get Sendmail::Milter compiled on HP-UX 11i
>
>
> Hi,
>
> I'm trying to install Sendmail::Milter on an HP9000/B1000
> box, HP-UX 11i. Perl was taken from HP (perl, v5.8.2 built
> for PA-RISC1.1-thread-multi, HP c-compiler used), sendmail
> is in its last version (8.12.11), and Sendmail:Milter is
> 0.18.
>
> After appending to site.config.m4:
> APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
> APPENDDEF(`conf_libmilter_ENVDEF', `- D_FFR_MILTER_ROOT_UNSAFE')
> I cd-ed into ~/limilter and ran "sh Build" to build
> libmilter.a. Also the "sh build" in ~ worked fine.
>
> But compiling Sendmail:Milter failed with the appended error.
>
> Any ideas how to overcome?
>
> TIA, Michael
>
> PS: As the sendmail::milter list doesn't seem to be much
> alive, I am sending it in copy also to the beginners' list,
> newbee as I am.
> ---
> Michael Goerke, European University Institute, Computing Service
> Via Boccaccio 121, 50133 Firenze, Italy
> phone: +39 055 4685-531 (voice), 4685-205 (fax)
> email: michael.goerke at iue.it
> =========================================================
> $ perl -v
>
> This is perl, v5.8.2 built for PA-RISC1.1-thread-multi
> (with 25 registered patches, see perl -V for more detail)
>
> Copyright 1987-2003, Larry Wall
>
> Binary build 808 provided by ActiveState Corp.
> http://www.ActiveState.com
> ActiveState is a division of Sophos.
> Built Dec 7 2003 13:25:38
>
> ...
> $ perl Makefile.PL /opt/sendmail-8.12.11
> /opt/sendmail-8.12.11/obj.HP-UX.11.11.9000-785
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Sendmail::Milter
> $ gmake
> cp Milter.pm blib/lib/Sendmail/Milter.pm
> AutoSplitting blib/lib/Sendmail/Milter.pm
> (blib/lib/auto/Sendmail/Milter)
> cp sample.pl blib/lib/Sendmail/sample.pl
> /opt/perl/bin/perl /opt/perl/lib/5.8.2/ExtUtils/xsubpp
> -typemap /opt/perl/lib/5.8.2/ExtUtils/typemap -typemap
> typemap Milter.xs > Milter.xsc && mv Milter.xsc Milter.c
> cc -c -I/opt/sendmail-8.12.11/sendmail
> -I/opt/sendmail-8.12.11/include -D_POSIX_C_SOURCE=199506L
> -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
> -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0
> -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" +Z
> "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE" Milter.c
> cc: "/usr/include/sys/socket.h", line 504: warning 562:
> Redeclaration of "sendfile" with a different storage class
> specifier: "sendfile" will have internal linkage.
> cc: "/usr/include/sys/socket.h", line 505: warning 562:
> Redeclaration of "sendpath" with a different storage class
> specifier: "sendpath" will have internal linkage.
> cc: "Milter.xs", line 445: warning 604: Pointers are not
> assignment-compatible.
> cc: "Milter.xs", line 445: warning 563: Argument #3 is not
> the correct type.
> cc: "Milter.xs", line 445: warning 604: Pointers are not
> assignment-compatible.
> cc -c -I/opt/sendmail-8.12.11/sendmail
> -I/opt/sendmail-8.12.11/include -D_POSIX_C_SOURCE=199506L
> -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
> -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0
> -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" +Z
> "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE" intpools.c
> cc: "/usr/include/sys/socket.h", line 504: warning 562:
> Redeclaration of "sendfile" with a different storage class
> specifier: "sendfile" will have internal linkage.
> cc: "/usr/include/sys/socket.h", line 505: warning 562:
> Redeclaration of "sendpath" with a different storage class
> specifier: "sendpath" will have internal linkage.
> cc: "intpools.c", line 463: warning 604: Pointers are not
> assignment-compatible.
> cc: "intpools.c", line 463: warning 563: Argument #3 is not
> the correct type.
> cc -c -I/opt/sendmail-8.12.11/sendmail
> -I/opt/sendmail-8.12.11/include -D_POSIX_C_SOURCE=199506L
> -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings
> -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0
> -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" +Z
> "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE" callbacks.c
> cc: "/usr/include/sys/socket.h", line 504: warning 562:
> Redeclaration of "sendfile" with a different storage class
> specifier: "sendfile" will have internal linkage.
> cc: "/usr/include/sys/socket.h", line 505: warning 562:
> Redeclaration of "sendpath" with a different storage class
> specifier: "sendpath" will have internal linkage.
> cc: "callbacks.c", line 262: error 1000: Unexpected symbol: "do".
> cc: panic 2017: Cannot recover from earlier errors, terminating.
> gmake: *** [callbacks.o] Error 1
> $
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Config.pm
Type: application/octet-stream
Size: 35309 bytes
Desc: Config.pm
Url : http://lists.puremagic.com/pipermail/greylist-users/attachments/20040418/f9f55361/Config-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 27503 bytes
Desc: Makefile
Url : http://lists.puremagic.com/pipermail/greylist-users/attachments/20040418/f9f55361/Makefile-0001.obj
More information about the Greylist-users
mailing list