Try something like this before configuring:
export CFLAGS="-I/usr/local/include/mysql"
export LDFLAGS="-L/usr/local/lib/mysql -lmysqlclient"
directories obviously subject to change...
> -----Original Message-----
> From: courier-maildrop-admin@... [mailto:courier-
> maildrop-admin@...] On Behalf Of Rolan Yang
> Sent: Friday, April 25, 2003 9:39 AM
> To: Emiliano; courier-maildrop@...
> Subject: Re: [maildropl] make fails (SOLVED, but maybe not the best
way?)
>
> The same thing happened to me yesterday while compiling on a FreeBSD
> machine.
> mysql.h and errormsg.h is on my system, but the compiler didn't know
> where to find them.
>
> I'm no expert when it comes to compiler directives, but what I did was
> create a symlink
> from the location of the mysql files to
"./maildrop-1.5.2/maildrop/mysql"
>
> example:.
> cd maildrop-1.5.2/maildrop
> ln -s /usr/local/mysql/include mysql
>
> ~Rolan
>
> Emiliano wrote:
>
> >I'm using maildrop-1.5.2 and i'm trying to compile with mysql
support.
> >this runs fine :
> >./configure --enable-maildropmysql --with-
> mysqlconfig=/etc/maildrop_mysql.co
> >nf
> >when i do: make
> >gives me an error:
> >Compiling mdmysql.c
> >mdmysql.c:10:25: mysql/mysql.h: No existe el fichero o el directorio
> >mdmysql.c:11:26: mysql/errmsg.h: No existe el fichero o el directorio
> >make[2]: *** [mdmysql.o] Error 1
> >make[2]: Saliendo directorio `/usr/root/maildrop-1.5.2/maildrop'
> >make[1]: *** [all] Error 2
> >make[1]: Saliendo directorio `/usr/root/maildrop-1.5.2/maildrop'
> >make: *** [all-recursive] Error 1
> >
> >Any ideas ?...
> >I have mysql installed.
> >Tks...
> >Emiliano.
> >
> >
> >
> >
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Courier-maildrop mailing list
> Courier-maildrop@...
> https://lists.sourceforge.net/lists/listinfo/courier-maildrop
|