[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] xen-unstable-src small Makefile fix


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Frank Heydlauf <xen@xxxxxxxxxxx>
  • Date: Tue, 5 Jul 2005 11:32:29 +0200
  • Delivery-date: Tue, 05 Jul 2005 09:31:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Mon, Jul 04, 2005 at 10:27:53PM +0100, Mark A. Williamson wrote:
> > Building from src is unfortunately not (yet?) successful:
> >
> > make[2]: Entering directory `/home/fh/xen/xen-unstable/tools/check'
> > ./chk build
> > FAILED check_curl_devel
> >
> >
> > lrwxrwxrwx  1 root root 16 2005-06-28 20:36 /usr/lib/libcurl.so.3 ->
> > libcurl.so.3.0.0
> 
> That means you have the curl package installed. Curl-devel will include the 
> headers, etc, so it'll probably be a separate package for your distro.  
> You'll need this to build from source.

uuups. OK, things are 'slightly' different from FreeBSD. 
After installing libcurl3-dev things work much better... 
until the point where 'make dist' tries to strip a shell-script :-}

strip: /home/fh/xen/xen-unstable/dist/install/usr/lib/xen/bin/qemu-dm.debug: 
File format not recognized
install: strip failed

root@serv:~# file  
/home/fh/xen/xen-unstable/dist/install/usr/lib/xen/bin/qemu-dm.debug
/home/fh/xen/xen-unstable/dist/install/usr/lib/xen/bin/qemu-dm.debug: Bourne 
shell script text executable


Please fix the Makefile:

root@serv:~/xen/xen-unstable/tools/ioemu/target-i386-dm# diff -u Makefile.orig 
Makefile
--- Makefile.orig       2005-07-05 11:25:40.116144312 +0200
+++ Makefile    2005-07-05 11:26:05.338309960 +0200
@@ -385,7 +385,7 @@
        if [ ! -d $(INSTALL_DIR) ];then mkdir -p $(INSTALL_DIR);fi
        if [ ! -d $(DESTDIR)$(configdir) ];then mkdir -p 
$(DESTDIR)$(configdir);fi
        install -m 755 -s $(PROGS) "$(INSTALL_DIR)"
-       install -m 755 -s qemu-dm.debug "$(INSTALL_DIR)"
+       install -m 755 qemu-dm.debug "$(INSTALL_DIR)"
        install -m 755 qemu-ifup "$(DESTDIR)$(configdir)"
        gunzip -c qemu-vgaram-bin.gz >qemu-vgaram-bin
        install -m 755 qemu-vgaram-bin "$(DESTDIR)$(configdir)"



This is Hoary Hedgedog on amd64, JFYI.
-- 
Regards
Frank

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.