Hello,
That's strange .. looks like it's not finding your libmysqlclient
in /usr/local/lib/mysql. Check mysqllibpaths= line in your configure
script; is it in there? It should have:
mysqllibpaths="/usr/lib /usr/local/lib /lib /usr/freeware/lib \
/usr/freeware/lib32 $HOME/lib $HOME/mysql/lib \
/usr/lib/mysql /usr/local/lib/mysql $HOME/lib/mysql $HOME"
I just grabbed cvs and compiled this, and it worked (my
libmysqlclient is in /usr/lib):
mail2:/usr/src/dbmail# ./grab_latest_cvs
Press [Enter] at 'CVS password:' prompt
Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot-dbmail
CVS password:
Got latest cvs code - in directory dbmail-20030318
mail2:/usr/src/dbmail# cd dbmail-20030318/
mail2:/usr/src/dbmail/dbmail-20030318# ls
AUTHORS README config.c dbtest.c injector.c
memblock.c pop3.c serverchild.c
COPYING TODO config.in debug.c
install-dbmail.sh memblock.h pop3.h serverchild.h
CVS VERSION configure debug.h list.c
mime.c pop3d.c settings.c
ChangeLog acconfig.h configure.in forward.c list.h
mime.h proctitleutils.c smtp-convert.c
EXTRAS acinclude.m4 db.h forward.h main.c
mini-injector.c proctitleutils.h sql
INSTALL aclocal.m4 dbmail.conf imap4.c main.h
misc.c quota.c sstack.c
Makefile.am auth.h dbmail.h imap4.h maintenance.c
misc.h quota.h sstack.h
Makefile.concept bounce.c dbmailtypes.h imapcommands.c maintenance.h
mysql raw-convert.c user.c
Makefile.in bounce.h dbmd5.c imapcommands.h man
mysql2pgsql rfcmsg.c user.h
Makefile.mysql build.sh dbmd5.h imapd.c mbox2dbmail.c
pgsql rfcmsg.h vut2dbmail.c
Makefile.pgsql buildtools dbmsgbuf.h imaputil.c md5.c
pipe.c server.c
NEWS clientinfo.h dbsearch.h imaputil.h md5.h
pipe.h server.h
mail2:/usr/src/dbmail/dbmail-20030318# ./configure --with-mysql
creating cache ./config.cache
This is dbmail's GNU configure script.
It's going to run a bunch of strange tests to hopefully
make your compile work without much twiddling.
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ranlib... ranlib
checking for mysql.h... /usr/include/mysql/mysql.h
checking for mysql_real_connect in -lmysqlclient... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for working const... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for endian.h... yes
checking for crypt.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating mysql/Makefile
creating pgsql/Makefile
creating config.h
mail2:/usr/src/dbmail/dbmail-20030318# make
make all-recursive
make[1]: Entering directory `/usr/src/dbmail/dbmail-20030318'
Making all in mysql
make[2]: Entering directory `/usr/src/dbmail/dbmail-20030318/mysql'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I /usr/include/mysql -g -O2 -c
dbauthmysql.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I /usr/include/mysql -g -O2 -c dbmysql.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I /usr/include/mysql -g -O2 -c
dbmsgbufmysql.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I /usr/include/mysql -g -O2 -c
dbsearchmysql.c
rm -f libmysqldbmail.a
ar cru libmysqldbmail.a dbauthmysql.o dbmysql.o dbmsgbufmysql.o dbsearchmysql.o
ranlib libmysqldbmail.a
make[2]: Leaving directory `/usr/src/dbmail/dbmail-20030318/mysql'
Making all in pgsql
make[2]: Entering directory `/usr/src/dbmail/dbmail-20030318/pgsql'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/dbmail/dbmail-20030318/pgsql'
make[2]: Entering directory `/usr/src/dbmail/dbmail-20030318'
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c config.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c list.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c debug.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c dbmd5.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c md5.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c mime.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c pipe.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c bounce.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c forward.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c memblock.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c misc.c
gcc -g -O2 -o dbmail-smtp -lmysqlclient config.o list.o debug.o dbmd5.o md5.o
mime.o main.o pipe.o bounce.o forward.o memblock.o misc.o mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c server.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c serverchild.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c pop3.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c pop3d.c
gcc -g -O2 -o dbmail-pop3d -lmysqlclient config.o server.o serverchild.o
pop3.o list.o debug.o dbmd5.o md5.o mime.o misc.o memblock.o pop3d.o
mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c quota.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c imap4.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c imaputil.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c imapcommands.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c rfcmsg.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c imapd.c
gcc -g -O2 -o dbmail-imapd -lmysqlclient quota.o config.o server.o
serverchild.o imap4.o debug.o list.o dbmd5.o md5.o imaputil.o imapcommands.o
mime.o misc.o memblock.o rfcmsg.o imapd.o mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c maintenance.c
gcc -g -O2 -o dbmail-maintenance -lmysqlclient config.o debug.o list.o
dbmd5.o md5.o mime.o memblock.o maintenance.o mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c user.c
gcc -g -O2 -o dbmail-adduser -lmysqlclient config.o debug.o list.o dbmd5.o
md5.o mime.o memblock.o user.o mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c vut2dbmail.c
gcc -g -O2 -o dbmail-readvut -lmysqlclient config.o debug.o list.o dbmd5.o
md5.o mime.o vut2dbmail.o mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c raw-convert.c
gcc -g -O2 -o raw-convertor -lmysqlclient config.o list.o debug.o dbmd5.o
md5.o mime.o raw-convert.o mysql/libmysqldbmail.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c mini-injector.c
gcc -g -O2 -o dbmail-mini-injector -lmysqlclient config.o debug.o list.o
dbmd5.o md5.o mime.o mini-injector.o mysql/libmysqldbmail.a
make[2]: Leaving directory `/usr/src/dbmail/dbmail-20030318'
make[1]: Leaving directory `/usr/src/dbmail/dbmail-20030318'
mail2:/usr/src/dbmail/dbmail-20030318#
---- Original Message ----
From: Igor Olemskoi <[email protected]>
To: [email protected]
Subject: [Dbmail] ;-(
Sent: Tue, 18 Mar 2003 17:44:59 +0200 (EET)
> I have updated CVS code.
> It still doesn't work!
>
> [EMAIL PROTECTED] ~/projects/dbmail]# ./configure --with-mysql
> creating cache ./config.cache
>
> This is dbmail's GNU configure script.
> It's going to run a bunch of strange tests to hopefully
> make your compile work without much twiddling.
>
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for ranlib... ranlib
> checking for mysql.h... /usr/local/include/mysql/mysql.h
> checking for mysql_real_connect in -lmysqlclient... no
> configure: error:
> Unable to link against mysqlclient. It appears you are missing the
> development libraries or they aren't in your linker's path
>
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>
-- End Original Message --
--
Jesse Norell
jesse (at) kci.net