#36233 [NEW]: Can not get php to compile
| From: | rwheeler at artifact-software dot com | Date: | Tue, 31 Jan 2006 16:57:55 +0000 |
| Subject: | #36233 [NEW]: Can not get php to compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-92718@lists.php.net to get a copy of this message | ||
From: rwheeler at artifact-software dot com
Operating system: Mandriva 2006 x86_64
PHP version: 5.1.2
PHP Bug Type: Compile Failure
Bug description: Can not get php to compile
Description:
------------
In configure I get a message about bison
Configuring Zend
checking for bison version... (cached) invalid
configure: warning: bison versions supported for regeneration of the
Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 (found: none).
But it is installed
[ php-5.1.2]# bison --version
bison (GNU Bison) 2.0
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[ php-5.1.2]# urpmq -r -cf bison
bison-2.0-3mdk.x86_64
In make, I get a ton of warnings about pointer signedness in many
modules.
For example:
In file included from
/home/rwheeler/0distrib/php-5.1.2/regex/regcomp.c:14:
/home/rwheeler/0distrib/php-5.1.2/regex/cclass.h:7: warning: pointer
targets in initialization differ in signedness
Make finally dies with
/usr/bin/ld: /usr/lib64/mysql/libmysqlclient.a(libmysql.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/lib64/mysql/libmysqlclient.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
The MySQL was installed using the 64 bit rpm from mysql.com and seems to
work fine but I may not be testing libmysqlclient.
This is probably a series of bugs but I can not figure out how to separate
out the various errors or determine the interaction or dependencies between
errors.
Expected result:
----------------
I expect it to compile clean and install and run
Actual result:
--------------
It does not make.
--
Edit bug report at http://bugs.php.net/?id=36233&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36233&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36233&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36233&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36233&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36233&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36233&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36233&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36233&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36233&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36233&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36233&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36233&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36233&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36233&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36233&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36233&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36233&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36233&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36233&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36233&r=mysqlcfg