I've never been able to get it to compile using configure.  I might be 
because I'm using RedHat.  I also tried to get it to configure against 
MySQL 4.0.10 and it complained about compress.  It didn't until I had 
upgraded from 3.23.49.  I was trying to see if I could get it to work.

Curtis

On Tue, 25 Feb 2003, Jesse Norell wrote:

> 
> Hello,
> 
>   Try adding -lz .. the compress stuff is in libz.  Alternatively,
> there is a nice autoconf system - just run ./configure --with-mysql
> and you'll probably be set.  There's also a guy who recently made
> .deb's for dbmail; I've not heard of a dbmail 1.1 .deb yet, but
> it may be done.
> 
> 
> 
> ---- Original Message ----
> From: Markus Welsch <dbmail@dbmail.org>
> To: dbmail@dbmail.org
> Subject: [Dbmail] dbmail setup
> Sent: Tue, 25 Feb 2003 16:24:09 +0100
> 
> > Hi all,
> > 
> > Today I tried installing dbMail v1.1. I've downloaded the MySQL-Max 3.55 
> > binary
> > (Linux libc) and extracted that to /usr/local/mysql, changed permissions, 
> > etc
> > according to the INSTALL-BINARY instruction file. Afterwards I tried 
> > running the
> > 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:
> > /usr/local/mysql/lib
> > The include directory for MySQL is now [/usr/include/mysql/].
> > Enter new directory or press RETURN to keep this setting:
> > /usr/local/mysql/include
> > The libraries are currently set to [-lmysqlclient -lcrypto].
> > 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?
> > 
> > ./build.sh: [: =: unary operator expected
> > 
> > 
> > Okay ... so I did the make clean all manually and ended up with the 
> > following:
> > 
> > rm -f *.o core mysql/*.o
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o list.o list.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o debug.o debug.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o pipe.o pipe.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o mime.o mime.c
> > cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/local/mysql/lib
> > -I/usr/local/mysql/include
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o dbmd5.o dbmd5.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o md5.o md5.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o bounce.o bounce.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o forward.o forward.c
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o memblock.o memblock.c
> > cc -o mysql/dbauthmysql.o -c mysql/dbauthmysql.c -L/usr/local/mysql/lib
> > -I/usr/local/mysql/include
> > cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o config.o config.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 -L/usr/local/mysql/lib
> > -I/usr/local/mysql/include -lmysqlclient -lcrypto
> > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
> > `my_compress_alloc':
> > my_compress.o(.text+0xb4): undefined reference to `compress'
> > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function 
> > `my_uncompress':
> > my_compress.o(.text+0x12a): undefined reference to `uncompress'
> > collect2: ld returned 1 exit status
> > make: *** [smtp] Error 1
> > 
> > 
> > Can anybody provide help here ?
> > I'm using Debian 3.0r1 btw!
> > 
> > 
> > 
> > Kind Regards,
> > 
> > Markus
> > 
> > 
> > _______________________________________________
> > Dbmail mailing list
> > Dbmail@dbmail.org
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> > 
> -- End Original Message --
> 
> 
> --
> Jesse Norell
> [EMAIL PROTECTED]
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 
--
Curtis Maurand
mailto:[EMAIL PROTECTED]
http://www.maurand.com


Reply via email to