php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58134 pecl install timezonedb fails on make
Submitted: 2008-03-31 18:16 UTC Modified: 2020-03-01 04:22 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: nsharp at valex dot com dot au Assigned: cmb (profile)
Status: No Feedback Package: timezonedb (PECL)
PHP Version: 5.1.6 OS: Ubuntu
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-03-31 18:16 UTC] nsharp at valex dot com dot au
Description:
------------
pecl install timezonedb in this env gives;

running: make
/bin/bash /var/tmp/pear-build-root/timezonedb-2008.2/libtool --mode=compile gcc  -I. -I/tmp/pear/download/timezonedb-2008.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/timezonedb-2008.2/include -I/var/tmp/pear-build-root/timezonedb-2008.2/main -I/tmp/pear/download/timezonedb-2008.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php/ext/date/lib  -Wall -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/download/timezonedb-2008.2/timezonedb.c -o timezonedb.lo
mkdir .libs
 gcc -I. -I/tmp/pear/download/timezonedb-2008.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/timezonedb-2008.2/include -I/var/tmp/pear-build-root/timezonedb-2008.2/main -I/tmp/pear/download/timezonedb-2008.2 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php/ext/date/lib -Wall -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/download/timezonedb-2008.2/timezonedb.c  -fPIC -DPIC -o .libs/timezonedb.o
In file included from /usr/include/php5/ext/date/lib/timelib.h:24,
                 from /usr/include/php5/ext/date/php_date.h:24,
                 from /tmp/pear/download/timezonedb-2008.2/timezonedb.c:30:
/usr/include/php5/ext/date/lib/timelib_structs.h:24:28: error: timelib_config.h: No such file or directory
In file included from /tmp/pear/download/timezonedb-2008.2/timezonedb.c:36:
/tmp/pear/download/timezonedb-2008.2/timezonedb.h:17439: warning: initialization discards qualifiers from pointer target type
/tmp/pear/download/timezonedb-2008.2/timezonedb.h:17439: warning: initialization discards qualifiers from pointer target type
/tmp/pear/download/timezonedb-2008.2/timezonedb.c:59: warning: initialization discards qualifiers from pointer target type
/tmp/pear/download/timezonedb-2008.2/timezonedb.c: In function 'zm_startup_timezonedb':
/tmp/pear/download/timezonedb-2008.2/timezonedb.c:83: warning: passing argument 1 of 'php_date_set_tzdb' discards qualifiers from pointer target type
/tmp/pear/download/timezonedb-2008.2/timezonedb.c: In function 'zm_info_timezonedb':
/tmp/pear/download/timezonedb-2008.2/timezonedb.c:100: warning: initialization discards qualifiers from pointer target type
make: *** [timezonedb.lo] Error 1
ERROR: `make' failed



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-01 02:18 UTC] derick@php.net
Do you have the timelib_config.h file?
 [2008-04-01 18:28 UTC] nsharp at valex dot com dot au
It seem to be there and in the right place, which made me think it was a bug. 

ls -la /usr/include/php5/ext/date/lib/
total 28
drwxr-xr-x 2 root root 4096 2007-02-08 11:54 .
drwxr-xr-x 3 root root 4096 2007-02-08 11:54 ..
-rw-r--r-- 1 root root   80 2006-11-02 23:19 timelib_config.h
-rw-r--r-- 1 root root 4598 2006-11-02 23:19 timelib.h
-rw-r--r-- 1 root root 5538 2006-11-02 23:19 timelib_structs.h
 [2008-07-29 12:02 UTC] fastonion at gmail dot com
Fixed!

do this:
ln -s /usr/include/php5 /usr/include/php

Regard,

Luis Morales
 [2020-02-18 08:54 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-02-18 08:54 UTC] cmb@php.net
> […] because it's not yet supported by PHP, as per this line from
> your wiki:

Well, that's from an mostly unmaintained page for Windows[1], and
the good news is, that OpenLDAP 2.4 is actually used for our
Windows builds for many years now.

> LDAP build check failed. Please check config.log for more
> information.

Well, is there mor information in config.log?

[1] <https://wiki.php.net/internals/windows/libs>
 [2020-03-01 04:22 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 "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jun 01 03:01:26 2020 UTC