B
Brian Candler
$ pwd
/home/brian/work/mysql-ruby-2.4.4
$ ruby extconf.rb --with-mysql-dir=/usr/local/mysql
checking for mysql_query() in -lmysqlclient... yes
checking for mysql.h... yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)
Line 33 says:
cpp = Config::expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '')
It seems this was defined in ruby-1.6.8:
$ ruby16 -v -rmkmf -e 'p CPP'
ruby 1.6.8 (2002-12-24) [i386-freebsd4.7]
"gcc -E -E %s -I$(rubylibdir)/$(arch) -g -O2 %s %s conftest.c"
Anybody know what I should change this to?
Thanks,
Brian.
/home/brian/work/mysql-ruby-2.4.4
$ ruby extconf.rb --with-mysql-dir=/usr/local/mysql
checking for mysql_query() in -lmysqlclient... yes
checking for mysql.h... yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)
Line 33 says:
cpp = Config::expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '')
It seems this was defined in ruby-1.6.8:
$ ruby16 -v -rmkmf -e 'p CPP'
ruby 1.6.8 (2002-12-24) [i386-freebsd4.7]
"gcc -E -E %s -I$(rubylibdir)/$(arch) -g -O2 %s %s conftest.c"
Anybody know what I should change this to?
Thanks,
Brian.