On Sun, Feb 11, 2001 at 12:40:02PM +0900, Jason wrote: > > gcc -fPIC -g -O2 -I/usr/local/mysql/include - > I/usr/local/lib/ruby/1.6/i586-linux -I/usr/local/include -c -o > mysql.o mysql.c > mysql.c:6: mysql/mysql.h: No such file or directory > mysql.c:7: mysql/errmsg.h: No such file or directory > make: *** [mysql.o] Error 1 > > Any ideas? I want to get web developing soon! Well, where are "mysql.h" and "errmsg.h"? (Hint: find / \( -name 'mysql.h' -o -name 'errmsg.h' \) -print.) If they are indeed in "/usr/local/mysql/include", you'll need the change the lines #include <mysql/musql.h> #include <mysql/errmsg.h> in "mysql.c" to #include <mysql.h> #include <errmsg.h> If they are in "/<some path>/mysql", you'll need to put "-I/<some path>" in $CPPFLAGS in your Makefile. David S. > > Jason > > > > Sent via Deja.com > http://www.deja.com/