`<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sat, Feb 15, 2014 at 11:51 PM, Tim Rice <span dir="ltr"><<a href="mailto:tim@multitalents.net" target="_blank">tim@multitalents.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">| > On Sat, 15 Feb 2014, Natxo Asenjo wrote:<br>
| ><br>
| > > checking the C compiler (cc -fPIC) does not compile code properly<br>
</div> ^^^^^^^^<br>
I should have caught this last time. The OmniOS gcc packages do not<br>
provide a cc only gcc. Unless you have the sun compilers installed,<br>
there is no cc. Even if they were installed, "cc -fPIC" is not valid<br>
for sun compilers. It would need to be "cc -Kpic".<br>
You'll need to patch the perl module and build manually.<br>
</blockquote><div><br></div><div>Yes! I installed developer/sunstudio12.1, modified Makefile.PL with your suggestion, installed pkg:/developer/object-file (needed for ar), used gmake instead of make and finally got it to work.<br>
<br></div><div>Thanks so much for your tip!<br></div></div><br>-- <br></div><div class="gmail_extra">groet,<br></div><div class="gmail_extra">Natxo<br></div></div>
`