qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] makefile problem on ppc
@ 2004-03-23 16:21 Denis J Barrow
  2004-03-25  3:32 ` Rusty Russell
  0 siblings, 1 reply; 2+ messages in thread
From: Denis J Barrow @ 2004-03-23 16:21 UTC (permalink / raw)
  To: qemu-devel

Hi,
I am attempting to install on yellowdog 3.0
but there appears to be a minor Makefile bug.


I tried the latest in CVS & the 0.5.2 versions

make[1]: Entering directory `/usr/src/qemu/qemucvscopy/qemu/i386-user'
install -m 755 -s qemu-i386 /usr/local/bin
make[1]: Leaving directory `/usr/src/qemu/qemucvscopy/qemu/i386-user'
make[1]: Entering directory `/usr/src/qemu/qemucvscopy/qemu/i386'
install -m 755 -s  /usr/local/bin
install: too few arguments
Try `install --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/qemu/qemucvscopy/qemu/i386'
make: *** [install] Error 1


D.J. Barrow

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] makefile problem on ppc
  2004-03-23 16:21 [Qemu-devel] makefile problem on ppc Denis J Barrow
@ 2004-03-25  3:32 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2004-03-25  3:32 UTC (permalink / raw)
  To: qemu-devel

On Wed, 2004-03-24 at 03:21, Denis J Barrow wrote:
> Hi,
> I am attempting to install on yellowdog 3.0
> but there appears to be a minor Makefile bug.
> 
> 
> I tried the latest in CVS & the 0.5.2 versions
> 
> make[1]: Entering directory `/usr/src/qemu/qemucvscopy/qemu/i386-user'
> install -m 755 -s qemu-i386 /usr/local/bin
> make[1]: Leaving directory `/usr/src/qemu/qemucvscopy/qemu/i386-user'
> make[1]: Entering directory `/usr/src/qemu/qemucvscopy/qemu/i386'
> install -m 755 -s  /usr/local/bin
> install: too few arguments
> Try `install --help' for more information.
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/usr/src/qemu/qemucvscopy/qemu/i386'
> make: *** [install] Error 1

Patch from the Debian package:

--- qemu-0.5.2.orig/Makefile.target
+++ qemu-0.5.2/Makefile.target
@@ -275,7 +275,9 @@
 	rm -f *.o  *.a *~ $(PROGS) gen-op.h opc.h op.h
 
 install: all 
+ifneq ($(PROGS),)
 	install -m 755 -s $(PROGS) $(prefix)/bin
+endif
 
 ifneq ($(wildcard .depend),)
 include .depend

Rusty.
-- 
Anyone who quotes me in their signature is an idiot -- Rusty Russell

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-25  3:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 16:21 [Qemu-devel] makefile problem on ppc Denis J Barrow
2004-03-25  3:32 ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).