Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Changing Perl compile-time configuration settings

by Bloodrage (Monk)
on Feb 21, 2008 at 22:57 UTC ( #669410=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Changing Perl compile-time configuration settings
in thread Changing Perl compile-time configuration settings

After a good night sleep isn't quite so scary. A s!.:/strawberry!$strawberryDir!g does most of the work, but there are these other options that probably shouldn't be left as they are because they still contain unix paths. This might account for the occasional X:\strawberry\perl\lib/foo/baa mangled paths seen in logs and error reports.

Exerpts from
glibpth='/usr/shlib /lib/pa1.1 /usr/lib/large /lib /usr/lib /usr/lib/ +386 /lib/386 /lib/large /usr/lib/small /lib/small /usr/ccs/lib /usr/u +cblib /usr/shlib ' ... locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt +/gnu/include /usr/GNU/include /opt/GNU/include' loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /us +r/GNU/lib /opt/GNU/lib' ... strings='/usr/include/string.h' ... sysman='/usr/man/man1' ... timeincl='/usr/include/sys/time.h ' ... xlibpth='/usr/lib/386 /lib/386'

Update: Read Config manual page. Some of these are redundant. Others are easily redirected, and should really have been sorted during compile time, i.e. the Configure script didn't really set them correctly prior to compiling. It seems safe to redirect them to appropriate include and lib directories.

Comment on Re^3: Changing Perl compile-time configuration settings
Select or Download Code
Replies are listed 'Best First'.
Re^4: Changing Perl compile-time configuration settings
by adamk (Chaplain) on Feb 22, 2008 at 02:40 UTC
    I discovered exactly the same thing, nowhere nearly as scary as it first appeared.

    So I've implemented the auto-detecting version of as well, and added it to the repository.

    I've noticed the unix paths as well, but I'm unsure what the hell the implications of that are...

    Should I go through the makefile before I compile Perl and strip all those out? I dunno yet...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-10-10 04:33 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls