On Sat, Feb 15, 2014 at 11:51 PM, Tim Rice <t...@multitalents.net> wrote:

> | > On Sat, 15 Feb 2014, Natxo Asenjo wrote:
> | >
> | > > checking the C compiler (cc -fPIC) does not compile code properly
>                                ^^^^^^^^
> I should have caught this last time. The OmniOS gcc packages do not
> provide a cc only gcc. Unless you have the sun compilers installed,
> there is no cc. Even if they were installed, "cc -fPIC" is not valid
> for sun compilers.  It would need to be "cc -Kpic".
> You'll need to patch the perl module and build manually.
>

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.

Thanks so much for your tip!

-- 
groet,
Natxo
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to