Tere.
Well, copied directory from
/Users/admin/sendmail-8.14.0/include/libmilter to /usr/include/libmilter
and tried again with same settings:
CFLAGS=/Users/admin/sendmail-8.14.0/include/libmilter
./configure --with-user=postfix --without-db --without-drac-db
--enable-postfix \
--with-conffile=/opt/etc/greylist.conf
--with-dumpfile=/opt/local/etc/greylist.db \
--with-libmilter=/Users/admin/sendmail-8.14.0/include/libmilter
New error occurred:
Required libmilter not found. Use --with-libmilter
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o milter-greylist.o milter-greylist.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o pending.o pending.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o sync.o sync.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o dnsrbl.o dnsrbl.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o list.o list.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o macro.o macro.c
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
mv y.tab.c conf_yacc.c
flex -oconf_lex.c conf_lex.l
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o conf_yacc.o conf_yacc.c
In file included from conf_yacc.y:1085:
conf_lex.l:115: error: redefinition of 'rcsid'
conf_yacc.y:9: error: previous definition of 'rcsid' was here
make: *** [conf_yacc.o] Error 1
Tried with less settings:
./configure --with-user=postfix --without-db --without-drac-db
--enable-postfix \
--with-conffile=/opt/etc/greylist.conf
--with-dumpfile=/opt/local/etc/greylist.db
Required libmilter not found. Use --with-libmilter
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o milter-greylist.o milter-greylist.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o pending.o pending.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o sync.o sync.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o dnsrbl.o dnsrbl.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o list.o list.c
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o macro.o macro.c
bison -y -p`echo conf_yacc.c|sed 's/^\([^_]\{1,\}_\).*$/\1/'` conf_yacc.y
mv y.tab.c conf_yacc.c
flex -oconf_lex.c conf_lex.l
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o conf_yacc.o conf_yacc.c
In file included from conf_yacc.y:1085:
conf_lex.l:115: error: redefinition of 'rcsid'
conf_yacc.y:9: error: previous definition of 'rcsid' was here
make: *** [conf_yacc.o] Error 1
gcc -g -O2 -Wall -D_BSD_SOURCE -c -o conf_yacc.o conf_yacc.c
In file included from conf_yacc.y:1085:
conf_lex.l:115: error: redefinition of 'rcsid'
conf_yacc.y:9: error: previous definition of 'rcsid' was here
make: *** [conf_yacc.o] Error 1
Now what?
--
MartMessage
Re: [milter-greylist] milter-greylist with postfix in macosx 10.4?
2007-03-01 by Mart Pirita
Attachments
- No local attachments were found for this message.