<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Perl Text::Iconv won't compile. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perl-text-iconv-won-t-compile/m-p/4177186#M90948</link>
    <description>Hi. Can anyone help me out? &lt;BR /&gt;&lt;BR /&gt;I'm running my own compile Perl 5.10.0 on HP-UX 11.31. Compiled with GCC 4.2.3. &lt;BR /&gt;&lt;BR /&gt;I'm trying to compile this 1 module and it just won't even create the Makefile. &lt;BR /&gt;&lt;BR /&gt;&amp;gt; perl Makefile.PL&lt;BR /&gt;Checking for iconv ... fail&lt;BR /&gt;Failed to find iconv, please check your settings and re-run as:&lt;BR /&gt;perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'&lt;BR /&gt;&lt;BR /&gt;I had this issue before when I compiled 5.8.8 on an older PA-RISC system. This is the note I had down from the past: &lt;BR /&gt;&lt;BR /&gt;***&lt;BR /&gt;NOTE: if you have trouble compiling Text::Iconv (i.e. complaining that it can't find iconv...), &lt;BR /&gt;      you might need to manually compile it going into you're .../.cpan/build/Text-Iconv-1.4/ folder like so:&lt;BR /&gt;      &lt;BR /&gt;      /opt/perl-5.8.8/bin/perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'&lt;BR /&gt;      make &amp;amp;&amp;amp; make test&lt;BR /&gt;      make install&lt;BR /&gt;      &lt;BR /&gt;      * for some reasons, it doesn't seem to like the GNU iconv installed on HPUX. &lt;BR /&gt;      It's supposed to work, but didn't for me!!! &lt;BR /&gt;      I managed to get it going using the builtin iconv_open(), iconv() and iconv_close() functions from within the systems libc libraries!&lt;BR /&gt;&lt;BR /&gt;I did exactly this and still, it won't compile: &lt;BR /&gt;&lt;BR /&gt;perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'&lt;BR /&gt;Your settings:&lt;BR /&gt;  LIBS: -L/usr/lib&lt;BR /&gt;  INC:  -I/usr/include&lt;BR /&gt;Checking for iconv ... fail&lt;BR /&gt;Failed to find iconv, please check your settings and re-run as:&lt;BR /&gt;perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'&lt;BR /&gt;&lt;BR /&gt;It can't find iconv. However, it is there. libc  is under /usr/lib/. The iconv HP provided binary is also under /usr/bin/iconv. Heck I even have gnu iconv 1.12, found under /usr/local/... Also tried with LIBS under /usr/local/lib, etc.... still didn't work. &lt;BR /&gt;&lt;BR /&gt;Anyone? I'm clueless here. &lt;BR /&gt;&lt;BR /&gt;Thanks a lot!!</description>
    <pubDate>Wed, 09 Apr 2008 18:32:44 GMT</pubDate>
    <dc:creator>PatRoy</dc:creator>
    <dc:date>2008-04-09T18:32:44Z</dc:date>
    <item>
      <title>Perl Text::Iconv won't compile.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-text-iconv-won-t-compile/m-p/4177186#M90948</link>
      <description>Hi. Can anyone help me out? &lt;BR /&gt;&lt;BR /&gt;I'm running my own compile Perl 5.10.0 on HP-UX 11.31. Compiled with GCC 4.2.3. &lt;BR /&gt;&lt;BR /&gt;I'm trying to compile this 1 module and it just won't even create the Makefile. &lt;BR /&gt;&lt;BR /&gt;&amp;gt; perl Makefile.PL&lt;BR /&gt;Checking for iconv ... fail&lt;BR /&gt;Failed to find iconv, please check your settings and re-run as:&lt;BR /&gt;perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'&lt;BR /&gt;&lt;BR /&gt;I had this issue before when I compiled 5.8.8 on an older PA-RISC system. This is the note I had down from the past: &lt;BR /&gt;&lt;BR /&gt;***&lt;BR /&gt;NOTE: if you have trouble compiling Text::Iconv (i.e. complaining that it can't find iconv...), &lt;BR /&gt;      you might need to manually compile it going into you're .../.cpan/build/Text-Iconv-1.4/ folder like so:&lt;BR /&gt;      &lt;BR /&gt;      /opt/perl-5.8.8/bin/perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'&lt;BR /&gt;      make &amp;amp;&amp;amp; make test&lt;BR /&gt;      make install&lt;BR /&gt;      &lt;BR /&gt;      * for some reasons, it doesn't seem to like the GNU iconv installed on HPUX. &lt;BR /&gt;      It's supposed to work, but didn't for me!!! &lt;BR /&gt;      I managed to get it going using the builtin iconv_open(), iconv() and iconv_close() functions from within the systems libc libraries!&lt;BR /&gt;&lt;BR /&gt;I did exactly this and still, it won't compile: &lt;BR /&gt;&lt;BR /&gt;perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'&lt;BR /&gt;Your settings:&lt;BR /&gt;  LIBS: -L/usr/lib&lt;BR /&gt;  INC:  -I/usr/include&lt;BR /&gt;Checking for iconv ... fail&lt;BR /&gt;Failed to find iconv, please check your settings and re-run as:&lt;BR /&gt;perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'&lt;BR /&gt;&lt;BR /&gt;It can't find iconv. However, it is there. libc  is under /usr/lib/. The iconv HP provided binary is also under /usr/bin/iconv. Heck I even have gnu iconv 1.12, found under /usr/local/... Also tried with LIBS under /usr/local/lib, etc.... still didn't work. &lt;BR /&gt;&lt;BR /&gt;Anyone? I'm clueless here. &lt;BR /&gt;&lt;BR /&gt;Thanks a lot!!</description>
      <pubDate>Wed, 09 Apr 2008 18:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-text-iconv-won-t-compile/m-p/4177186#M90948</guid>
      <dc:creator>PatRoy</dc:creator>
      <dc:date>2008-04-09T18:32:44Z</dc:date>
    </item>
  </channel>
</rss>

