Problems building mysql ruby 2.4.4 on 1.8

I am trying to build MySQL and when I run:

ruby extconf.rb --with-mysql-lib=/Library/MySQL/lib/mysql
–with-mysql-include=/Library/MySQL/include

I get the following error:

checking for mysql_query() in -lmysqlclient… yes
checking for mysql.h… no
checking for mysql/mysql.h… yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)

Did the mkmf.rb utility change much in 1.8?

Oh, and I am building this on OS X Jaguar with
mysql Ver 11.18 Distrib 3.23.54, for apple-darwin6.3 (powerpc)

I had the same problem trying to build it last night with 1.8 preview 1
on Intel architecture on Redhat 8.0. Incidentally, it failed to build an
earlier version of the library which used a different method of finding
cpp (find cpp). I don’t know what the workaround is.

-Gabriel

···

On Wed, 05 Feb 2003 06:44:05 +0900, Richard Kilmer wrote:

I am trying to build MySQL and when I run:

ruby extconf.rb --with-mysql-lib=/Library/MySQL/lib/mysql
–with-mysql-include=/Library/MySQL/include

I get the following error:

checking for mysql_query() in -lmysqlclient… yes
checking for mysql.h… no
checking for mysql/mysql.h… yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)

Did the mkmf.rb utility change much in 1.8?

Oh, and I am building this on OS X Jaguar with
mysql Ver 11.18 Distrib 3.23.54, for apple-darwin6.3 (powerpc)