On 3/24/11 6:39 PM, Cristian Rodríguez wrote:
Current versions of PHP no longer compile correctly on SLE10-SPx by default (E_TOO_OLD) and I was too lazy to fix it.
Feel free to submit a patch, or I will fix the problem in future submissions.
First off, thanks for the work you've done maintaining this package. Hopefully I'm doing things right, as this is my first experience with build services. On my SLES10-SP3 machine I added the OpenSUSE:Tools repo and installed 'build' and 'osc'. Then I checked out 'server:php', and ran: osc build --noservice server_apache_SLE_10 That gave me an error about '--debug' not being recognized, so I tried again with: osc build --noservice --disabled-debuginfo server_apache_SLE_10 That got the build started. But when building the CLI SAPI, the configure detect for SNMP support failed. Checking the logs, it was because 'libwrap' was missing. So I edited the php5.spec: Index: php5.spec =================================================================== --- php5.spec (revision 9338e72f6ea8ef4e7aa529e23c23c92c) +++ php5.spec (working copy) @@ -57,6 +57,9 @@ BuildRequires: re2c t1lib-devel #10.3 does not install sendmail binary with the minimal system Requires: smtp_daemon +%endif +%if 0%{?suse_version} < 1100 +BuildRequires: tcpd-devel %endif %define extension_dir %{_libdir}/%{pkg_name}/extensions %define peardir %{_datadir}/%{pkg_name}/PEAR That let me build packages just fine. Is that all that was wrong? I'm trying a build for the SLE_10 repository now (don't know why I did server_apache_SLE_10 first). -- Stephen Joseph Butler IV | Science is what we understand well enough sbutler.typepad.com/pgp.asc | to explain to a computer. Art is every- UIUC CITES-ICS | thing else we do. -- Donald Knuth -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org