> The next error in your original post is "cc: language ildoff not
> recognized "
This message doesn't occur any more. This is what I got now:
-------------------------------------------
 gem install mysql -- 
--with-mysql-config=/opt/csw/mysql5/bin/mysql_config 
--with-mysql-include=/opt/csw/mysql5/include 
--with-mysql-lib=/opt/csw/mysql5/lib
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
        ERROR: Failed to build gem native extension.

/opt/csw/bin/ruby extconf.rb install mysql -- 
--with-mysql-config=/opt/csw/mysql5/bin/mysql_config 
--with-mysql-include=/opt/csw/mysql5/include 
--with-mysql-lib=/opt/csw/mysql5/lib
checking for mysql_ssl_set()... no
checking for mysql.h... yes
gcc: language arch=v8 not recognized
gcc: conftest.c: linker input file unused because linking not done
creating Makefile

make
/opt/csw/gcc3/bin/gcc -I. -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.8 
-I. -DHAVE_MYSQL_H  -I/opt/csw/include -I/opt/csw/include 
-I/opt/csw/mysql5/include/mysql  -mt -D_FORTEC_ -xarch=v8 
-D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -I/opt/csw/mysql5/include 
-DHAVE_RWLOCK_T -fPIC -g -O2 -c mysql.c
gcc: language arch=v8 not recognized
gcc: mysql.c: linker input file unused because linking not done
/opt/csw/gcc3/bin/gcc -Wl, -G -o mysql.so mysql.o -L'.' -L'/opt/csw/lib' 
-Wl, -R'/opt/csw/lib' -L.   -L/opt/csw/lib -L/opt/csw/lib  -R 
/opt/csw/lib -L/opt/csw/lib -lruby -L/opt/csw/lib/32 
-L/opt/csw/mysql5/lib/mysql -lmysqlclient -lz -lposix4 -lresolv -lc 
-lgen -lsocket -lnsl -lm  -L/opt/csw/lib -lssl -lcrypto  -lrt -lpthread 
-ldl -lcrypt -lm   -lc
ld: fatal: file : open failed: No such file or directory
ld: fatal: file : open failed: No such file or directory
ld: fatal: File processing errors. No output written to mysql.so
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `mysql.so'


Gem files will remain installed in 
/opt/csw/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
Results logged to /opt/csw/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
-------------------------------------------

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to