Hi,
On OS X (10.4.6), Rails 1.1.2…
I tried doing a sudo gem update, and this is the result I’m getting:
Upgrading installed gems…
Attempting remote upgrade of mysql
Attempting remote installation of ‘mysql’
Select which gem to install for your platform (powerpc-darwin8.6.0)
- mysql 2.7.2006.04.21 (mswin32)
- mysql 2.7 (ruby)
- mysql 2.6 (ruby)
- mysql 2.5.1 (ruby)
- Cancel installation
2
Building native extensions. This could take a while…
ruby extconf.rb update
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lm… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lz… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lsocket… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lnsl… no
checking for mysql_query() in -lmysqlclient… no
make
make: Nothing to be done for `all’.
make install
/usr/bin/install -c -m 0755 mysql.bundle
/usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib
Successfully installed mysql-2.7
Gems: [mysql] updated
Now, it says “Successfully installed…” but it looks wrong. If I
again do a ‘sudo gem update’, I get the same response - choose the
mysql, same output.
Can anyone let me know what the problem is?
Thanks!
jt
On 4/29/06, John T. [email protected] wrote:
Hi,
On OS X (10.4.6), Rails 1.1.2…
I tried doing a sudo gem update, and this is the result I’m getting:
As a followup, doing the update on a Ubuntu system, I’m getting this:
john@ubuntu:~$ sudo gem update
Upgrading installed gems…
Attempting remote upgrade of mysql
Attempting remote installation of ‘mysql’
Select which gem to install for your platform (i486-linux)
- mysql 2.7.2006.04.21 (mswin32)
- mysql 2.7 (ruby)
- mysql 2.6 (ruby)
- mysql 2.5.1 (ruby)
- Cancel installation
2
Building native extensions. This could take a while…
mysql.c: In function ‘make_field_obj’:
mysql.c:185: warning: unused variable ‘hash’
mysql.c: In function ‘options’:
mysql.c:329: warning: unused variable ‘b’
ruby extconf.rb update
checking for mysql_query() in -lmysqlclient… yes
checking for mysql_ssl_set()… yes
checking for mysql.h… no
checking for mysql/mysql.h… yes
creating Makefile
make
gcc -fPIC -Wall -g -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux
-I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_MYSQL_SSL_SET
-DHAVE_MYSQL_MYSQL_H -I/usr/local/include -c mysql.c
gcc -shared -L"/usr/local/lib" -L"/usr/lib" -o mysql.so mysql.o
-lruby1.8 -lmysqlclient -lpthread -ldl -lcrypt -lm -lc
make install
/usr/bin/install -c -m 0755 mysql.so
/usr/lib/ruby/gems/1.8/gems/mysql-2.7/lib
Successfully installed mysql-2.7
Gems: [mysql] updated
Again… it says it’s updated, but if I enter the command again, it
goes through the same thing. Something is screwy here.
Anyone?
thanks,
jt
On 4/30/06, John T. [email protected] wrote:
On 4/29/06, John T. [email protected] wrote:
Hi,
On OS X (10.4.6), Rails 1.1.2…
I tried doing a sudo gem update, and this is the result I’m getting:
WTF?!?!
I did an update on OS X using the – --with-mysql-config option and it
seemed to go ok. So, as a test, I did another gem update… and I’m
still getting:
Halo:~ john$ sudo gem update
Password:
Upgrading installed gems…
Attempting remote upgrade of mysql
Attempting remote installation of ‘mysql’
Select which gem to install for your platform (powerpc-darwin8.6.0)
- mysql 2.7.2006.04.21 (mswin32)
- mysql 2.7 (ruby)
- mysql 2.6 (ruby)
- mysql 2.5.1 (ruby)
- Cancel installation
2
Building native extensions. This could take a while…
ruby extconf.rb update
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lm… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lz… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lsocket… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lnsl… no
checking for mysql_query() in -lmysqlclient… no
make
make: Nothing to be done for `all’.
make install
make: Nothing to be done for `install’.
Successfully installed mysql-2.7
Gems: [mysql] updated
WTF?? Is something broken and the gem system isn’t seeing that it’s up
to date?
Please !!!
jt
On 4/30/06, John T. [email protected] wrote:
On 4/30/06, John T. [email protected] wrote:
On 4/29/06, John T. [email protected] wrote:
Hi,
On OS X (10.4.6), Rails 1.1.2…
I tried doing a sudo gem update, and this is the result I’m getting:
Errr… No one?
I don’t even see my messages coming through to ruby-forum.com… is
this thing on??
thx,
jt