Tim Brody
2007-Jun-15 12:26 UTC
[Xapian-discuss] xapian-bindings 1.0.1 won't build under RHEL4
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! Cheers, Tim.
Olly Betts
2007-Jun-15 13:44 UTC
[Xapian-discuss] xapian-bindings 1.0.1 won't build under RHEL4
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). In 1.0.2, I replaced "%makeinstall DESTDIR=..." with "make install DESTDIR=..." to avoid the bizarre situation of some files having a double prefix, but that shouldn't cause this - looking at /usr/lib/rpm/macros, %makeinstall just calls "make install" with prefix=..., exec_prefix=..., etc. There's no "-C" option passed and no "cd" command. Perhaps Fabrice has some ideas? Cheers, Olly
Fabrice Colin
2007-Jun-16 03:16 UTC
[Xapian-discuss] Re: xapian-bindings 1.0.1 won't build under RHEL4
On 6/16/07, Olly Betts <olly@survex.com> wrote:> On Fri, Jun 15, 2007 at 02:37:26PM +0100, Tim Brody wrote: > > I missed Fabrice's earlier email: > > -# DESTDIR instead of %makeinstall. > > +# DESTDIR instead of makeinstall > > > > With Fabrice's fixes the RPM builds. >That's good to hear.> Ah, cool. That's already applied to SVN. >I will update the RPMs on xapian.org as soon as I have upgraded my boxes to Fedora 7. Cheers. Fabrice