- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Perl Text::Iconv won't compile.
Operating System - Linux
1820590
Members
1793
Online
109626
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2008 11:32 AM
04-09-2008 11:32 AM
Perl Text::Iconv won't compile.
Hi. Can anyone help me out?
I'm running my own compile Perl 5.10.0 on HP-UX 11.31. Compiled with GCC 4.2.3.
I'm trying to compile this 1 module and it just won't even create the Makefile.
> perl Makefile.PL
Checking for iconv ... fail
Failed to find iconv, please check your settings and re-run as:
perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
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:
***
NOTE: if you have trouble compiling Text::Iconv (i.e. complaining that it can't find iconv...),
you might need to manually compile it going into you're .../.cpan/build/Text-Iconv-1.4/ folder like so:
/opt/perl-5.8.8/bin/perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'
make && make test
make install
* for some reasons, it doesn't seem to like the GNU iconv installed on HPUX.
It's supposed to work, but didn't for me!!!
I managed to get it going using the builtin iconv_open(), iconv() and iconv_close() functions from within the systems libc libraries!
I did exactly this and still, it won't compile:
perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'
Your settings:
LIBS: -L/usr/lib
INC: -I/usr/include
Checking for iconv ... fail
Failed to find iconv, please check your settings and re-run as:
perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
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.
Anyone? I'm clueless here.
Thanks a lot!!
I'm running my own compile Perl 5.10.0 on HP-UX 11.31. Compiled with GCC 4.2.3.
I'm trying to compile this 1 module and it just won't even create the Makefile.
> perl Makefile.PL
Checking for iconv ... fail
Failed to find iconv, please check your settings and re-run as:
perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
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:
***
NOTE: if you have trouble compiling Text::Iconv (i.e. complaining that it can't find iconv...),
you might need to manually compile it going into you're .../.cpan/build/Text-Iconv-1.4/ folder like so:
/opt/perl-5.8.8/bin/perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'
make && make test
make install
* for some reasons, it doesn't seem to like the GNU iconv installed on HPUX.
It's supposed to work, but didn't for me!!!
I managed to get it going using the builtin iconv_open(), iconv() and iconv_close() functions from within the systems libc libraries!
I did exactly this and still, it won't compile:
perl Makefile.PL LIBS='-L/usr/lib' INC='-I/usr/include'
Your settings:
LIBS: -L/usr/lib
INC: -I/usr/include
Checking for iconv ... fail
Failed to find iconv, please check your settings and re-run as:
perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
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.
Anyone? I'm clueless here.
Thanks a lot!!
- Tags:
- Perl
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP