[LRUG] Ruby or JRuby on Solaris

Riccardo Tacconi rtacconi at gmail.com
Wed Oct 21 02:10:40 PDT 2009


Hi,

The sys admin here is trying to install Ruby Enterprise on Solaris but it
receives this error (see in the end):

mkdir -p .ext/common

make PRELIBS='-Wl,-R/usr/ruby-enterprise/lib -L/usr/ruby-enterprise/lib'

gcc -g -O2    -DRUBY_EXPORT  -I. -I.    -c eval.c

eval.c: In function `rb_eval_string_wrap':

eval.c:1774: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `rb_eval_cmd':

eval.c:1915: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `call_trace_func':

eval.c:2772: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `rb_raise_jump':

eval.c:4907: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `method_missing':

eval.c:5852: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `rb_call0':

eval.c:6015: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `rb_f_eval':

eval.c:6811: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `exec_under':

eval.c:6836: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `rb_load':

eval.c:7152: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `call_end_proc':

eval.c:8183: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `rb_f_END':

eval.c:8196: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `mproc':

eval.c:9989: warning: assignment discards qualifiers from pointer target
type

eval.c: In function `stack_free':

eval.c:10812: warning: passing arg 1 of `munmap' from incompatible pointer
type

eval.c: In function `rb_thread_alloc':

eval.c:12507: warning: passing arg 1 of `mprotect' from incompatible pointer
type

eval.c:12688:6: #error unsupported architecture!

Regards,

Riccardo.

On Thu, Aug 20, 2009 at 9:58 AM, Richard Stobart <
richard.stobart at unboxedconsulting.com> wrote:

> Riccardo,
> We run Ruby on Passenger on a Solaris (SPARC) with no issues.  (Alex
> recently applied a bug fix so that it now complies.)  If you take the latest
> version of Passenger, you will get his fix.
>
> I have a development and production server with Solaris, Apache, PHP and
> Tomcat for Java. I am new to Ruby and I am learning RoR. I am not sure
> which
> is the best to use JRuby and deploy RoR using a WAR file or to install Ruby
> (for instance Phusion Passenger).
>
> I would like to have a advice on what would you choose, to deploy RoR, in
> the production environment, JRuby, Pushion Passenger or something else.
>
>
> Richard
>
>   Richard Stobart   Unboxed
> Consulting
>          E: richard.stobart at unboxedconsulting.com  M: +44 77 7168 6535  T: +44
> 20 7183 4259  F: +44 20 7183 4251   8 Elder Street
> London, E1 6BT
> United Kingdom
> www.unboxedconsulting.com
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>


-- 
Riccardo Tacconi
VIRTUELOGIC LIMITED

http://www.linkedin.com/in/riccardotacconi
http://riccardotacconi.blogspot.com/
http://twitter.com/rtacconi
Linux user: #400461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20091021/1748cffa/attachment.html>


More information about the Chat mailing list