Ticket #880 (Closed: fixed)
please provide all dependent PEAR packages as tools in the tools directory
Priority: | normal | Reporter: | maroy |
---|---|---|---|
Severity: | minor | Assigned to: | tomash |
Component: | server feature | Status: | closed |
Version: | Resolution: | fixed | |
Milestone: | Keywords: |
Description by maroy:
Please provide all PEAR (non-triival) packages LiveSupport uses in the tools directory as a tool, which is installed appropriately when LiveSupport is installed. Please refer to the directory structure document: https://www.campware.org/public_html/doc/development Environment/directoryStructure.html for a description on the typical contents of tool directories...
Attachments
Changelog
Tue Apr 26 13:28:11 2005: Modified by maroy
- owner changed from sebastian to tomash
Sat Apr 30 01:37:53 2005: Modified by tomash
- resolution set to fixed
- status changed from assigned to closed
Sat Apr 30 12:14:42 2005: Modified by maroy
the directory where the pear files are installed seem to differ from system to system. for example, on ls-dev, it installs itself to usr/share/pear (which is a Mandrake), while on my gentoo box it indeed installs itself under usr/lib/php. isn't there a way to make this a specific directory? also, I get: Calendar-0.5.2.tgz Optional dependencies: package `Date' is recommended to utilize some features. install ok: Calendar 0.5.2 will this be a problem? the tools directory does not conform to our directory structure spec: http://liv esupport.campware.org/public_html/doc/developmentEnvironment/directory Structure.html as it does not contain a version subdirectory (please note I had to make some changes to the bin/dist.sh, bin/copyInstall.sh and bin/preInstall.sh to make them work properly)
Sat Apr 30 12:15:17 2005: Modified by maroy
- status changed from closed to assigned
Sun May 1 12:21:05 2005: Modified by maroy
I added a workaround to move the installed packages to usr/lib/php, if they are at usr/share/pear. let's just hope that other systems don't fancy a third directory they try to install to...
Sun May 1 12:23:47 2005: Modified by tomash
Thanks, I've probably found the place, where relevant configuration resides. I will provide special pear configuration for LS.
Sun May 1 18:19:33 2005: Modified by tomash
- status changed from assigned to closed
Solved - but late for 0.9.1 :( Special usr/lib/php/etc/pear.conf is generated from tools/pear/etc/pear.conf.template. All pear packages is then installed according to this pear.conf under usr/lib/php (independently of system-wide settings, I hope).
Pear packages location in CVS: tools/pear/src Installation script: tools/pear/bin/install.sh Packages are extracted to: usr/lib/php It finally resides in $install_dir/lib and PHP part of LS use it after set_include_path() call i.e. modifying include_path value. modified files: etc/Makefile.in bin/dist.sh bin/preInstall.sh bin/copyInstall.sh modules/storageServer/var/conf.php modules/storageServer/var/conf.php.template modules/archiveServer/var/conf.php modules/archiveServer/var/conf.php.template