Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Perl install ignores -Dprefix

by Anonymous Monk
on May 22, 2014 at 14:30 UTC ( #1087107=note: print w/replies, xml ) Need Help??

in reply to Re: Perl install ignores -Dprefix
in thread Perl install ignores -Dprefix

Thanks, I did this and still everything being dumped into /app. Any suggestions, there's nothing in makefile with /app/perl

Replies are listed 'Best First'.
Re^3: Perl install ignores -Dprefix
by Khen1950fx (Canon) on May 22, 2014 at 20:50 UTC
    Is /app/perl a directory? I usually unpack a perl tarball then rename the directory to the perl version number that I just unpacked as the installation prefix. For example:
    mv /opt/perl444-27-O1-5.20.0-RC1 /opt
    perl444 stands for perl using gcc-4.4.4; the 27 represents the OS which is the 2.6.27 kernel; O1((that's capital O followed by 1) stands for the optimization flag that I will use; lastly, the version number which I'm using. Next, you probably should set the path for your compiler and its library:
    export CC=/opt/444/bin/gcc export LD_LIBRARY_PATH=/usr/local/lib
    Then change directory:
    cd /opt/perl444-27-O1-5.20.0-RC1
    Now, following Corion's advice:
    ./Configure -Dcc=/opt/444/bin/gcc -Dprefix=/opt/perl444-27-O0-5.20.0-R +C1 -DDEBUGGING
    Hit Enter and it starts the configuration.
Re^3: Perl install ignores -Dprefix
by Anonymous Monk on May 22, 2014 at 20:10 UTC
    do  make clean or start with fresh directory (delete everything, unpack tarball, tar -zxvf perl...tar.gz )

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2021-06-19 17:44 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (93 votes). Check out past polls.