Ruby 1.8.7 and openssl failed compile

I got this error:

    ossl_ssl.c: In function ?ossl_sslctx_get_ciphers?:     ossl_ssl.c:626:19: error: ?STACK? undeclared (first use in this function)     ossl_ssl.c:626:19: note: each undeclared identifier is reported only once for each function it appears in     ossl_ssl.c:626:25: error: expected expression before ?)? token     ossl_ssl.c:629:47: error: expected expression before ?)? token     ossl_ssl.c:629:47: error: too few arguments to function ?sk_value?     /usr/include/openssl/stack.h:80:7: note: declared here     ossl_ssl.c: In function ?ossl_ssl_get_peer_cert_chain?:     ossl_ssl.c:1199:5: warning: passing argument 1 of ?sk_num? from incompatible pointer type     /usr/include/openssl/stack.h:79:5: note: expected ?const struct _STACK *? but argument is of type ?struct stack_st_X509 *?     ossl_ssl.c:1202:2: warning: passing argument 1 of ?sk_value? from incompatible pointer type     /usr/include/openssl/stack.h:80:7: note: expected ?const struct _STACK *? but argument is of type ?struct stack_st_X509 *?     ossl_ssl.c: In function ?ossl_ssl_get_cipher?:     ossl_ssl.c:1224:12: warning: assignment discards qualifiers from pointer target type     make[1]: *** [ossl_ssl.o] Error 1     make: *** [all] Error 1

I fund this help: Read . Write . Sleep: Ruby 1.8.7 and openssl 1.0.0 but patch is not working:        patch: **** Only garbage was found in the patch input. Whats wrong?

I use Fedora Core 13

i am following step by step tutorial of lyndan.com of basic ruby on rails.

in chaptar 12 when i am creating scaffold then it is not generating controller for albums and artists tables.

please help me out. And all file and folder is generating.

see code…

C:\InstantRails-2.0-win_2\rails_apps\music_library>ruby script/generate scaffold Album id:int title:varchar artist_old:varchar release_date:datetime genre:varchar created _at:datetime updated_at:datetime image_path:varchar artist_id:int exists app/models/ exists app/controllers/ exists app/helpers/ exists app/views/albums exists app/views/layouts/ exists test/functional/ exists test/unit/ identical app/views/albums/index.html.erb identical app/views/albums/show.html.erb identical app/views/albums/new.html.erb identical app/views/albums/edit.html.erb identical app/views/layouts/albums.html.erb identical public/stylesheets/scaffold.css dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical app/models/album.rb identical test/unit/album_test.rb skip test/fixtures/albums.yml exists db/migrate Another migration is already named create_albums: db/migrate/001_create_albums.rb

here controller.rb file is not present

thanks in advance

You need ruby 1.8.7-p299. Earlier versions don't compile against openssl 1.0.0 without patching.

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p299.tar.gz

Cheers, Gary.

I fix it. Other patch was worked

how i will update my gem of InstantRails-2.0-win_2 Or complite InstantRails-2.0-win_2

please help me

thanks in adv!!!