Hi,<br><br>The sys admin here is trying to install Ruby Enterprise on Solaris but it receives this error (see in the end):<br><br><p class="MsoNormal">mkdir -p .ext/common</p>
<p class="MsoNormal">make PRELIBS='-Wl,-R/usr/ruby-enterprise/lib
-L/usr/ruby-enterprise/lib'</p>
<p class="MsoNormal">gcc -g -O2 -DRUBY_EXPORT -I. -I. -c
eval.c</p>
<p class="MsoNormal">eval.c: In function `rb_eval_string_wrap':</p>
<p class="MsoNormal">eval.c:1774: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `rb_eval_cmd':</p>
<p class="MsoNormal">eval.c:1915: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `call_trace_func':</p>
<p class="MsoNormal">eval.c:2772: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `rb_raise_jump':</p>
<p class="MsoNormal">eval.c:4907: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `method_missing':</p>
<p class="MsoNormal">eval.c:5852: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `rb_call0':</p>
<p class="MsoNormal">eval.c:6015: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `rb_f_eval':</p>
<p class="MsoNormal">eval.c:6811: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `exec_under':</p>
<p class="MsoNormal">eval.c:6836: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `rb_load':</p>
<p class="MsoNormal">eval.c:7152: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `call_end_proc':</p>
<p class="MsoNormal">eval.c:8183: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `rb_f_END':</p>
<p class="MsoNormal">eval.c:8196: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `mproc':</p>
<p class="MsoNormal">eval.c:9989: warning: assignment discards qualifiers from
pointer target type</p>
<p class="MsoNormal">eval.c: In function `stack_free':</p>
<p class="MsoNormal">eval.c:10812: warning: passing arg 1 of `munmap' from
incompatible pointer type</p>
<p class="MsoNormal">eval.c: In function `rb_thread_alloc':</p>
<p class="MsoNormal">eval.c:12507: warning: passing arg 1 of `mprotect' from
incompatible pointer type</p>
<p class="MsoNormal">eval.c:12688:6: #error unsupported
architecture!</p><br>Regards, <br><br>Riccardo.<br><br><div class="gmail_quote">On Thu, Aug 20, 2009 at 9:58 AM, Richard Stobart <span dir="ltr"><<a href="mailto:richard.stobart@unboxedconsulting.com">richard.stobart@unboxedconsulting.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;">Riccardo,<div><br></div><div>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.</div>
<div><br></div><div><div class="im"><blockquote type="cite">I have a development and production server with Solaris, Apache, PHP and<br>Tomcat for Java. I am new to Ruby and I am learning RoR. I am not sure which<br>is the best to use JRuby and deploy RoR using a WAR file or to install Ruby<br>
(for instance Phusion Passenger).<br><br>I would like to have a advice on what would you choose, to deploy RoR, in<br>the production environment, JRuby, Pushion Passenger or something else.<br></blockquote><div><br></div>
</div><div>Richard</div><div> <div><br> <table style="width: 98%; margin-top: 10px; font-family: arial,sans;" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td style="border-bottom: 1px solid black; font-size: 20px; line-height: 28px; font-family: Trebuchet MS,arial,sans;" valign="bottom">
Richard Stobart</td> <td style="border-bottom: 1px solid black;" align="right"> <table border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td style="line-height: 27px; font-family: Trebuchet MS,arial,sans;" align="right">
<span style="font-weight: bold; font-size: 35px; color: rgb(0, 0, 0); letter-spacing: -1px;">Unboxed</span><br> <span style="font-weight: bold; font-size: 30px; color: rgb(146, 39, 143); letter-spacing: -1px;">Consulting</span><br>
<span style="line-height: 27px; font-size: 27px;"> </span> </td> <td style="width: 0px;"></td> </tr> </tbody></table> </td> </tr> <tr> <td style="min-height: 4px; font-size: 1px; line-height: 1px;">
</td> <td></td> </tr> <tr> <td valign="top" align="left"> <table style="font-size: 12px;" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td style="width: 16px; color: rgb(146, 39, 143);">E:</td>
<td><a href="mailto:richard.stobart@unboxedconsulting.com" style="color: black; text-decoration: none;" target="_blank">richard.stobart@unboxedconsulting.com</a></td> </tr> <tr> <td style="width: 16px; color: rgb(146, 39, 143);">
M:</td> <td>+44 77 7168 6535</td> </tr> <tr> <td style="width: 16px; color: rgb(146, 39, 143);">T:</td> <td>+44 20 7183 4259</td> </tr> <tr> <td style="width: 16px; color: rgb(146, 39, 143);">
F:</td> <td>+44 20 7183 4251</td> </tr> </tbody></table> </td> <td style="font-size: 12px;" valign="top" align="right"> 8 Elder Street<br> London, E1 6BT<br>United Kingdom<br> <a style="color: rgb(146, 39, 143); text-decoration: none;" href="http://www.unboxedconsulting.com" target="_blank">www.unboxedconsulting.com</a> </td>
</tr> </tbody></table> </div> </div><br></div></div><br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Riccardo Tacconi<br>VIRTUELOGIC LIMITED<br><br><a href="http://www.linkedin.com/in/riccardotacconi">http://www.linkedin.com/in/riccardotacconi</a><br><a href="http://riccardotacconi.blogspot.com/">http://riccardotacconi.blogspot.com/</a><br>
<a href="http://twitter.com/rtacconi">http://twitter.com/rtacconi</a><br>Linux user: #400461<br>