Bug #1964: Compile Issue on Solaris 10 http://redmine.ruby-lang.org/issues/show/1964 Author: Brian Toal Status: Open, Priority: High ruby -v: 1.9.1 I'm trying to compile ruby-1.9.1-p243 on Solaris 10. $ uname -a SunOS condor 5.10 Generic_141414-01 sun4u sparc SUNW,Sun-Fire-V240 Running make I get the following error: $ make cc -I. -I../../.ext/include/sparc-solaris2.10 -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/tcg/tcg_app/tools/include -I/tcg/tcg_app/openssl/rel/include -KPIC -fast -xarch=v9 -xcode=pic32 -g -I/usr/sfw/include -o ossl_asn1.o -c ossl_asn1.c "ossl_asn1.c", line 704: improper member use: ptr "ossl_asn1.c", line 704: improper member use: len "ossl_asn1.c", line 987: improper member use: ptr "ossl_asn1.c", line 987: improper member use: len cc: acomp failed for ossl_asn1.c make: *** [ossl_asn1.o] Error 2 What does "improper member use" mean and how do I resolve this?
on 2009-08-20 09:01
on 2009-08-31 17:48
Issue #1964 has been updated by Brian Toal. I forgot to include the compile options and environment variables that I used. ./configure --prefix=/tcg/tcg_app/ruby/1.9.1-p243 --without-gcc export PATH=/opt/SUNWspro/bin:$PATH export CC=cc export CXX=CC export CFLAGS="-fast -xarch=v9 -xcode=pic32" export CXXFLAGS="-fast -xarch=v9 -xcode=pic32" export CPPFLAGS="-I$HOME/tools/include -I$HOME/openssl/rel/include" export LDFLAGS="-L$HOME/tools/lib" ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1964
on 2009-10-16 03:06
Issue #1964 has been updated by Yui NARUSE. Status changed from Open to Rejected Solaris is not supported. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1964
on 2009-10-16 03:26
Yui NARUSE wrote: > Issue #1964 has been updated by Yui NARUSE. > > Status changed from Open to Rejected > > Solaris is not supported. > ---------------------------------------- > http://redmine.ruby-lang.org/issues/show/1964 You're not supporting Solaris the OS? Or the Sun compiler? Or OpenSSL on Solaris? Regards, Dan
on 2009-10-16 06:51
2009/10/16 10:25, Daniel Berger wrote: > You're not supporting Solaris the OS? Or the Sun compiler? Or OpenSSL on > Solaris? OS and its environment. We don't have them, so we can't reproduce problems arround them. This is why those are not supported. If you have a patch and it clearly doesn't have side effects, the patch may be imported.
on 2009-10-17 04:01
Issue #1964 has been updated by Hiro Asari. '-xarch=v9' (or its modern replacement '-m64') appears to be problematic. Without CFLAGS as specified above, Sun's C compiler can create the ruby binary just fine. If I had more time to investigate, I might, but for now, that's the answer to this problem. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1964
on 2010-09-01 00:22
Issue #1964 has been updated by Charles Stephens. File 1964-proposed-fix.diff added This is a bug ext/openssl/ruby_missing.h where the rb_str_set_len macro didn't take into account changes in 'struct RString' from 1.8 to 1.9. Attached is a proposed fix with corrects the problem. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1964
on 2010-09-01 02:27
Issue #1964 has been updated by Yui NARUSE. Priority changed from High to Normal 1.9 has rb_str_set_len in ruby.h, so the definition is not used. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1964
on 2010-09-01 06:33
Issue #1964 has been updated by Charles Stephens. Someone tell ext/openssl then, it is still using its own private erroneous macro. ;) ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1964
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.