- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cant install Perl
Categories
Company
Local Language
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
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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-20-2009 07:47 PM
тАО08-20-2009 07:47 PM
i'm having problem when installing Perl (v5.8.9).
At first my problem is with C Compiler, but after install GCC that C Compiler issue solved.
At first i'm using this command to configure:
sh Configure -Dcc=gcc -de
The problems started when i ran "make" command.Below are the errors:
root@cartoon: make
`sh cflags "optimize='-g -O'" miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
sh: gcc: not found.
*** Error exit code 127
Stop.
=====================================
my system running as below:
root@cartoon: uname -a
HP-UX cartoon B.11.11 U 9000/800 cartoon unlimited-user license
root@cartoon: swlist -l product | grep -i gcc
gcc 4.2.3 gcc
libgcc 4.2.3 libgcc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 08:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 10:47 PM
тАО08-20-2009 10:47 PM
Re: Cant install Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 11:24 PM
тАО08-20-2009 11:24 PM
Re: Cant install Perl
run 'whereis gcc" to get the path to gcc, run 'vi /etc/PATH' and append it to the existing entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2009 11:26 PM
тАО08-20-2009 11:26 PM
Re: Cant install Perl
Where did you install gcc? In /usr/local/bin?
PATH=$PATH:/usr/local/bin
CCCMD = /usr/local/bin/gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2009 08:14 PM
тАО08-23-2009 08:14 PM
Re: Cant install Perl
sh Configure -de
make
but when type, make test command below error come out....
Failed 5 tests out of 1104, 99.55% okay.
../lib/ExtUtils/t/Constant.t
../lib/ExtUtils/t/INSTALL_BASE.t
../lib/ExtUtils/t/Install.t
../lib/ExtUtils/t/PL_FILES.t
../lib/ExtUtils/t/recurs.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
### ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
### setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness
### LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness
### export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=4.56 s=4.18 cu=474.91 cs=82.08 scripts=1104 tests=132806
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
since i'm using HP-UX where should i put the LD_LIBRARY_PATH
HP-UX sapphire B.11.11 U 9000/800
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2009 10:11 PM
тАО08-23-2009 10:11 PM
Re: Cant install Perl
export LD_LIBRARY_PATH=/usr/local/lib
and its 99.64% ok ... but still i got the error
Failed 4 tests out of 1104, 99.64% okay.
../lib/ExtUtils/t/Constant.t
../lib/ExtUtils/t/PL_FILES.t
../lib/ExtUtils/t/basic.t
../lib/ExtUtils/t/recurs.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
### ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
### setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness
### export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
u=4.45 s=4.07 cu=463.44 cs=72.63 scripts=1104 tests=132806
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 01:26 AM
тАО08-24-2009 01:26 AM
Re: Cant install Perl
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness
root@cartoon: perl -v
This is perl, v5.8.9 built for PA-RISC2.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2009 01:33 AM
тАО08-24-2009 01:33 AM
Re: Cant install Perl
export LD_LIBRARY_PATH=/usr/local/lib
If you are using PA32, then you must use SHLIB_PATH and not LD_LIBRARY_PATH.