php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34290 --with-pear=dir is broken
Submitted: 2005-08-28 17:40 UTC Modified: 2005-08-28 20:06 UTC
From: f dot vlemmings at drno dot nl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.4.0 OS: Slackware 10.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: f dot vlemmings at drno dot nl
New email:
PHP Version: OS:

 

 [2005-08-28 17:40 UTC] f dot vlemmings at drno dot nl
Description:
------------
./Configure --with-pear=/usr/local/php/pear is not working correct. The optinal parameter is not set in the Makefile. 
Because this the PEAR files are always installed in the default location ($PREFIX/lib/php).

When I changed the following line in the Makefile from PEAR_INSTALLDIR = ${exec_prefix}/lib/php to
PEAR_INSTALLDIR = /usr/local/php/pear
the files and the pear.ini (file locations) files are correctly installed.

Expected result:
----------------
Pear files should be installed in /usr/local/php/pear

Actual result:
--------------
Pear files are installed in $PREFIX/lib/php

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-28 20:06 UTC] sniper@php.net
If the path is incorrect, then you haven't passed the option correctly to configure. Works as expected for me.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 06:00:03 2025 UTC