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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:21:35+00:00 2026-05-15T07:21:35+00:00

I am trying to install some Perl modules into a non-standard location, let’s call

  • 0

I am trying to install some Perl modules into a non-standard location, let’s call it /non/standard/location. I used

perl Makefile.PL PREFIX=/non/standard/location
make;make install

to install them.

In the script which uses the module, it seems to be necessary to specify a long directory path including the version of Perl, like so:

#!/usr/local/bin/perl
use lib '/non/standard/location/lib/perl5/site_perl/5.8.9/';
use A::B;

Is there any use lib or other statement which I can use which is not so long and verbose, and which does not include the actual version of Perl, in order that I don’t have to go back and edit this out of the program if the version of Perl is upgraded?

  • 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-15T07:21:36+00:00Added an answer on May 15, 2026 at 7:21 am

    Currently I have installed via the following prescription, which seems to fix things.

    perl Makefile.PL --no-manpages --skipdeps PREFIX=/non/system/location INSTALLSITELIB=/non/system/location/lib INSTALLSITEBIN=/non/system/location/bin INSTALLMAN1DIR=/non/system/location/man/man1 INSTALLMAN3DIR=/non/system/location/man/man3
    

    I welcome any constructive criticism of this. I want to use --no-manpages but the INSTALLMAN1DIR seems to be necessary anyway.

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

Sidebar

Related Questions

I am simply trying to install some Perl modules. I install Spiffy-0.30 into my
I'm trying to install some libraries using Perl from the command line: perl -MCPAN
I am running into some issues trying to install a software called MEAD .
I'm trying to install tomcat sysdeo plugin for Eclipse, but I ran into some
I am trying to install some plugin into Griffon by issuing this command griffon
I'm trying to install the dependencies of some example: npm's express 2.5.8 that I've
Currently I'm trying to install PHP 5.3.0 on some Linux testing server. As we've
I'm actually trying to install RRDTool on windows, using strawberry perl and it's nice
I am trying to set up an application dependant on few Perl modules, but
I'm trying to install some files from a batch file (through code). However the

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.