php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23709 Cannot configure
Submitted: 2003-05-20 02:15 UTC Modified: 2003-05-20 08:52 UTC
From: tarmo at kaugotsing dot ee Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2RC3 OS: Linux, Redhat 9
Private report: No CVE-ID: None
 [2003-05-20 02:15 UTC] tarmo at kaugotsing dot ee
Configure gives error: 
configure: error: config-file-path: invalid package name 
 
Buildconf does not help: 
./buildconf 
using default Zend directory 
buildconf: checking installation... 
buildconf: autoconf version 2.57 (ok) 
buildconf: Your version of autoconf likely contains buggy cache 
code. 
           Running cvsclean for you. 
           To avoid this, install autoconf-2.13 and automake-1.5. 
buildconf: automake version 1.6.3 (ok) 
buildconf: libtool version 1.4.3 (ok) 
[root@server php-4.3.2RC3]# [root@server php-4.3.2RC3]# 
./conf.php.eko 
configure: error: config-file-path: invalid package name 
 
With autoconf 2-13-ga it is not better: 
 
using default Zend directory 
buildconf: checking installation... 
buildconf: autoconf version 2.13 (ok) 
build/buildcheck.sh: line 64: test: 5) 1: integer expression 
expected 
buildconf: automake version 1.5) 1.5 (ok) 
buildconf: libtool version 1.4.3 (ok) 
 
 
PHP 4.3.1 compiles, but make install does not work, may be 
because of shtool 1.6.2 (ftp.gnu.org) also cannot  install under 
RedHat 9. 
 
My configure script is (as default to Redhat 9 install, output of 
phpinfo()): 
======================conf.php================ 
#!/bin/sh 
'./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux' \ 
'--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' \ 
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' \ 
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' 
\ 
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' \ 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' \ 
'--infodir=/usr/share/info' '--cache-file=../config.cache' \ 
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' 
\ 
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' \ 
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' 
'--with-db3' \ 
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' \ 
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' \ 
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' \ 
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' \ 
'--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' \ 
'--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' \ 
'--enable-bcmath' '--enable-exif' '--enable-ftp' 
'--enable-magic-quotes' \ 
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' \ 
'--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' \ 
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' \ 
'--with-pear=/usr/share/pear' '--with-imap=shared' 
'--with-imap-ssl' \ 
'--with-kerberos=/usr/kerberos' '--with-ldap=shared' \ 
'--with-mysql=shared,/usr' '--with-pgsql=shared' 
'--with-snmp=shared,/usr' \ 
'--with-snmp=shared' '--enable-ucd-snmp-hack' 
'--with-unixODBC=shared' \ 
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop' \ 
'--enable-versioning' '--enable-calendar' '--enable-dbx' 
'--enable-dio' \ 
'--enable-mcal' '--with-apxs2=/usr/sbin/apxs' 
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-20 03:42 UTC] wez@php.net
Don't run buildconf in a release package.
 [2003-05-20 04:02 UTC] derick@php.net
Try without the weird '--host=i386-redhat-linux' '--build=i386-redhat-linux' 
'--target=i386-redhat-linux-gnu' and --with-cache-file options, you definitely don't need those.
 [2003-05-20 04:06 UTC] wez@php.net
Sorry, read the report too quickly.
Try removing a lot of the weird esoteric configure options; we don't have any layouts, nor program prefixes, you shouldn't need to specify hosts or targets or cache files or any weird linker/pic/rpath options.

 [2003-05-20 06:53 UTC] tarmo at kaugotsing dot ee
I had LANG=et_EE  
With LANG=en_US.UTF-8 all works, but I think this shell variable  
must be taken into account in upcoming releases.  
  
T.F.
 [2003-05-20 08:52 UTC] sniper@php.net
Not really anything we can do something about.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 14:01:31 2024 UTC