Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35534 - dev-php/smarty-2.6.0_rc1-r1: wrong einfo
Summary: dev-php/smarty-2.6.0_rc1-r1: wrong einfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 10:04 UTC by Philipp Kern
Modified: 2004-01-04 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kern 2003-12-10 10:04:34 UTC
At the end of the ebuild there are some einfos stating the following output:
 * Smarty has been installed in /usr/lib/php/Smarty.
 * To use it in your scripts, either
 * 1. define(SMARTY_DIR, "/usr/lib/php/Smarty") in your scripts, or
 * 2. add /usr/lib/php/Smarty to includes= in /etc/php4/php.ini

Line 3 (1. define...) lacks a / behind Smarty. The directory name has to be terminated with a slash, otherwise Smarty will fail.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-11 02:05:48 UTC
please use common herds to assign bugs
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-12-15 15:46:53 UTC
in cvs
Comment 3 Philipp Kern 2003-12-21 07:13:53 UTC
Oops sorry. My eyes didn't catch that it has to be 'SMARTY_DIR'.
So please write define('SMARTY_DIR', '/usr/lib/php/Smarty/') into the ebuild, thank you. SMARTY_DIR alone would throw a warning/notice.
Comment 4 Philipp Kern 2003-12-24 04:26:07 UTC
The actual Smarty-2.6.0.ebuild lacks both.

einfo "1. define(SMARTY_DIR, \"/usr/lib/php/Smarty\") in your scripts, or"
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-04 20:12:59 UTC
fixed in CVS.