[Xapian-discuss] php4 rpm bindings

Tim Brody tdb01r at ecs.soton.ac.uk
Fri Oct 19 11:05:22 BST 2007


Hi,

Apologies if I sound like a stuck record :-)

I can build the 1.0.3 xapian-bindings spec file with PHP4 if I drop the 
%{_datadir} from the php4 source directory (second line):

%{?!_without_php: [ -d "%{buildroot}%{_datadir}/php5" ] && mv 
%{buildroot}%{_datadir}/php5 %{buildroot}%{_datadir}/php}
%{?!_without_php: [ -d "%{buildroot}/php4" ] && mv %{buildroot}/php4 
%{buildroot}%{_datadir}/php}
%{?!_without_tcl8: mv %{buildroot}%{_datadir}/doc/%{name}/tcl8 
%{buildroot}%{_datadir}/doc/%{name}-tcl8-%{version}}

My feeling is this is probably a bug in the PHP Makefile, but I can't 
work out the point at which the php4 directory gets installed.

Everything else is happy. Unfortunately I lost my 'clean' RHEL4 VM to 
build on. I should have a RHEL5 VM available soon to do some RPM 
building though.

All the best,
Tim.



More information about the Xapian-discuss mailing list