Author Topic: How to port Ruby 1.9.3 to iOS?  (Read 523 times)

region23

  • Noob
  • *
  • Posts: 6
  • Reputation: 0
How to port Ruby 1.9.3 to iOS?
« on: February 06, 2013, 10:07:43 am »
Subj.
On my ipad I was download tar from ruby-Lang.org, then untar it. & when I try to ./configure it I receive this error:

./configure: line 426: expr: command not found
./configure.lineno: line 426: expr: command not found
./configure.lineno: line 426: expr: command not found
....
....
....
What's mean this error? I google it but not found anything.

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: How to port Ruby 1.9.3 to iOS?
« Reply #1 on: February 06, 2013, 10:21:51 am »
Do you have coreutils installed? I believe expr is included in that. 

region23

  • Noob
  • *
  • Posts: 6
  • Reputation: 0
Re: How to port Ruby 1.9.3 to iOS?
« Reply #2 on: February 06, 2013, 02:03:17 pm »
Thanks! This is help me.
But now I need to install gcc. And when I try to install gcc from cydia it depends from libgcc. But this library is absent in Cydia & googling did't get me solution about install gcc. :((

grinch

  • Administrator
  • Hero Member
  • *****
  • Posts: 1926
  • Reputation: 187
  • the digital grinch who stole your data
    • @DigitalGrinch
  • Badges:
  • iDevices: iPhone 3GS 4.3.3, HTC Evo V 4G ICS
Re: How to port Ruby 1.9.3 to iOS?
« Reply #3 on: February 06, 2013, 06:43:04 pm »
try fakelibgcc
If I help you or you appreciate my work, clicking that +1 button is the best thanks I could get.

My opinions are my own, you may agree or disagree with them, but they are only just that; opinions
For example: facebook is the microsoft of social networks

http://goo.gl/PiVjI

@DigitalGrinch
https://twitter.com/DigitalGrinch

I follow all iNinjas members back. PM me if I am not following you

region23

  • Noob
  • *
  • Posts: 6
  • Reputation: 0
Re: How to port Ruby 1.9.3 to iOS?
« Reply #4 on: February 07, 2013, 10:50:23 pm »
Ok, I installed fakegcc & gcc from this link http://code.google.com/p/iphone-gcc-full/
On step 3 when I try to install headers-lib, I receive this error:
Code: [Select]
dpkg --install headers-libs.deb                 
(Reading database ... 4838 files and directories currently installed.)
Unpacking gcc.all (from headers-libs.deb) ...
dpkg: error processing headers-libs.deb (--install):
 trying to overwrite `/usr/include/sqlite3.h', which is also in package sqlite3
dpkg-deb: subprocess paste killed by signal (Broken pipe: 13)
Errors were encountered while processing:
 headers-libs.deb

Don't like seeing ads? Click here to register!

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: How to port Ruby 1.9.3 to iOS?
« Reply #5 on: February 07, 2013, 11:00:32 pm »
You'll need to force it with the --force parameters, read the man page. They have there package built wrong.