Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #17640 pear install --packagingroot not working
Submitted: 2010-07-29 17:24 UTC
From: quartje Assigned:
Status: Open Package: PEAR (version 1.9.1)
PHP Version: 5.2.10 OS: Redhat EL 5.4
Roadmaps: (Not assigned)    
Subscription  


 [2010-07-29 17:24 UTC] quartje (Bart Geesink)
Description: ------------ I try to install a package into a directory to make an RPM package with the following command (tried several packages, all with same results): [root@mymachine ~]# pear install --packagingroot=/tmp/stomp/ stomp-1.0.0.tgz This is the output: 6 source files, building ERROR: could not chdir to /var/tmp/stomp When I do this: [root@mymachine ~]# pear install --packagingroot=/var/tmp/stomp/ stomp-1.0.0.tgz This is the output: 6 source files, building running: phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed

Comments

 [2010-09-05 02:32 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Stomp is a pecl package, thus you need to use "pecl install", however that might not fix the whole problem you have but it's a good start.
 [2011-09-29 20:40 UTC] meris (Marek Drtilek)
Hallo, I have same problem. I test pecl install, but the result is same. A need make rpm stomp-1.0.3 on Centos 5.6, Pear version 1.9.1. Any idea? Than Marek
 [2013-10-16 15:46 UTC] oernii2 (oernii bbbbbbb)
This still exists in RHEL 6.4. A workaround is to create a symlink (as root): ln -s /home/rpm/rpmbuild/BUILDROOT/php-mongo-1.4.4-1.x86_64/var/tmp/mongo /var/tmp/ Modify for your package.