[OmniOS-discuss] software compilation errors
Natxo Asenjo
natxo.asenjo at gmail.com
Sat Feb 15 18:54:15 UTC 2014
hi,
When trying to compile some Perl modules using cpanm I get errors. My
google fu is not being helpful, maybe you could point me in the right
direction.
This is the compiler I have in a zone:
root at zone2:~# pkg list | grep gcc
developer/gcc48
4.8.1-0.151008 i--
developer/gcc48/libgmp-gcc48
5.0.5-0.151008 i--
developer/gcc48/libmpc-gcc48
1.0.1-0.151008 i--
developer/gcc48/libmpfr-gcc48
3.1.1-0.151008 i--
system/library/gcc-4-runtime
When trying to install Text::Markdown::Discount I get this error:
cpanm (App::cpanminus) 1.7001 on perl 5.016001 built for
i86pc-solaris-thread-multi-64int
Work directory is /root/.cpanm/work/1392489889.18009
You have make /usr/bin/make
You have /usr/bin/wget
You have /usr/bin/tar, /usr/bin/gzip and /usr/bin/bzip2
You have /usr/bin/unzip
Searching Text::Markdown::Discount on cpanmetadb ...
--> Working on Text::Markdown::Discount
Fetching
http://www.cpan.org/authors/id/S/SE/SEKIMURA/Text-Markdown-Discount-0.11.tar.gz
-> OK
Unpacking Text-Markdown-Discount-0.11.tar.gz
Entering Text-Markdown-Discount-0.11
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Configuring Text-Markdown-Discount-0.11
Running Makefile.PL
Checking if your kit is complete...
Looks good
Warning: -Ldiscount changed to
-L/root/.cpanm/work/1392489889.18009/Text-Markdown-Discount-0.11/discount
Writing Makefile for Text::Markdown::Discount
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Building and testing Text-Markdown-Discount-0.11
cp lib/Text/Markdown/Discount.pm blib/lib/Text/Markdown/Discount.pm
( cd discount; CC='cc -fPIC' sh configure.sh; make )
Configuring for [markdown]
Looking for cpp (/opt/gcc-4.8.1/bin/cpp) ok
looking for install (/usr/gnu/bin/install)
checking the C compiler (cc -fPIC) does not compile code properly
*** Error code 1
make: Fatal error: Command failed for target `discount/libmarkdown.a'
--
Groeten,
natxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140215/20bac031/attachment-0001.html>
More information about the OmniOS-discuss
mailing list