WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

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