6.0.0-beta1
7/6/25

[#10028] Horde_Role: missing tokenizer ext dependency in pear package
Summary Horde_Role: missing tokenizer ext dependency in pear package
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester glen (at) delfi (dot) ee
Created 05/03/2011 (5178 days ago)
Due
Updated 05/03/2011 (5178 days ago)
Assigned
Resolved 05/03/2011 (5178 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/03/2011 08:05:00 AM glen (at) delfi (dot) ee Comment #4 Reply to this comment
tokenizer is not disabled, it is external (shared library) module

in PEAR the dependency is optional, it runtime checks for ext and 
fails on certain operations
05/03/2011 07:19:19 AM Jan Schneider Comment #3 Reply to this comment
And if it's an install-time dependency, it's a dependency of PEAR, not 
Horde_Role.
05/03/2011 05:39:51 AM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
So don't compile PHP with --disable-tokenizer.
05/03/2011 05:18:30 AM glen (at) delfi (dot) ee Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Horde_Role: missing tokenizer ext dependency in pear package
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
without tokenizer ext present, pear installer throws an error. note 
this is install time dependency, not runtime.

+ /usr/bin/php -doutput_buffering=1 -dopen_basedir= -dmemory_limit=-1 
-ddate.timezone=GMT /usr/share/pear/pearcmd.php -c 
/home/users/builder/rpm/BUILD/Horde_Role-1.0.0/pearrc -d doc_dir=/docs 
-d temp_dir=/tmp -d php_dir=/usr/share/pear -d bin_dir=/usr/bin -d 
data_dir=/usr/share/pear/data -d test_dir=/usr/share/pear/tests 
install --packagingroot=/home/users/builder/rpm/BUILD/Horde_Role-1.0.0 
--offline --nodeps /home/users/builder/rpm/SOURCES/Horde_Role-1.0.0.tgz
+ > .install.log
+ c=1
+ cat .install.log
task <tasks:postinstallscript> in file Horde/Role.php is invalid 
because of "Analysis of post-install script "Horde/Role.php" failed: 
Parser error: token_get_all() function must exist to analyze source 
code, PHP may have been compiled with --disable-tokenizer
"
Parsing of package.xml from file "/tmp/pearG3xEdX/package.xml" failed
Cannot download non-local package 
"/home/users/builder/rpm/SOURCES/Horde_Role-1.0.0.tgz"
install failed
+ exit 1

Saved Queries