FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17640&edit=1

  ID: 17640
  Comment by: oernii2
  Reported By: oernii@gmail.com
  Summary: pear install --packagingroot not working
  Status: Open
  Type: Bug
  Package: PEAR
  Operating System: Redhat EL 5.4
  Package Version: 1.9.1
  PHP Version: 5.2.10
  New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2011-09-29 16:40:22] meris

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

------------------------------------------------------------------------

[2010-09-04 22:32:04] dufuz

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.

------------------------------------------------------------------------

[2010-07-29 13:24:36] quartje

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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 16, '13 at 9:42a
activeOct 16, '13 at 9:42a
posts1
users1
websitepear.php.net

1 user in discussion

Oernii2: 1 post

People

Translate

site design / logo © 2022 Grokbase