pear failing to install include files properly

From: Date: Sat, 09 Nov 2013 23:27:30 +0000
Subject: pear failing to install include files properly
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31836@lists.php.net to get a copy of this message
I'm trying to get two linters, PHPMD and PHP Code Sniffer, installed with PEAR. But when I try to run phpmd or phpcs, they show some errors. $ phpmd hello.php Warning: require_once(PHP/PMD/TextUI/Command.php): failed to open stream: No such file or directory in /Users/andrew/pear/bin/phpmd on line 45 Fatal error: require_once(): Failed opening required 'PHP/PMD/TextUI/Command.php' (include_path='.:') in /Users/andrew/pear/bin/phpmd on line 45 $ phpcs hello.php Warning: include_once(PHP/CodeSniffer/CLI.php): failed to open stream: No such file or directory in /Users/andrew/pear/bin/phpcs on line 31 Warning: include_once(): Failed opening 'PHP/CodeSniffer/CLI.php' for inclusion (include_path='.:') in /Users/andrew/pear/bin/phpcs on line 31 Fatal error: Class 'PHP_CodeSniffer_CLI' not found in /Users/andrew/pear/bin/phpcs on line 34 These seem to indicate that pear isn't adding them to the default include path during installation. $ specs php os Specs: specs 0.7 https://github.com/mcandre/specs#readme pear version PEAR Version: 1.9.4 PHP Version: 5.4.17 Zend Engine Version: 2.4.0 Running on: Darwin mockingjay.westell.com 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 php --version PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies system_profiler SPSoftwareDataType | grep 'System Version' System Version: OS X 10.9 (13A603) -- Cheers, Andrew Pennebaker www.yellosoft.us

« previous php.pear.general (#31836) next »