hello
I just downloaded mysql-ruby-2.4.4
and I can not compile it:
ruby extconf.rb --with-mysql-config
checking for mysql.h… yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)
I have ruby
ruby 1.8.0 (2003-03-03) [i686-linux]
and MySQL 4.0.12 on RedHat 7.3
any ideas what is wrong here ?
Markus
Try the attached patch to extconf.rb. It works for me.
Ian
ruby-mysql.diff (512 Bytes)
···
On Sun 08 Jun 2003 at 17:14:35 +0900, Markus Jais wrote:
hello
I just downloaded mysql-ruby-2.4.4
and I can not compile it:
ruby extconf.rb --with-mysql-config
checking for mysql.h… yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)
I have ruby
ruby 1.8.0 (2003-03-03) [i686-linux]
and MySQL 4.0.12 on RedHat 7.3
–
Ian Macdonald | A man who cannot seduce men cannot save
System Administrator | them either. – Soren Kierkegaard
ian@caliban.org |
http://www.caliban.org |
>
Ian Macdonald wrote:
hello
I just downloaded mysql-ruby-2.4.4
and I can not compile it:
ruby extconf.rb --with-mysql-config
checking for mysql.h… yes
creating Makefile
extconf.rb:33: uninitialized constant CPP (NameError)
I have ruby
ruby 1.8.0 (2003-03-03) [i686-linux]
and MySQL 4.0.12 on RedHat 7.3
Try the attached patch to extconf.rb. It works for me.
Ian
thanks. now it works.
I had to call extconf.rb like this.
ruby extconf.rb --with-mysql-config
otherwise the Makefile does nothing when calling
make
Thank you!
Markus
···
On Sun 08 Jun 2003 at 17:14:35 +0900, Markus Jais wrote: