You are here: Foswiki>Tasks Web>Item9333 (02 Nov 2014, GeorgeClark)Edit Attach

Item9333: both configure installer and pseudo-install should automatically localise the perl shebang

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure, Install, PseudoInstall
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
and what that shebang should look like should probly be a cfg value.

that way, stuff just works.

-- SvenDowideit - 16 Jul 2010

this would also simplify changing your perl to debugperl, adding profilling such as NYTProf, or anything else..

-- SvenDowideit - 16 Jul 2010

This is partly addressed. Configure uses Foswiki::Configure::Util::rewriteShebang to set the perl shebang for any extension scripts. It sets the shebang to the shebang used by bin/configure. It could use the perl location but this is auto dereferenced from a symlink to the installed version of perl, which is probably not wanted.

-- GeorgeClark - 02 Dec 2010

For pseudo-install, if it updates the shebang in a symlink environment, then it's modifying a file that might be inadvertently checked in. This should probably only be done when doing a "copy" type installation rather than symlink.

-- GeorgeClark - 15 Apr 2011

Setting this to no action needed. Configure and Package do what is needed for the typical environment. Pseudo-install is a developer tool and probably should not modify files that are subject to checkin. If you really think that it needs to be part of pseudo-install, please reopen and suggest a fix.

-- GeorgeClark - 02 Nov 2014
 

ItemTemplate edit

Summary both configure installer and pseudo-install should automatically localise the perl shebang
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component Configure, Install, PseudoInstall
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 02 Nov 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy