#36233 [Opn->Bgs]: Can not get php to compile
| From: | tony2001@php.net | Date: | Wed, 01 Feb 2006 11:03:05 +0000 |
| Subject: | #36233 [Opn->Bgs]: Can not get php to compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92761@lists.php.net to get a copy of this message | ||
ID: 36233
Updated by: tony2001@php.net
Reported By: rwheeler at artifact-software dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Mandriva 2006 x86_64
PHP Version: 5.1.2
New Comment:
Not PHP problem.
See http://bugs.mysql.com/bug.php?id=13159
Previous Comments:
------------------------------------------------------------------------
[2006-01-31 17:57:52] rwheeler at artifact-software dot com
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 this bug report at http://bugs.php.net/?id=36233&edit=1