Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Need help to build milter-greylist in Solaris

Need help to build milter-greylist in Solaris

2006-11-13 by An.H.Nguyen

Sorry about this newbie question...
I inheritted the system built by a previous admin that I think who knew how to build milter-greylist on this box because there are evidence of greylist binary in the previous version folder.
This person left with no contact so I am stuck here... I hope somebody would know how to get around this problem...
;
I downloaded the new version and try to run /.configure but there are errors on my solaris 8.
# pwd
/var/tmp/milter-greylist-3.0rc7
./configure && make && make install
....errors below:
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.Broken Pipe
make: *** [conf_yacc.c] Error 141
I do have M4 installed:
# which m4
/usr/local/bin/m4
# m4 --version
GNU m4 1.4.2
# env
EDITOR=vi
HOME=/
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB/lib
LOGNAME=root
MAIL=/var/mail//root
MANPATH=/usr/share/man:/opt/local/man
PATH=/usr/bin:/usr/lib:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/usr/ccs/bin:/usr/ucb:/usr/platform/sun4u/sbin:.
SHELL=/sbin/sh
SSH_CLIENT=130.65.37.32 1404 22
SSH_CONNECTION=130.65.37.32 1404 130.65.3.73 22
SSH_TTY=/dev/pts/1
TERM=xterm
TZ=US/Pacific
USER=root
I looks like the .configure can't find M4 but I don't know what the problem is....
Will it work under sh shell or do I need to run /.configure in any specific shell like ksh or csh?
Thanks!

Need help to build milter-greylist in Solaris

2006-11-13 by An.H.Nguyen

Sorry about this newbie question...
I inheritted the system built by a previous admin that I think who knew how to build milter-greylist on this box because there are evidence of greylist binary in the previous version folder.
This person left with no contact so I am stuck here... I hope somebody would know how to get around this problem...
I downloaded the new version and try to run /.configure but there are errors on my solaris 8.
# pwd
/var/tmp/milter-greylist-3.0rc7
./configure && make && make install
....errors below:
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.Broken Pipe
make: *** [conf_yacc.c] Error 141
I do have M4 installed:
# which m4
/usr/local/bin/m4
# m4 --version
GNU m4 1.4.2
# env
EDITOR=vi
HOME=/
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB/lib
LOGNAME=root
MAIL=/var/mail//root
MANPATH=/usr/share/man:/opt/local/man
PATH=/usr/bin:/usr/lib:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/usr/ccs/bin:/usr/ucb:/usr/platform/sun4u/sbin:.
SHELL=/sbin/sh
SSH_CLIENT=130.65.37.32 1404 22
SSH_CONNECTION=130.65.37.32 1404 130.65.3.73 22
SSH_TTY=/dev/pts/1
TERM=xterm
TZ=US/Pacific
USER=root
I looks like the .configure can't find M4 but I don't know what the problem is....
Will it work under sh shell or do I need to run /.configure in any specific shell like ksh or csh?
Thanks!

Re: [milter-greylist] Need help to build milter-greylist in Solaris

2006-11-14 by shuttlebox

On 11/13/06, An.H.Nguyen <AnNguyen251@...> wrote:
> I looks like the .configure can't find M4 but I  don't know what the problem is....

Here are the build dependencies for 2.0.2:
- flex (AT&T lex cannot build milter-greylist sources)
- yacc or bison
- libmilter (comes with Sendmail)
- Any POSIX threads library (Provided by libc on some systems)

Do you have flex and yacc/bison?

-- 
/peter

Re: [milter-greylist] Need help to build milter-greylist in Solaris

2006-11-15 by An.H.Nguyen

I do have flex, bison, and libmilter. No yacc but bison is supposed to be fine.
I noticed that the previous admin was able to build milter-greylist version 1.6 on this same system before.
This version is too old but I am unable to build the new version to replace it... I really need to be able to build the new version but it looks like I'm stuck!!!!!!
bash-2.03# pwd
/var/tmp/milter-greylist-1.6
# ls -al mliter-greylist
-rwxr-xr-x 1 root other 496228 May 18 2005 milter-greylist
bash-2.03# pkginfo | grep -i flex
application SMCflex flex
bash-2.03# pkginfo -l SMCflex
PKGINST: SMCflex
NAME: flex
CATEGORY: application
ARCH: sparc
VERSION: 2.5.31
BASEDIR: /usr/local
VENDOR: John Millaway et al
PSTAMP: Steve Christensen
INSTDATE: May 18 2005 11:59
EMAIL: steve@...
STATUS: completely installed
FILES: 112 installed pathnames
7 shared pathnames
; 13 directories
; 2 executables
3989 blocks used (approx)
bash-2.03# pkginfo | grep -i bison
application SMCbison bison
bash-2.03# pkginfo -l SMCbison
PKGINST: SMCbison
NAME: bison
CATEGORY: application
ARCH: sparc
VERSION: 1.875
BASEDIR: /usr/local
VENDOR: Free Software Foundation
PSTAMP: Steve Christensen
INSTDATE: May 18 2005 12:05
EMAIL: steve@...
STATUS: completely installed
FILES: 59 installed pathnames
; 7 shared pathnames
11 directories
2 executables
5710 blocks used (approx)
bash-2.03# find /usr/. -name 'libmilter'
/usr/./lib/libmilter
/usr/./include/libmilter
/usr/./local/share/sendmail-8.12.10/include/libmilter
/usr/./local/share/sendmail-8.12.10/libmilter
/usr/./local/share/sendmail-8.12.10/obj.SunOS.5.8.sun4/libmilter
I downloaded the new version and try to run /.configure but there are errors on my solaris 8.
# pwd
/var/tmp/milter-greylist-3.0rc7
./configure && make && make install
....errors below:
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.Broken Pipe
make: *** [conf_yacc.c] Error 141
I do have M4 installed:
# which m4
/usr/local/bin/m4
# m4 --version
GNU m4 1.4.2
# env
EDITOR=vi
HOME=/
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB/lib
LOGNAME=root
MAIL=/var/mail//root
MANPATH=/usr/share/man:/opt/local/man
PATH=/usr/bin:/usr/lib:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/usr/ccs/bin:/usr/ucb:/usr/platform/sun4u/sbin:.
SHELL=/sbin/sh
SSH_CLIENT=130.65.37.32 1404 22
SSH_CONNECTION=130.65.37.32 1404 130.65.3.73 22
SSH_TTY=/dev/pts/1
TERM=xterm
TZ=US/Pacific
USER=root
I looks like the .configure can't find M4 but I don't know what the problem is....
Will it work under sh shell or do I need to run /.configure in any specific shell like ksh or csh?
Thanks!
Show quoted textHide quoted text
----- Original Message -----
From: shuttlebox
Sent: Tuesday, November 14, 2006 12:58 AM
Subject: Re: [milter-greylist] Need help to build milter-greylist in Solaris

On 11/13/06, An.H.Nguyen <AnNguyen251@hotmail.com> wrote:
> I looks like the .configure can't find M4 but I don't know what the problem is....

Here are the build dependencies for 2.0.2:
- flex (AT&T lex cannot build milter-greylist sources)
- yacc or bison
- libmilter (comes with Sendmail)
- Any POSIX threads library (Provided by libc on some systems)

Do you have flex and yacc/bison?

--
/peter

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.