[OmniOS-discuss] software compilation errors
Natxo Asenjo
natxo.asenjo at gmail.com
Sun Feb 16 07:56:09 UTC 2014
On Sat, Feb 15, 2014 at 11:51 PM, Tim Rice <tim at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140216/786b0f1d/attachment.html>
More information about the OmniOS-discuss
mailing list