Extosf.rb faylini centosda 1,8,7 rubl uchun topib bo'lmadi?

Men talab qildim: bunday faylni yuklab olish uchun - readline (LoadError) xatosi. Ushbu muammoni hal qilish uchun quyidagi buyruqni ishlatganman.

yum install ncurses-devel readline-devel  

Davom etish uchun quyidagi buyruqlarni bajaring

ruby extconf.rb
make && make install

Extconf.rb manzilini topishim kerak.

EDIT: "find -name extconf.rb" ni sinab ko'rdim, ammo natijalar mos emas ../ext/readline/extconf.rb

0

1 javoblar

extconf.rb is inside the archive of the ruby library you are trying to compile, in this case readline. So basically you have to go into wherever the source code of ruby is stored and issue the commands you mentioned, e.g.

$ /usr/local/src/ruby-1.9.2-p0/ext/readline
$ ruby extconf.rb
$ make install
1
qo'shib qo'ydi
'ruby -v' ruby ​​1.8.7 (2008-05-31 patchlevel 0) [i686-linux] va "Ruby"/usr/local/bin/ruby ​​ni ko'rsatadi, lekin/usr/local/src /
qo'shib qo'ydi muallif Soundar Rathinasamy, manba
OK yaxshi. Rahmat man :)
qo'shib qo'ydi muallif Soundar Rathinasamy, manba
Stuff har doim ishlaydi! Men tooooooo.Thank you :)
qo'shib qo'ydi muallif Soundar Rathinasamy, manba
Keyin manbai yuklab oling.
qo'shib qo'ydi muallif Michael Kohl, manba
Yordam berishdan mamnunman! Iltimos, javobingizni qabul qiling va/yoki ushbu javobni, agar siz qidirayotgan narsangiz bo'lsa, yuklab qo'ying. Bundan tashqari, sizning narsalaringiz siz uchun ishlayotganligini bilib qo'ying!
qo'shib qo'ydi muallif Michael Kohl, manba