MARTIN Pierre
2005-Sep-21 23:59 UTC
[Samba] Samba with Mysql, compilation problem. (Additionnal information)
Hey people, i just had a compilation error! I'm pretty happy because it means that i am doing something wrong. It seems that the compiler doesn't find mysql.h include header file. The point is that i have all these includes files in this folder: /usr/local/mysql/include/mysql/ The ./configure call which has failed had: --enable-mysql --with-mysql --with-mysql-prefix=/usr/local/mysql --with-mysql-exec-prefix=/usr/mysql/bin --with-expsam=mysql at the end, i just added the bin suffix... So maybe the version are not compatible for each other? :O MySql version (14.7) Distrib 4.1.14 Samba Version (Which i wish to compile) is 3.0.14a Any advice? And sorry for the bad english! Pierre
paul kölle
2005-Sep-22 15:53 UTC
[Samba] Re: Samba with Mysql, compilation problem. (Additionnal information)
MARTIN Pierre wrote:> Hey people, > > i just had a compilation error! I'm pretty happy because it means that i > am doing something wrong. It seems that the compiler doesn't find > mysql.h include header file. The point is that i have all these includes > files in this folder: > /usr/local/mysql/include/mysql/ >try: CFLAGS="$CFLAGS -I/usr/local/mysql/include/" LDFLAGS="$LDFLAGS -L/usr/local/mysql/lib" ./configure --foo --bar not sure if you have to add the last /mysql/ part also, just try it ;) hth Paul