php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34161 Includes set incorrectly for timelib.h and timelib_structs.h
Submitted: 2005-08-17 05:03 UTC Modified: 2005-08-18 06:56 UTC
From: selsky at columbia dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2005-08-17 OS: Solaris 9
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: selsky at columbia dot edu
New email:
PHP Version: OS:

 

 [2005-08-17 05:03 UTC] selsky at columbia dot edu
Description:
------------
I'm building php 5.1.0RC1 on Solaris 9 with gcc 2.95.2

$ LDFLAGS='-R/opt/local/lib -L/opt/local/lib'   ../../src/configure --prefix=/opt/php-5.1.0RC1 --sysconfdir=/etc/php --with-config-file-path=/etc/php --with-apxs2 --with-xmlrpc --with-libxml-dir=/opt/local --with-openssl=/opt/openssl-0.9.7f

I'm building php in a directory different from the source directory.  This has worked in php 4.3.x

Actual result:
--------------
/bin/sh /hmt/chinchin/src/web/php/php-5.1.0RC1/obj/solaris9/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/ext/date/ -DPHP_ATOM_INC -I/hmt/chinchin/src/web/php/php-5.1.0RC1/obj/solaris9/include -I/hmt/chinchin/src/web/php/php-5.1.0RC1/obj/solaris9/main -I/hmt/chinchin/src/web/php/php-5.1.0RC1/src -I/opt/libxml2-2.6.15/include/libxml2 -I/opt/openssl-0.9.7f/include -I/hmt/chinchin/src/web/php/php-5.1.0RC1/obj/solaris9/TSRM -I/hmt/chinchin/src/web/php/php-5.1.0RC1/obj/solaris9/Zend -I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/main -I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/Zend -I/hmt/chinchin/src/web/php/php-5.1.0RC1/src/TSRM -I/hmt/chinchin/src/web/php/php-5.1.0RC1/obj/solaris9/  -D_POSIX_PTHREAD_SEMANTICS  -g -O2   -c /hmt/chinchin/src/web/php/php-5.1.0RC1/src/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
resource/parse_date.re:21: timelib.h: No such file or directory
resource/parse_date.re:131: timelib_structs.h: No such file or directory
make: *** [ext/date/lib/parse_date.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-17 09:50 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-08-17 20:18 UTC] selsky at columbia dot edu
Same error.
 [2005-08-18 02:30 UTC] sniper@php.net
Exactly how you end up with directories like '/hmt/chinchin/src/web/php/php-5.1.0RC1/obj/' and 
'/hmt/chinchin/src/web/php/php-5.1.0RC1/src/' ???
You're obviously trying to do something too "smart" what we never even thought someone might try doing..

Please follow the INSTALL instructions and the build will work fine.

 [2005-08-18 06:56 UTC] selsky at columbia dot edu
I build php for several architectures using the same src 
tree.  I put the source in src/ and then I build the 
different architectures in obj/solaris9, obj/linux24, 
obj/linux26, etc.

This is a standard thing to do with autoconf programs 
and this worked fine with php 4.3.x.

See http://www.gnu.org/software/autoconf/manual/
autoconf-2.57/html_chapter/autoconf_4.html#SEC25
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 09:00:03 2025 UTC