Non-root installs

David Cullen dcullen7 at csibugs.com
Sat Mar 13 12:03:28 UTC 2004


Dear Bugzilla Folks,

I just did a non-root install of Bugzilla.  I had to overcome the
hurdle of downloading Perl packages from CPAN and installing them in
a sub-tree of my home directory.  I also used the conversion command
found on lines 988-990 of Bugzilla-Guide.txt to handle not being
able to symlink /usr/bin/perl to /usr/bonsaitools/bin/perl.
However, I had to add a "use" command to _every_ .cgi and .pl file
to include the proper library directory:

   use lib '/home/bugfixer/perl/lib/site_perl/5.6.1';

Is there some global include file that such lines can be put into?
If not, should one be added to save the headache of running

   vi *.cgi *.pl

and pasting the same line 49 times?  This would also help in the
event that a non-root install of bugzilla needed to be moved from
one server to another.

Since I don't have root access, I can't modify the PERLLIB
environment variable for the apache user.  Can bugzilla be patched
so that every .cgi and .pl file includes an empty module and people
can add installation specific commands to that module?  I would be
willing to create, test, and submit such a patch.

Also, is there any interest in adding a special sub-section for
non-root users to the INSTALLATION section of the documentation?

David (from the Laptop)





More information about the developers mailing list