php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57598 cannot install haru package by a 'pecl install haru'
Submitted: 2007-03-29 02:15 UTC Modified: 2013-02-18 00:35 UTC
Votes:2
Avg. Score:3.0 ± 2.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: tsuruoka@php.net Assigned:
Status: No Feedback Package: haru (PECL)
PHP Version: 5.2.0 OS: Linux(Ubuntu Feisty)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-03-29 02:15 UTC] tsuruoka@php.net
Description:
------------
I tried install of haru.so
but I could not install from pecl command.

There is a problem in configure, and 
I think that there is a problem in '--with-zlib-dir' and '--with-png-dir'

FAIL:
pecl install haru

FAIL:
tar -zxvf http://pecl.php.net/get/haru
cd haru
phpize
configure --with-haru=$HOME --with-zlib-dir=/usr --with-png-dir=/usr

PASS:
tar -zxvf http://pecl.php.net/get/haru
cd haru
phpize
configure --with-haru=$HOME --with-zlib-dir=/usr --with-png-dir=/usr LDFLAGS="-lpng -lz"
make
make install




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-29 03:13 UTC] tony2001 at phpclub dot net
A problem? Fails?
Could you be more specific, please?
 [2010-10-08 10:47 UTC] M dot Hula at pod dot cvut dot cz
Same problem to me. In config.m4, line 18:
SEARCH_PATH="/usr/local/ /usr/"

This path is not splitted in for loop, against
test -r "/usr/local/ /usr/include/hpdf.h" is done in ./configure.

But ./configure --with-haru="/usr/local/" works fine and pecl installation works fine too.

pecl install haru
Please provide the prefix of libharu installation [autodetect] : /usr/local/
 [2011-07-09 10:18 UTC] philip at roshambo dot org
Did the following patch/commit solve this bug report?

http://svn.php.net/viewvc/pecl/haru/trunk/config.m4?
r1=232174&r2=287812
 [2011-07-09 10:31 UTC] tony at daylessday dot org
I guess so.
Can you test it?
 [2011-07-09 11:06 UTC] philip at roshambo dot org
I tested that SVN works, but 'pecl install haru' does not... I'm not familiar enough with the 'pecl' 
command to do more, but it looks fine now.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC