Re: RPM Packaging of PEAR-1.4.11.tgz

From: Date: Tue, 05 Dec 2006 17:20:02 +0000
Subject: Re: RPM Packaging of PEAR-1.4.11.tgz
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45106@lists.php.net to get a copy of this message
> That's the directory in your php.ini include_path. It has nothint to > do with the PEAR install. Edit your php.ini file and set the > include_path to the directory where PEAR is installed. Thanks Justin - I did as you suggested and added: [xxxx@xxxx ~]$ grep -a include_path /etc/php.ini ; (directory must also be in include_path or full path must include_path = ".:/php/includes:/usr/share/pear" I still get the same error. I guess the big question I have is why its using System.php in the build directory (/var/tmp/vclk-php5-pear-root/usr/share/pear/System.php) and not the one in the install directory (/usr/share/pear/System.php). > > > What's strange is that running "rpm -qpl" on the created rpm shows that > > the directory path is correct "/usr/share/pear". Searching for > > "include_path" yeilds this result: > > > > [xxxxx@xxxx SPECS]$ grep include_path /usr/share/pear/pearcmd.php > > if ('/var/tmp/php5-pear-root/usr/share/pear' != > > '@'.'include_path'.'@') { > > ini_set('include_path', > > '/var/tmp/vclk-php5-pear-root/usr/share/pear'); > > > > > > I tried manually setting the directory path in pearcmd.php but I still > > get the same result. > > > > The system in question is running RHEL4. Thanks in advanced. > > > > -- > > PEAR Development Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php -- Rey Paderna rpaderna@valueclick.com phone: 818 575 4738 mobile: 818 264 8348

« previous php.pear.dev (#45106) next »