Newer
Older
Digital_Repository / OARiNZ / DIY / deb_package / eprints-3.0 / debian / README.Debian
eprints for Debian
------------------


NOTES ON PACKAGING

The default installation recommends using the user and group "eprints" rather
than the www user (www-data under Ubuntu). These need to be created *before*
the configure script is run, but I couldn't figure out how to do so in the
pbuilder chroot. Instead, I configure and install as www-data, create the
eprints user/group in the postinstall script, then change the ownership of
the installed files. This should all be transparent.


CHANGES TO ORIGINAL DISTRIBUTION

install.pl.in, lines 637 & 642:
The original script hard codes the EPrints perl library directory into the
#! lines of all the EPrints utility scripts. If you use a custom install
prefix while building the binary package to install into the package build
directory, all the #! paths end up pointing to the package build directory
rather than the final install directory. Mass breakage ensues when you install
and try to run the scripts for real :)  The solution is to change the variable
used to build the #! paths.


 -- Nigel Stanger <nstanger@infoscience.otago.ac.nz>, Fri, 13 Apr 2007 15:56:35 +1200