[Xapian-discuss] xapian-bindings 1.0.1 won't build under RHEL4

Tim Brody tdb01r at ecs.soton.ac.uk
Fri Jun 15 14:37:26 BST 2007


Olly Betts wrote:
> On Fri, Jun 15, 2007 at 12:24:46PM +0100, Tim Brody wrote:
>> make: *** No rule to make target `install.'.  Stop.
>>
>> Here's the log output from RPMBUILD:
>> http://users.ecs.soton.ac.uk/tdb01r/rpm/xapian-bindings.log
>>
>> Modifying %install doesn't appear to have any effect, so I can't even 
>> put in some debug to work out what's going on. Any pointers greatly 
>> appreciated!
> 
> If modifying %install doesn't achieve anything, I'm not sure what to
> suggest (my initial thought was to add "pwd" to it).

I missed Fabrice's earlier email:
-# DESTDIR instead of %makeinstall.
+# DESTDIR instead of makeinstall

With Fabrice's fixes the RPM builds.

1.0.2 ?

Cheers,
Tim.

--- xapian-bindings.spec  2007-06-11 11:11:08.000000000 +0800
+++ xapian-bindings.spec        2007-06-12 22:08:16.000000000 +0800
@@ -118,12 +118,12 @@
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p %{buildroot}
# Installation of some files does not obey prefix, so use make install with
-# DESTDIR instead of %makeinstall.
+# DESTDIR instead of makeinstall
make install DESTDIR=%{buildroot}
# Move the docs to the right places.
%{?!_without_python: mv %{buildroot}/usr/share/doc/%{name}/python
%{buildroot}/usr/share/doc/%{name}-python-%{version}}
%{?!_without_php: mv %{buildroot}/usr/share/doc/%{name}/php
%{buildroot}/usr/share/doc/%{name}-php-%{version}}
-%{?!_without_tcl8: %{buildroot}/usr/share/doc/%{name}/tcl8
%{buildroot}/usr/share/doc/%{name}-tcl8-%{version}}
+%{?!_without_tcl8: mv %{buildroot}/usr/share/doc/%{name}/tcl8
%{buildroot}/usr/share/doc/%{name}-tcl8-%{version}}
%{?!_without_csharp: mv %{buildroot}/usr/share/doc/%{name}/csharp
%{buildroot}/usr/share/doc/%{name}-csharp-%{version}}

%clean



More information about the Xapian-discuss mailing list