- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Perl PAR module problem
Operating System - Linux
1823724
Members
3627
Online
109664
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
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
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
тАО08-12-2005 04:59 AM
тАО08-12-2005 04:59 AM
Perl PAR module problem
Hello I am having problems getting PAR to work. Here is the error information.
# /usr/local/bin/perl Makefile.PL
*** ExtUtils::AutoInstall version 0.61
*** Checking for dependencies...
[Core Features]
- File::Temp ...loaded. (0.14 >= 0.05)
- Compress::Zlib ...loaded. (1.34 >= 1.3)
- Archive::Zip ...loaded. (1.16 >= 1)
- Module::ScanDeps ...loaded. (0.51 >= 0.45)
- PAR::Dist ...loaded. (0.07 >= 0.06)
[Digital signature support]
- Digest ...loaded. (1.08)
- Module::Signature ...loaded. (0.45 >= 0.35)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par program
Writing Makefile for PAR
cd myldr
vi Makefile
Changed LD=/usr/bin/ld to LD=gcc
My gcc version is gcc version 3.4.3
My gmake version is GNU Make 3.80
My Perl is v5.8.6
My OS is HPUX B.11.11
# gmake
/usr/local/bin/perl -e1
gcc -c -D_HPUX_SOURCE -mpa-risc-2-0 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -I/usr/local/lib/perl5/5.8.6/PA-RISC2.0/CORE main.c In file included from mktmpdir.c:1,
from main.c:56:
mktmpdir.h:72:18: sha1.c: No such file or directory
In file included from main.c:56:
mktmpdir.c: In function `par_mktmpdir':
mktmpdir.c:57: error: `SHA_INFO' undeclared (first use in this function)
mktmpdir.c:57: error: (Each undeclared identifier is reported only once
mktmpdir.c:57: error: for each function it appears in.)
mktmpdir.c:57: error: parse error before "sha_info"
mktmpdir.c:141: error: `sha_info' undeclared (first use in this function)
gmake: *** [main.o] Error 1
# gmake install
/usr/local/bin/perl -e1
/usr/local/bin/pp -o /tmp/foo.exe /tmp/1.pl
Can't find par loader at /usr/local/lib/perl5/site_perl/5.8.6/PAR/Packer.pm line 101.
# /usr/local/bin/perl Makefile.PL
*** ExtUtils::AutoInstall version 0.61
*** Checking for dependencies...
[Core Features]
- File::Temp ...loaded. (0.14 >= 0.05)
- Compress::Zlib ...loaded. (1.34 >= 1.3)
- Archive::Zip ...loaded. (1.16 >= 1)
- Module::ScanDeps ...loaded. (0.51 >= 0.45)
- PAR::Dist ...loaded. (0.07 >= 0.06)
[Digital signature support]
- Digest ...loaded. (1.08)
- Module::Signature ...loaded. (0.45 >= 0.35)
*** ExtUtils::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for the par program
Writing Makefile for PAR
cd myldr
vi Makefile
Changed LD=/usr/bin/ld to LD=gcc
My gcc version is gcc version 3.4.3
My gmake version is GNU Make 3.80
My Perl is v5.8.6
My OS is HPUX B.11.11
# gmake
/usr/local/bin/perl -e1
gcc -c -D_HPUX_SOURCE -mpa-risc-2-0 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -I/usr/local/lib/perl5/5.8.6/PA-RISC2.0/CORE main.c In file included from mktmpdir.c:1,
from main.c:56:
mktmpdir.h:72:18: sha1.c: No such file or directory
In file included from main.c:56:
mktmpdir.c: In function `par_mktmpdir':
mktmpdir.c:57: error: `SHA_INFO' undeclared (first use in this function)
mktmpdir.c:57: error: (Each undeclared identifier is reported only once
mktmpdir.c:57: error: for each function it appears in.)
mktmpdir.c:57: error: parse error before "sha_info"
mktmpdir.c:141: error: `sha_info' undeclared (first use in this function)
gmake: *** [main.o] Error 1
# gmake install
/usr/local/bin/perl -e1
/usr/local/bin/pp -o /tmp/foo.exe /tmp/1.pl
Can't find par loader at /usr/local/lib/perl5/site_perl/5.8.6/PAR/Packer.pm line 101.
- Tags:
- Perl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 09:35 AM
тАО08-12-2005 09:35 AM
Re: Perl PAR module problem
Any perl gurus that can help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2005 07:09 PM
тАО08-12-2005 07:09 PM
Re: Perl PAR module problem
mktmpdir.h:72:18: sha1.c: No such file or directory
This is the key error. sha1.c should be created from sha1.c.PL (in myldr directory).
Try adding the following lines to myldr/Makefile
sha1.c: sha1.c.PL
$(PERL) sha1.c.PL sha1.c
For some reason these lines are omitted if perl wasn't built with perl shared library (libperl). Have a look in myldr/Makefile.PL.
This is the key error. sha1.c should be created from sha1.c.PL (in myldr directory).
Try adding the following lines to myldr/Makefile
sha1.c: sha1.c.PL
For some reason these lines are omitted if perl wasn't built with perl shared library (libperl). Have a look in myldr/Makefile.PL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 08:28 AM
тАО08-17-2005 08:28 AM
Re: Perl PAR module problem
There are problems with PAR .89 under HPUX use .87 instead.
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