List Info

Thread: xapian-bindings 1.0.1 won't build under RHEL4




xapian-bindings 1.0.1 won't build under RHEL4
country flaguser name
United Kingdom
2007-06-15 06:24:46
make: *** No rule to make target `install.'.  Stop.

Here's the log output from RPMBUILD:
http://users.ecs.soton.ac.uk/tdb01r/rpm/xapian-bindin
gs.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.

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: xapian-bindings 1.0.1 won't build under RHEL4
country flaguser name
United Kingdom
2007-06-15 07:44:25
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-bindin
gs.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

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: xapian-bindings 1.0.1 won't build under RHEL4
country flaguser name
United Kingdom
2007-06-15 08:37:26
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-bindin
gs.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 
[ "%" != "/" ] && rm
-rf %
mkdir -p %
# Installation of some files does not obey prefix, so use
make install with
-# DESTDIR instead of %makeinstall.
+# DESTDIR instead of makeinstall
make install DESTDIR=%
# Move the docs to the right places.
%{?!_without_python: mv
%/usr/share/doc/%/python
%/usr/share/doc/%-python-%}
%{?!_without_php: mv %/usr/share/doc/%/php
%/usr/share/doc/%-php-%}
-%{?!_without_tcl8: %/usr/share/doc/%/tcl8
%/usr/share/doc/%-tcl8-%}
+%{?!_without_tcl8: mv
%/usr/share/doc/%/tcl8
%/usr/share/doc/%-tcl8-%}
%{?!_without_csharp: mv
%/usr/share/doc/%/csharp
%/usr/share/doc/%-csharp-%}

%clean

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

Re: xapian-bindings 1.0.1 won't build under RHEL4
country flaguser name
United Kingdom
2007-06-15 11:03:18
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.

Ah, cool.  That's already applied to SVN.

> 1.0.2 ?

Erm, I meant 1.0.1.  1.0.2 is likely to released in early
July.

Cheers,
    Olly

_______________________________________________
Xapian-discuss mailing list
Xapian-discusslists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )