php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63116 can not build
Submitted: 2012-09-19 00:24 UTC Modified: 2012-10-26 06:26 UTC
From: sclassen at lbl dot gov Assigned: koubel (profile)
Status: No Feedback Package: rrd (PECL)
PHP Version: 5.3.17 OS: CentOS 5.8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sclassen at lbl dot gov
New email:
PHP Version: OS:

 

 [2012-09-19 00:24 UTC] sclassen at lbl dot gov
Description:
------------
pecl install rrd fails to find my installation of rrdtools which is located in 
/usr/local/rrdtool-1.4.7

I've made sym links for header files to no avail:

ln -s /usr/local/rrdtool-1.4.7/include/rrd.h /usr/include/.
ln -s /usr/local/rrdtool-1.4.7/include/rrd_client.h /usr/include/.
ln -s /usr/local/rrdtool-1.4.7/include/rrd_format.h/usr/include/.


Expected result:
----------------
I expect pecl to download, build, and install the red package.

Actual result:
--------------
downloading rrd-1.1.0.tar ...
Starting to download rrd-1.1.0.tar (Unknown size)
.............done: 116,224 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
building in /tmp/pear/temp/pear-build-rooteIfOnr/rrd-1.1.0
running: /tmp/pear/temp/rrd/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -
I/usr/local/include/php/main -I/usr/local/include/php/TSRM -
I/usr/local/include/php/Zend -I/usr/local/include/php/ext -
I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-
non-zts-20090626
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... invalid
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate 
PHP parsers.
checking for gawk... gawk
checking for rrdtool support... yes, shared
checking for rrdtool... no
checking for rrdtool header files in default paths... found in /usr/include
checking for rrd_create in -lrrd... no
configure: error: wrong rrd lib version or lib not found
ERROR: `/tmp/pear/temp/rrd/configure' failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-21 09:34 UTC] koubel@php.net
It seems that compiled rrd library (librrd.so, .la) isn't visible for the linker. If you installed the rrd tool by hand, verify your installation. You can specify any installation rrd path by configure option (--with-rrd if I remember correctly, you can verify it by configure --help) when you install the extension by phpize - http://php.net/manual/en/install.pecl.phpize.php. I suppose, that phpize is the recommended installation process for your case, try it.
 [2012-09-21 09:34 UTC] koubel@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: koubel
 [2012-10-26 06:26 UTC] koubel@php.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.


 [2012-10-26 06:26 UTC] koubel@php.net
-Status: Feedback +Status: No Feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC