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