Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96194

Summary: PEAR-Mail weird install path
Product: Gentoo Linux Reporter: Eric Brown <eric.brown>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric Brown 2005-06-15 10:11:34 UTC
PEAR-Mail is putting Mail.php in /usr/lib/php/php/Mail.php
This means where you should just need include("Mail.php"), you now need
include("php/Mail.php").

We should probably just install it to /usr/lib/php unless there's some special
reason to keep it this way

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eric Brown 2005-06-15 10:16:15 UTC
furthermore, i noticed that when I include php/Mail.php, it tries to include
Net/SMTP.php, which fails for the same reason, namely that it would need
php/NET/SMTP.php
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-02 00:46:37 UTC
Cannot reproduce:

  >>> Merging dev-php/PEAR-Mail-1.1.5 to /
  --- /usr/
  --- /usr/lib/
  --- /usr/lib/php/
  >>> /usr/lib/php/Mail/
  >>> /usr/lib/php/Mail/RFC822.php
  >>> /usr/lib/php/Mail/mail.php
  >>> /usr/lib/php/Mail/sendmail.php
  >>> /usr/lib/php/Mail/null.php
  >>> /usr/lib/php/Mail/smtp.php
  --- /usr/lib/php/test/
  >>> /usr/lib/php/test/Mail/
  >>> /usr/lib/php/test/Mail/tests/
  >>> /usr/lib/php/test/Mail/tests/rfc822.phpt
  >>> /usr/lib/php/Mail.php
  >>> /usr/lib/php/.filemap
  >>> /usr/lib/php/.lock
  --- /usr/lib/php/.registry/
  >>> /usr/lib/php/.registry/mail.reg
  >>> Regenerating /etc/ld.so.cache...
  >>> dev-php/PEAR-Mail-1.1.5 merged.
  >>> Recording dev-php/PEAR-Mail in "world" favorites file...