[OmniOS-discuss] software compilation errors
Tim Rice
tim at multitalents.net
Sat Feb 15 22:51:48 UTC 2014
On Sat, 15 Feb 2014, Natxo Asenjo wrote:
| --
| Groeten,
| natxo
|
|
| On Sat, Feb 15, 2014 at 8:55 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.
A possible workaround would be to (cd /opt/gcc/bin ; ln -s gcc cc)
| > > *** Error code 1
| > > make: Fatal error: Command failed for target `discount/libmarkdown.a'
| >
| > Can you compile anything on that system?
| >
| > Is pkg://omnios/system/header installed?
| >
| > yes:
|
| # pkg info system/header
| Name: system/header
[snip]
--
Tim Rice Multitalents
tim at multitalents.net
More information about the OmniOS-discuss
mailing list