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 6955505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:44:43+00:00 2026-05-27T14:44:43+00:00

I am newbie to perl cross compilation. I’m trying to install perl from source

  • 0

I am newbie to perl cross compilation.
I’m trying to install perl from source as given in http://www.perl.org.
Commands followed are ./Configure, Make, Make test.

To find the path for specific installation, the CLI “perl -V” shows error as follows.

# ./perl -V
Can't locate Config.pm in @INC (@INC contains: /usr/local/lib/perl5/5.9 .).
BEGIN failed--compilation aborted.

I think i have done some mistake in path inclusions.
Please let me know the reason and solution for successfull cross compilation.

Thanks in advance.

  • 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-05-27T14:44:43+00:00Added an answer on May 27, 2026 at 2:44 pm

    It’s probably possible to cross-compile Perl (building on Linux and targeting for BSD), but there’s not much point in doing so. NetBSD is as capable as Linux of building Perl locally, and that’s almost certainly what you should do.

    You can build it from source, following the installation instructions, or better yet you can install a binary package, since somebody else has already done the work of building Perl from source for you.

    Unless you have a very specific requirement for an old version, you should install the most recent production version, which I believe is 5.14.2.

    You mentioned in a comment that when you build Perl from source on your target BSD machine, Make test had 2 failures. You had a 99.86% success rate. Surely that’s good enough — and you’re not likely to do any better by cross-compiling. You might want to look into those failures and the LD_LIBRARY_PATH issue (I don’t know what it should be set to for NetBSD), but those issues aren’t so serious that you should give up and use a radically different approach.

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

Sidebar

Related Questions

Newbie here, I am trying to use Bioperl module in the perl environment. My
I'm a Perl newbie. I'm trying to learn based on a previous person's work
I m newbie at perl.I'm trying to use Mime::Lite.I looked their site and i
I am completely new to Perl, like absolute newbie. I am trying to develop
Newbie to LINQ, and trying to write the following query... select f.Section_ID, f.Page_ID, f.SortOrder,
newbie for clearcase. Since clearcase's config is rather different from other concept in git,
Newbie question since I'm not up to speed using maven at all. I'm trying
Perl newbie here. I have a log file that I need to parse out
Perl newbie here...I had help with this working perl script with some HASH code
I'm currently running Strawberry Perl on WinXP, and I'm trying to process a unix-formatted

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.