Hi folks,
after successfully testing the debian packages of dbmail 2.0 beta,
I tried to compile the latest (today's) version from the CVS under
FreeBSD (after running build.sh...)
Unfortunately I had only little success...
There seems to be an error in the Makefiles, because it tries to
find mysql/dbauthmysql.c (which has - according to the cvs -
been moved to auth/athsql.c).
Here is the compiler output:
make clean all
rm -f *.o core mysql/*.o
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
list.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
debug.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
pipe.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -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 -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
dbmd5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
md5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
bounce.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
forward.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
memblock.c
cc -o mysql/dbauthmysql.o -c
mysql/dbauthmysql.c -L/usr/local/lib/mysql/ -I/usr/local/include/mysql/ -I.
cc: mysql/dbauthmysql.c: No such file or directory
cc: No input files specified
*** Error code 1
Stop in /usr/data/software/dbmail.
Well, I tried to surround this, by just sym-linking auth/authsql.c to
mysql/dbauthmysql.c *g*
This just drives me a little further, but not very far...
Here is the compiler output:
make clean all
rm -f *.o core mysql/*.o
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
list.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
debug.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
pipe.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -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 -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
dbmd5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
md5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
bounce.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
forward.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -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 -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
config.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
misc.c
misc.c: In function `itoa':
misc.c:69: warning: implicit declaration of function `malloc'
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_
H 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
pipe.o: In function `insert_messages':
pipe.o(.text+0x6c9): undefined reference to `db_insert_message'
pipe.o(.text+0x6eb): undefined reference to `db_insert_message_block'
pipe.o(.text+0x876): undefined reference to `db_insert_message_block'
pipe.o(.text+0x976): undefined reference to `db_update_message'
pipe.o(.text+0x9a5): undefined reference to `db_check_sizelimit'
pipe.o(.text+0xb8e): undefined reference to `db_get_notify_address'
pipe.o(.text+0xc39): undefined reference to `db_get_reply_body'
forward.o: In function `pipe_forward':
forward.o(.text+0x382): undefined reference to `db_send_message_lines'
forward.o(.text+0x496): undefined reference to `db_send_message_lines'
*** Error code 1
Stop in /usr/data/software/dbmail.
If anyone has any ideas to solve this, or hints on how to get dbmail 2.0
compiling
under FreeBSD I appricate it!
cu
Andreas Hopfenblatt
after successfully testing the debian packages of dbmail 2.0 beta,
I tried to compile the latest (today's) version from the CVS under
FreeBSD (after running build.sh...)
Unfortunately I had only little success...
There seems to be an error in the Makefiles, because it tries to
find mysql/dbauthmysql.c (which has - according to the cvs -
been moved to auth/athsql.c).
Here is the compiler output:
make clean all
rm -f *.o core mysql/*.o
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
list.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
debug.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
pipe.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -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 -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
dbmd5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
md5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
bounce.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
forward.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
memblock.c
cc -o mysql/dbauthmysql.o -c
mysql/dbauthmysql.c -L/usr/local/lib/mysql/ -I/usr/local/include/mysql/ -I.
cc: mysql/dbauthmysql.c: No such file or directory
cc: No input files specified
*** Error code 1
Stop in /usr/data/software/dbmail.
Well, I tried to surround this, by just sym-linking auth/authsql.c to
mysql/dbauthmysql.c *g*
This just drives me a little further, but not very far...
Here is the compiler output:
make clean all
rm -f *.o core mysql/*.o
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
list.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
debug.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
pipe.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -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 -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
dbmd5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
md5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
bounce.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
forward.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -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 -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
config.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H -c
misc.c
misc.c: In function `itoa':
misc.c:69: warning: implicit declaration of function `malloc'
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_
H 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
pipe.o: In function `insert_messages':
pipe.o(.text+0x6c9): undefined reference to `db_insert_message'
pipe.o(.text+0x6eb): undefined reference to `db_insert_message_block'
pipe.o(.text+0x876): undefined reference to `db_insert_message_block'
pipe.o(.text+0x976): undefined reference to `db_update_message'
pipe.o(.text+0x9a5): undefined reference to `db_check_sizelimit'
pipe.o(.text+0xb8e): undefined reference to `db_get_notify_address'
pipe.o(.text+0xc39): undefined reference to `db_get_reply_body'
forward.o: In function `pipe_forward':
forward.o(.text+0x382): undefined reference to `db_send_message_lines'
forward.o(.text+0x496): undefined reference to `db_send_message_lines'
*** Error code 1
Stop in /usr/data/software/dbmail.
If anyone has any ideas to solve this, or hints on how to get dbmail 2.0
compiling
under FreeBSD I appricate it!
cu
Andreas Hopfenblatt