Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8062593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:43:21+00:00 2026-06-05T10:43:21+00:00

So based on instructions I was given on stackoverflow, I was attempting to install

  • 0

So based on instructions I was given on stackoverflow, I was attempting to install a new version of Perl on my 64 bit Solaris virtual machine using perlbrew, in order to ultimately install ‘cpanm’ and install the CGI and DBI modules, as well as the DBD::Oracle driver. These are the steps I was following:

1) Open up a terminal window and login as the root user. Then install the following packages…

  • pkg install system/header
  • pkg install gcc-45
  • pkg install developer/build/gnu-make
  • pkg install archiver/gnu-tar

2) Install perlbrew…

  • curl -kL http://install.perlbrew.pl | bash

3) Next, open up ~/.bash_profile or ~/.profile and append the following line of code..

  • vi ~/.bash_profile OR vi ~/.profile
  • append source ~/perl5/perlbrew/etc/bashrc to the end of the file
  • log out of root
  • log back into root
  • Additionally, you may have to manually source the file by entering: source ~/perl5/perlbrew/etc/bashrc if the next few steps do not seem to work.

4) Begin to install the new Perl.

  • echo $PERLBREW_ROOT –> this should equal /home/oracle/perl5/perlbrew
  • perlbrew -v install perl-5.16.0 -Dcc=gcc

    Output From Installation:

Test Summary Report
    -------------------
    ../cpan/CGI/t/tmpdir.t                                          (Wstat: 0 Tests: 9 Failed: 0)
      TODO passed:   3, 6, 8
    ../cpan/Socket/t/getnameinfo.t                                  (Wstat: 256 Tests: 14 Failed: 1)
      Failed test:  10
      Non-zero exit status: 1
    Files=2334, Tests=522101, 1212 wallclock secs (90.50 usr 58.34 sys + 533.70 cusr 288.26 csys = 970.80 CPU)
    Result: FAIL
    *** Error code 1
    make: Fatal error: Command failed for target `test_harness'
    Installed /home/oracle/perl5/perlbrew/build/perl-5.16.0 as perl-5.16.0 successfully. Run the following command to switch to it.

      perlbrew switch perl-5.16.0
  • perlbrew switch perl-5.16.0

However, when I try to switch to the new perl, it says: perl-5.16.0 is not installed.

So I did a ls $PERLBREW_ROOT and found it contains a bin, build, build.log, Config.pm, dists, etc, and perls directory. And thus I figure the new Perl should be installed in the perls directory, but doing an ls $PERLBREW_ROOT/perls shows that there is nothing in the perls directory. Does anyone have any idea what may be going wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:43:23+00:00Added an answer on June 5, 2026 at 10:43 am

    It misreports it as being installed when it fails due to test failures. If you believe the test failure is acceptable, you run it again skipping the tests:

    perlbrew -v install perl-5.16.0 --notest -Dcc=gcc
                                    ^^^^^^^^
    

    This is the test that is failing:

    my $expect_host = gethostbyaddr( inet_aton( "127.0.0.1" ), AF_INET );
    defined $expect_host or $expect_host = "127.0.0.1";
    ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMERICSERV );
    is( $host, $expect_host, "\$host is $expect_host for NS" );
    

    If you scroll up in your log output, you’ll see the values you actually got for $host and $expect_host.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So based on instructions I was given on stackoverflow, I was attempting to install
I'm using declarative J2EE form based authentication in my webapp, following the instructions given
I'm writing inline assembly statements using a GNU-based toolchain, and there are three instructions
From a header.php layout we can give instructions based on a given controller by
Based on this previous question on stackoverflow: Fetch Oracle table type from stored procedure
I'm using an ARM Cortex-A8 based processor called as i.MX515. There is linux Ubuntu
I am trying to install Fan-of-Mongo a web admin for MongoDB which is based
I'm building an web application to manage instructions based on different parameters (eg. JobCode,
I'm working with Aptana 3 to build a PHP-based web app using phpfog. I
I am using Motodev , an Eclipse-based development tool for Java ME / Motorola.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.