php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36233 Can not get php to compile
Submitted: 2006-01-31 17:57 UTC Modified: 2006-02-01 12:03 UTC
From: rwheeler at artifact-software dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.2 OS: Mandriva 2006 x86_64
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: rwheeler at artifact-software dot com
New email:
PHP Version: OS:

 

 [2006-01-31 17:57 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-01 12:03 UTC] tony2001@php.net
Not PHP problem.
See http://bugs.mysql.com/bug.php?id=13159
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 18:00:03 2025 UTC