php4 source rpm fails to compile on FC3

Ed Greenberg edg at greenberg.org
Thu Dec 23 06:10:09 UTC 2004


I have a freshly installed FC3 on which I installed all packages. I need to 
have MySQL4, so I first uninstalled the MySQL Database package group which 
consisted of:

Transaction Listing:
  Remove: MyODBC.i386 0:2.50.39-19.1
  Remove: MySQL-python.i386 0:0.9.2-4
  Remove: libdbi-dbd-mysql.i386 0:0.6.5-9
  Remove: mod_auth_mysql.i386 0:20030510-5
  Remove: mysql.i386 0:3.23.58-13
  Remove: mysql-bench.i386 0:3.23.58-13
  Remove: mysql-devel.i386 0:3.23.58-13
  Remove: mysql-server.i386 0:3.23.58-13
  Remove: perl-DBD-MySQL.i386 0:2.9003-5
  Remove: php-mysql.i386 0:4.3.10-3.2
  Remove: qt-MySQL.i386 1:3.3.3-8
  Remove: qt-ODBC.i386 1:3.3.3-8

Performing the following to resolve dependencies:
  Remove: cyrus-sasl-sql.i386 0:2.1.19-3
  Remove: dovecot.i386 0:0.99.11-1.FC3.4
  Remove: freeradius-mysql.i386 0:1.0.1-1
  Remove: gda-mysql.i386 1:1.0.4-3

I then installed:
MySQL-bench-4.1.8-0.i386.rpm
MySQL-client-4.1.8-0.i386.rpm
MySQL-devel-4.1.8-0.i386.rpm
MySQL-server-4.1.8-0.i386.rpm
MySQL-shared-4.1.8-0.i386.rpm

Finally, I downloaded php-4.3.10-3.2.src.rpm with the intent of building it 
against the newly installed MySQL.

The build was started with
[root at localhost SPECS]# rpmbuild -ba php.spec
and it fails.

The test summary is:
---------------------------------------------------------------------
Number of tests :  608
Tests skipped   :  219 (36.0%)
Tests warned    :    0 (0.0%)
Tests failed    :    2 (0.3%)
Tests passed    :  387 (63.7%)
---------------------------------------------------------------------
Time taken      :   63 seconds

The two failures are:
Bug #26938 (exec does not read consecutive long lines correctly) 
[ext/standard/tests/file/bug26938.phpt]
proc_open() regression test 1 (proc_open() leak) 
[ext/standard/tests/file/proc_open01.phpt]

There's also a warning about
001+ PHP Warning:  Unknown(): Unable to load dynamic library 
'/usr/lib/php4/odbc
.so' - libodbc.so.1: cannot open shared object file: No such file or 
directory i
n Unknown on line 0
which is interesting since the file /usr/lib/php4/odbc.so is indeed there 
and is indeed an ELF shared library.

Can anyone spot what might be wrong?

Thanks,
</edg>
Ed Greenberg
San Jose, CA




More information about the devel mailing list