HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- perl module IO::Tty compilation error
Operating System - Linux
1827474
Members
1754
Online
109965
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
02-06-2006 08:47 PM
02-06-2006 08:47 PM
Hello,
I'm trying to compile the module IO::Tty for using Expect but I've got the following problem (see attach document).
I'm using gcc 3.3.2 and binutils 2.14. It seems not using gcc and using cc instead.
Thanks
Patrice
I'm trying to compile the module IO::Tty for using Expect but I've got the following problem (see attach document).
I'm using gcc 3.3.2 and binutils 2.14. It seems not using gcc and using cc instead.
Thanks
Patrice
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:00 PM
02-06-2006 09:00 PM
Re: perl module IO::Tty compilation error
Hello,
You can just export this before stating #perl Makefile.PL
# export CC=/usr/local/bin/gcc (or, wherever you installed GCC)
-Arun
You can just export this before stating #perl Makefile.PL
# export CC=/usr/local/bin/gcc (or, wherever you installed GCC)
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:01 PM
02-06-2006 09:01 PM
Solution
You are using a threaded perl build: /opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/ which is for sure not one of my distributions :)
If you type
# perl -V:cc
You will see what C compiler was used to build this perl binary, and module builds will inherit the setting from the perl binary configuration
If your perl was built with cc,
# perl Makefile.PL
will (try to) use the same compiler and -flags.
You will have to hand-edit the generated Makefile to alter both, or install a (newer) perl that was built with gcc (like all my builds)
Also note that the perl you are using is a threaded build (slow) for PA-RISC-1.1. If you want a noticable speedup, and you are running on HP-UX 11.xx on PA-RISC-2.0, consider installing another perl release. Most recent stable is 5.8.8
My HP ITRC site pages can be found at (please use LA as primary choice):
USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, Have FUN! H.Merijn
If you type
# perl -V:cc
You will see what C compiler was used to build this perl binary, and module builds will inherit the setting from the perl binary configuration
If your perl was built with cc,
# perl Makefile.PL
will (try to) use the same compiler and -flags.
You will have to hand-edit the generated Makefile to alter both, or install a (newer) perl that was built with gcc (like all my builds)
Also note that the perl you are using is a threaded build (slow) for PA-RISC-1.1. If you want a noticable speedup, and you are running on HP-UX 11.xx on PA-RISC-2.0, consider installing another perl release. Most recent stable is 5.8.8
My HP ITRC site pages can be found at (please use LA as primary choice):
USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP