Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
04259b22
Commit
04259b22
authored
Apr 04, 2008
by
jake%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 196433 - Bugzilla now uses /usr/bin/perl as the shebang line
r=justdave a=justdave
parent
64910a75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
36 deletions
+1
-36
installation.xml
docs/en/xml/installation.xml
+1
-36
No files found.
docs/en/xml/installation.xml
View file @
04259b22
...
...
@@ -522,41 +522,6 @@
until you run the post-install
<filename>
checksetup.pl
</filename>
script, which locks down your installation.
</para>
<para>
Lastly, you'll need to set up a symbolic link to
<filename>
/usr/bonsaitools/bin/perl
</filename>
for the correct location of your Perl executable (probably
<filename>
/usr/bin/perl
</filename>
).
Otherwise you must hack all the .cgi files to change where they look
for Perl. This can be done using the following Perl one-liner, but
I suggest using the symlink approach to avoid upgrade hassles.
</para>
<note>
<para><quote>
Bonsaitools
</quote>
is the name Terry Weissman, the
original author of Bugzilla, created
for his suite of webtools at the time he created Bugzilla and several
other tools in use at mozilla.org. He created a directory,
<filename>
/usr/bonsaitools
</filename>
to house his specific versions
of perl and other utilities. This usage is still current at
<ulink
url=
"http://bugzilla.mozilla.org/"
>
bugzilla.mozilla.org
</ulink>
,
but in general most other places do not use it. You can either edit
the paths at the start of each perl file to the correct location of
perl on your system, or simply bow to history and create a
<filename>
/usr/bonsaitools
</filename>
and
<filename>
/usr/bonsaitools/bin
</filename>
directory, placing a symlink to perl on your system
inside
<filename>
/usr/bonsaitools/bin
</filename>
</para>
</note>
<para>
<programlisting>
perl -pi -e 's@#\!/usr/bonsaitools/bin/perl@#\!/usr/bin/perl@' *cgi *pl Bug.pm syncshadowdb
</programlisting>
Change
<filename>
/usr/bin/perl
</filename>
to match the location
of Perl on your machine.
</para>
</section>
<section>
...
...
@@ -1185,7 +1150,7 @@ system("C:\\perl\\bin\\perl", "$webdotbase","-Tpng","-o","$pngfilename","$filena
url=
"http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource"
>
ScriptInterpreterSource
</ulink>
directive in your Apache config, if you don't do this, you'll have
to modify the first line of every script to contain your path to
perl instead of
<filename>
/usr/b
onsaitools/b
in/perl
</filename>
.
perl instead of
<filename>
/usr/bin/perl
</filename>
.
</para>
</note>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment