Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Building Perl in a Non-standard environment

by defyance (Curate)
on Mar 17, 2003 at 18:23 UTC ( #243730=note: print w/ replies, xml ) Need Help??


in reply to Building Perl in a Non-standard environment

Just a shot in the dark, not sure if this is what you want, but check this out:

ExtUtils::MakeMaker Docs

-- Can't never could do anything, so give me and inch, I'll make it a mile.


Comment on Re: Building Perl in a Non-standard environment
Re: Re: Building Perl in a Non-standard environment
by comand (Acolyte) on Mar 17, 2003 at 18:56 UTC

    I had tried this, but the build still complains that it cannot find perl.h. The perl executable *thinks* it is installed in /usr/local/perl5, but actually there is nothing there. I cannot install into this directory, because I don't have root permission on the ClearCase server.

    What I need is a way to tell the module to use $(dist)/perl5 sub directories for build/install, but still keep internal stuff (like the #! path for LWP scripts) pointing to /usr/local/perl5/bin/perl. Perl lets me do this easily, but I can't figure out how to make the same thing happen using ExtUtils::MakeMaker...

      Well, it's been over 4 years since I used ClearCase, but I vaguely remember having a similar problem. Unfortunately for you, I did have root on the build box, so the solution for me was to make /usr/local/perl5 (and other necessary places) into vob-exported directories (Is that the right term? It used a view to figure out what was there, but you didn't need to be in the view to see it).

      If you can't get root permission, perhaps your sysadms will give you a suid script that installs the (newly built) Perl in /usr/local/perl5/..., which you could then run after building perl but before building extentions.

      HTH,
      --roundboy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243730]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-12-28 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls