Hi, That works better indeed:-)
Now it goes further with asking questions. At some point I get the following error: Make succesfull. Do you want to install the binaries and man pages? y Target binary directory is now /usr/local/sbin. Enter new directory or press RETURN to keep this setting: install-dbmail.sh: not found install script failed. You can rerun this manually by running install-dbmail.sh fels# Also, attached I have the whole session. Many thanks, Jam-Kees -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hamster Sent: Monday, April 26, 2004 2:02 PM To: DBMail mailinglist Subject: Re: [Dbmail] ERROR 1067 at line 7: Invalid defaultvaluefor'alias_idnr' On Mon, 26 Apr 2004 13:48:39 +0200 "Jan-Kees Fels" <[EMAIL PROTECTED]> wrote: > Hi, > > Ok cool. Now we are getting somewhere:-) But there is a new problem. > > I don't have the dbmail-adduser utility. > > fels# find / -name dbmail-adduser > > Done. You can now make dbmail by running 'make clean all'. > Do you want this to be executed right now? > yes > fels# pwd The problem here is that the script is looking for a response "y" rather than "yes". It takes anything other than "y" as meaning no. So unfortunately typing "yes" causes the script to think "no". If you run it and just type "y", it will proceed. H _______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
fels# ./build.sh This is the dbmail build script I will have to ask you some questions about your system What database do you wish to use? Choices are (m)ysql and (p)ostgresql > m You have selected MySQL as database The library directory for MySQL is now [/usr/local/lib/mysql/]. Enter new directory or press RETURN to keep this setting: The include directory for MySQL is now [/usr/include/mysql/]. Enter new directory or press RETURN to keep this setting: /usr/local/include/mysql The libraries are currently set to [-lmysqlclient -lcrypto -lz]. Enter new libraries (preceed each by -l) or press RETURN to keep this setting: Creating makefile.. Done. You can now make dbmail by running 'make clean all'. Do you want this to be executed right now? y rm -f *.o core mysql/*.o cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c list.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c debug.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c pipe.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c mime.c cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c dbmd5.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c md5.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c bounce.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c forward.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c memblock.c cc -o mysql/dbauthmysql.o -c mysql/dbauthmysql.c -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c config.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c misc.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp list.o debug.o pipe.o mime.o mysql/dbmysql.o dbmd5.o md5.o bounce.o forward.o memblock.o mysql/dbauthmysql.o config.o misc.o -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. -lmysqlclient -lcrypto -lz cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c pop3.c pop3.c: In function `pop3_handle_connection': pop3.c:64: warning: unused variable `timestamp' cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c serverchild.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c server.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c proctitleutils.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE pop3d.c -o dbmail-pop3d pop3.o list.o debug.o mysql/dbmysql.o serverchild.o server.o dbmd5.o md5.o mime.o misc.o memblock.o mysql/dbauthmysql.o config.o proctitleutils.o -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. -lmysqlclient -lcrypto -lz cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE maintenance.c -o dbmail-maintenance debug.o list.o dbmd5.o md5.o mysql/dbmysql.o mime.o memblock.o mysql/dbauthmysql.o config.o misc.o -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. -lmysqlclient -lcrypto -lz maintenance.c: In function `main': maintenance.c:231: warning: long unsigned int format, time_t arg (arg 2) maintenance.c:232: warning: long unsigned int format, time_t arg (arg 3) maintenance.c:290: warning: long unsigned int format, time_t arg (arg 2) maintenance.c:291: warning: long unsigned int format, time_t arg (arg 3) maintenance.c:340: warning: long unsigned int format, time_t arg (arg 2) maintenance.c:341: warning: long unsigned int format, time_t arg (arg 3) maintenance.c:391: warning: long unsigned int format, time_t arg (arg 2) maintenance.c:392: warning: long unsigned int format, time_t arg (arg 3) cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c imap4.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c imaputil.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c imapcommands.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c rfcmsg.c cc -o mysql/dbmsgbufmysql.o -c mysql/dbmsgbufmysql.c -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. cc -o mysql/dbsearchmysql.o -c mysql/dbsearchmysql.c -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c quota.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE imapd.c -o dbmail-imapd imap4.o debug.o mysql/dbmysql.o serverchild.o server.o config.o list.o dbmd5.o md5.o imaputil.o imapcommands.o mime.o misc.o memblock.o rfcmsg.o mysql/dbmsgbufmysql.o mysql/dbsearchmysql.o mysql/dbauthmysql.o quota.o proctitleutils.o -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. -lmysqlclient -lcrypto -lz cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE user.c -o dbmail-adduser debug.o list.o dbmd5.o md5.o mysql/dbmysql.o mime.o memblock.o mysql/dbauthmysql.o config.o misc.o -L/usr/local/lib/mysql/ -I/usr/local/include/mysql -I. -lmysqlclient -lcrypto -lz Make succesfull. Do you want to install the binaries and man pages? y Target binary directory is now /usr/local/sbin. Enter new directory or press RETURN to keep this setting: install-dbmail.sh: not found install script failed. You can rerun this manually by running install-dbmail.sh fels#
