Bug 155596 - DB PEAR extension wrongly installed
DB PEAR extension wrongly installed
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-21 13:52 EDT by Marius Andreiana
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-22 05:03:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Marius Andreiana 2005-04-21 13:52:59 EDT
php source rpm includes DB, the PEAR extension. However, it's installed in
/usr/share/pear/DB
instead of
/usr/share/pear

This makes it unusable.
Comment 1 Joe Orton 2005-04-22 05:03:34 EDT
It always has been there and /usr/share/pear/DB.php knows where it is.  What is
your include_path set to in /etc/php.ini?

Comment 2 Marius Andreiana 2005-04-22 06:03:44 EDT
In 5.0.4-2 which I had it was like this:
rpm -ql php-pear|grep DB
/usr/share/pear/DB
/usr/share/pear/DB/DB
/usr/share/pear/DB/DB.php
/usr/share/pear/DB/DB/common.php

It is fixed in the most recent version by changing installation in spec to
# Add some standard PEAR packages which are no longer shipped upstream
pushd pear/packages
cp ...


It used to be 
pushd pear
 tar xzf %{SOURCE20}
 mv DB-* DB
 sed '/<file /s,name=",name="DB/,' package.xml > package-DB.xml
 rm package.xml
popd

Thanks

Note You need to log in before you can comment on or make changes to this bug.