Now it's my turn to help someone! :) I didn't know where I got the solution for this... I think I was just browsing google for this. Anyway, you need to do a "touch .depend". If this file (.depend) is missing, the make instruction fails.
Hope that helps. Fritz Mesedilla --- + Basta Ikaw Lord > -----Original Message----- > From: Peter Beckman [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 10, 2004 1:50 AM > To: kannel users list > Subject: MySQL Include Dir a problem > > > Under the recent problem a guy had, I'm having a similar problem... > > Configuring DB support ... > checking whether to compile with MySQL support... searching > in /usr/local/mysql > checking for /usr/local/mysql/include/mysql/mysql.h... no > checking for /usr/local/mysql/include/mysql.h... yes > checking for mysql/mysql.h... (cached) no > checking for mysql/mysql_com.h... (cached) no > checking for mysql/mysql_version.h... (cached) no > checking for mysql_init in -lmysqlclient... (cached) no > checking whether to compile with MySQL support... yes > checking whether to compile with LibSDB support... disabled > > Configuring DLR support ... > checking for DLR storage type... mysql > > Generating output files ... > updating cache ./config.cache > creating ./config.status > creating Makefile > creating config.h > config.h is unchanged > (root) opera-stg: 0 : ~/gateway-1.3.1 --> make > Makefile:304: .depend: No such file or directory > for dir in gw gw/smsc gwlib test utils wmlscript checks wap; do \ > gcc -D_REENTRANT=1 -I. -Igw -g -O2 > -I/usr/local/include/libxml2 -I/usr/local/mysql/include -MM > $dir/*.c | sed "s:^[^ ]:$dir/&:"; done > .depend > In file included from gw/bearerbox.c:23: > gw/dlr.h:31:25: warning: mysql/mysql.h: No such file or directory > In file included from gw/dlr.c:33: > gw/dlr.h:31:25: warning: mysql/mysql.h: No such file or directory > In file included from gw/smsc/smsc_at2.c:36: > gw/dlr.h:31:25: warning: mysql/mysql.h: No such file or directory > In file included from gw/smsc/smsc_cgw.c:64: > > > I know what's wrong, but it is just annoying. > > The config script finds /usr/local/mysql/include/mysql.h > > But the following GCC does not. ARGH! > > Beckman > -------------------------------------------------------------- > ------------- > Peter Beckman > Internet Guy > [EMAIL PROTECTED] http://www.purplecow.com/ ---------------------------------------------------------------------------
