HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Perl modules won't "make" properly
Operating System - Linux
1829589
Members
6860
Online
109992
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
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
05-22-2007 02:53 AM
05-22-2007 02:53 AM
Perl modules won't "make" properly
Hi all! I've been trying to upgrade perl on my 11.11 system and install some modules, and I'm running into a host of problems.
First, I installed perl 5.8.8, and had no problems. Once it was on there, I downloaded some modules, most notably Compress::Zlib v1.42, and I'm trying to build them.
I did "perl Makefile.PL" and it seemed to work just fine; so then I typed "make" and it gave me an expected compiler message:
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
gcc -c -I./zlib-src -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I/opt/soe/local/perl-5.8.8/lib/5.8.8/PA-RISC1.1/CORE" Zlib.c
But now it's just hung. It doesn't move on to any further files, or return to a prompt.
I killed it, and thought perhaps I needed to regenerate the makefile before trying again, and so I ran "perl Makefile.PL" again, but now it just hangs as well! It's almost as if the "make" command did something to the perl binaries or libraries, even though nothing should have touched them until I did a "make install", right?
Argh. I removed perl 5.8.8 and reinstalled it, but got the same response. I tried a previous version of 5.8.7 that was on the server, and it was able to run "perl Makefile.PL" without problem, but it's hung on the "make" in the same way, and I'm afraid to kill it for fear that's corrupted a known good perl version.
I do NOT have ANSI C/C++ on this server, just the regular compiler that comes with the OS.
First, I installed perl 5.8.8, and had no problems. Once it was on there, I downloaded some modules, most notably Compress::Zlib v1.42, and I'm trying to build them.
I did "perl Makefile.PL" and it seemed to work just fine; so then I typed "make" and it gave me an expected compiler message:
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
gcc -c -I./zlib-src -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I/opt/soe/local/perl-5.8.8/lib/5.8.8/PA-RISC1.1/CORE" Zlib.c
But now it's just hung. It doesn't move on to any further files, or return to a prompt.
I killed it, and thought perhaps I needed to regenerate the makefile before trying again, and so I ran "perl Makefile.PL" again, but now it just hangs as well! It's almost as if the "make" command did something to the perl binaries or libraries, even though nothing should have touched them until I did a "make install", right?
Argh. I removed perl 5.8.8 and reinstalled it, but got the same response. I tried a previous version of 5.8.7 that was on the server, and it was able to run "perl Makefile.PL" without problem, but it's hung on the "make" in the same way, and I'm afraid to kill it for fear that's corrupted a known good perl version.
I do NOT have ANSI C/C++ on this server, just the regular compiler that comes with the OS.
- Tags:
- Perl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 03:01 AM
05-22-2007 03:01 AM
Re: Perl modules won't "make" properly
Hi Matt:
You need the compiler with which Perl was compiled.
# perl -V:cc
...will show you the compiler you need to add modules requiring compilation.
Regards!
...JRF...
You need the compiler with which Perl was compiled.
# perl -V:cc
...will show you the compiler you need to add modules requiring compilation.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 03:05 AM
05-22-2007 03:05 AM
Re: Perl modules won't "make" properly
Hi (again) Matt:
I should add that if you need/want a binary distribution of Perl, compiled with 'gcc', fetch it from Merijn's site:
http://mirrors.develooper.com/hpux/
Regards!
...JRF...
I should add that if you need/want a binary distribution of Perl, compiled with 'gcc', fetch it from Merijn's site:
http://mirrors.develooper.com/hpux/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 03:10 AM
05-22-2007 03:10 AM
Re: Perl modules won't "make" properly
root> /opt/soe/local/perl-5.8.7/bin/perl -V:cc
cc='gcc';
It seems to be using gcc to do the compile, so I'm still confused as to why it would hang.
I looked at the generated Makefile and unfortunately I just never got the hang of those things, so I can't tell exactly what might be causing it to freeze up.
I tried issuing the gcc command from a shell, and it hangs there too, which makes me think my gcc is hosed. Argh.
cc='gcc';
It seems to be using gcc to do the compile, so I'm still confused as to why it would hang.
I looked at the generated Makefile and unfortunately I just never got the hang of those things, so I can't tell exactly what might be causing it to freeze up.
I tried issuing the gcc command from a shell, and it hangs there too, which makes me think my gcc is hosed. Argh.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP