OpenQNX :: The QNX Community Portal

May 13, 2008 - 12:13 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 56 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
maschoen
Post subject: ruby under QNX 6.3.2  PostPosted: Sep 08, 2006 - 04:22 AM
QNX Master


Joined: Jun 25, 2003
Posts: 974

Just a tip in case anyone else is crazy enough to want to get some of this newer web stuff running on QNX. If you want to get a current version of ruby work, before you start, get the latest version of zlib and install it. Make sure you replace /usr/libz.so with the the libz.so that zlib puts in /usr/local/lib. This will save much time in the future.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
rlb
Post subject: RE: ruby under QNX 6.3.2  PostPosted: Dec 07, 2006 - 11:36 PM
Active Member


Joined: Mar 17, 2004
Posts: 79
Location: USA - Pacific Northwest
So...
Are you crazy, er, brave enough to try running Ruby on QNX 6.3.x?
If so, please share experience or point to same posted elsewhere.

Bob
 
 View user's profile Send private message  
Reply with quote Back to top
maschoen
Post subject: Re: RE: ruby under QNX 6.3.2  PostPosted: Dec 08, 2006 - 12:38 AM
QNX Master


Joined: Jun 25, 2003
Posts: 974

rlb wrote:
So...
Are you crazy, er, brave enough to try running Ruby on QNX 6.3.x?
If so, please share experience or point to same posted elsewhere.

Bob


Here's my recollection from a couple of months ago. Aside from the comment I made getting the latest zlib, the configuration and build of ruby went without much effort. I also downloaded and got the rails framework working. Again, it just seemed to work as advertised the first time. I know that mod_ruby exists as a loadable addition to Apache, but I haven' tried it yet.

I don't think "crazy" is at all out of line. Wink.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
starless
Post subject: RE: Re: RE: ruby under QNX 6.3.2  PostPosted: Mar 09, 2007 - 03:06 PM
Active Member


Joined: Sep 21, 2003
Posts: 69

Hi maschoen,
I'm also willing to use Ruby on QNX 6.3.x. I'm currently running 6.3.0.
Ruby 1.8.5 compiled without any effort.
The 'make install' fails though: when trying to install bin/ri, it throws:
./instruby.rb:174:in 'truncate' : File too large - /usr/local/bin/ri (Errno::EFBIG).

Note that 'configure' reports: 'checking for _LARGE_FILES value needed for large files... no'.
But this didn't bother the build.

Did you face this?
Also, why do you recommend updating libz?

Glad to see we're a few in the sandbox!

Thanks for your help,
Martin
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
maschoen
Post subject: RE: Re: RE: ruby under QNX 6.3.2  PostPosted: Mar 09, 2007 - 08:23 PM
QNX Master


Joined: Jun 25, 2003
Posts: 974

Martin,

Off the top of my head, I don't know which version of ruby I'm running. I recall that the make and install went without a hitch. If you want, I'll check further.

Mitchell
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
starless
Post subject: RE: Re: RE: ruby under QNX 6.3.2  PostPosted: Mar 09, 2007 - 09:08 PM
Active Member


Joined: Sep 21, 2003
Posts: 69

Mitchell,
It would be kind of you to provide your working setup, if handy.
I'll try 1.8.4 in the meantime and post the results here.
Thanks,
Martin
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
maschoen
Post subject: Re: RE: Re: RE: ruby under QNX 6.3.2  PostPosted: Mar 09, 2007 - 10:03 PM
QNX Master


Joined: Jun 25, 2003
Posts: 974

starless wrote:
Mitchell,
It would be kind of you to provide your working setup, if handy.
I'll try 1.8.4 in the meantime and post the results here.
Thanks,
Martin


It is version 1.8.5. I've archived it and placed at anonymous ftp at schoenbrun.com, name ruby-1.8.5.pax.F. In theory, you should just have to de-archive this to a QNX 6.3 system, and run "make install".
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
starless
Post subject: RE: Re: RE: Re: RE: ruby under QNX 6.3.2  PostPosted: Mar 14, 2007 - 03:46 PM
Active Member


Joined: Sep 21, 2003
Posts: 69

Thanks Mitchel, I will certainly give this a try.
Here are my results building ruby 1.8.4, 1.8.5 and 1.8.6:
QNX630: They all build succesfully but they all fail at some point during make install, complaining about 'File too large...'. See previous post in this thread.
QNX621B: They all build succesfully and seems to install succesfully too. The install process throws exceptions at the beginning, but completes somehow. ruby --version reports the right version. No further tests were performed yet.
Code:
QNX-DEV /home/martin/home630/ruby-1.8.5# make install
./miniruby ./instruby.rb --dest-dir="" --make="make" --mflags="" --make-flags="" --mantype="man"
unknown symbol: rb_eRuntimeError
unknown symbol: rb_eArgError
unknown symbol: rb_check_safe_obj
unknown symbol: rb_ary_new
unknown symbol: rb_define_module
unknown symbol: rb_int2inum
unknown symbol: rb_tainted_str_new2
unknown symbol: rb_define_module_function
unknown symbol: rb_scan_args
unknown symbol: rb_global_variable
unknown symbol: rb_struct_define
unknown symbol: rb_num2long
unknown symbol: rb_ensure
unknown symbol: rb_sys_fail
unknown symbol: rb_string_value
unknown symbol: rb_secure
unknown symbol: rb_ary_push
unknown symbol: rb_block_given_p
unknown symbol: rb_raise
unknown symbol: rb_struct_new
unknown symbol: rb_yield
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
starless
Post subject: RE: Re: RE: Re: RE: ruby under QNX 6.3.2  PostPosted: Apr 04, 2007 - 08:38 PM
Active Member


Joined: Sep 21, 2003
Posts: 69

Unfortunately, I got the exact same error when installing from your archive.
I'm still working on it and I'll post my progress.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.