From: "David S." Date: 2001-02-11T13:28:16+09:00 Subject: [ruby-talk:10699] Re: MySQL Ruby Driver installation issue 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 #include in "mysql.c" to #include #include If they are in "//mysql", you'll need to put "-I/" in $CPPFLAGS in your Makefile. David S. > > Jason > > > > Sent via Deja.com > http://www.deja.com/