Hi there,
I want to install Prima module.
For that I need to install a host of libraries like jpeg,zlib, libiconv,glib,etc.
But I am not able to install libiconv-1.11.
I downloaded it from www.sunfreeware.com and I have also installed gettext which is necessary for libiconv.
Earlier, it was showing an error that wchar_c99.h was not found.
Then I got the header file from Koders website and copied it into the /usr/include/iso/ path.
Now it is showing the following error:

/usr/include/iso/wchar_c99.h:66: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/wchar_c99.h:66: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/wchar_c99.h:69: error: redefinition of parameter '_RESTRICT_KYWD'
/usr/include/iso/wchar_c99.h:68: error: previous definition of '_RESTRICT_KYWD' was here
/usr/include/iso/wchar_c99.h:72: error: conflicting types for '_RESTRICT_KYWD'
/usr/include/iso/wchar_c99.h:71: error: previous definition of '_RESTRICT_KYWD' was here
*** Error code 1
make: Fatal error: Command failed for target `preloadable_libiconv_solaris.so'
Current working directory /export/home/NetDeposit/dps/libiconv-1.11/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Can anybody help me with it?
Thanks in advance,
Krishi.


In reply to installing libiconv library by krishi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.