3.0.3 without X
Hello,
I have posted this to the users list, but haven't had much luck.
I've also used my best google-fu, which may be lacking, and searched the archives.
I run Dom0 in a very bare bones enviroment that fits on a CF card. My DomUs then use my harddrives and Dom0 is left only wih the task of managing my DomUs. This has worked out really well for me using Xen 3.0HG-Unstable (old old old). I've tried to recently move to 3.0.3 and a new dependency on X Windows seems to have popped up. I can't get my compile to make it past the ioemu/vnc.c parts since I don't have anything resembling X installed. Is their a way to compile 3.0.3 without the X dependency? I don't have any HVM hardware, so that's not a concern for me and I've already tried to edit config/x86_32.mk.
Thanks!
/mnt/share/xen-3.0.3_0-src/tools/ioemu/vnc.c:50:27: X11/keysymdef.h: No such file or directory /mnt/share/xen-3.0.3_0-src/tools/ioemu/vnc.c: In function `do_key_event':
...blah blah blah...
/mnt/share/xen-3.0.3_0-src/tools/ioemu/vnc.c: In function `protocol_client_msg':/mnt/share/xen-3.0.3_0-src/tools/ioemu/vnc.c:1069: warning: unused variable `now' make[5]: *** [vnc.o] Error 1
Signature · 3 lines
Jason The place where you made your stand never mattered, only that you were there... and still on your feet
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
thanks
ron
Quoted 9 lines · jason
I run Dom0 in a very bare bones enviroment that fits on a CF card. My DomUs then use my harddrives and Dom0 is left only wih the task of managing my DomUs. This has worked out really well for me using Xen 3.0HG-Unstable (old old old). I've tried to recently move to 3.0.3 and a new dependency on X Windows seems to have popped up. I can't get my compile to make it past the
ioemu/vnc.cparts since I don't have anything resembling X installed. Is their a way to compile 3.0.3 without the X dependency? I don't have any HVM hardware, so that's not a concern for me and I've already tried to editconfig/x86_32.mk.
Remove references to 'ioemu' from tools/Makefile. If you don't use HVM guests then you do not need to build or install anything in tools/ioemu.
-- Keir
Quoted 3 lines · ron minnich
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
The dependencies are only in HVM-specific bits of the tools/ directory. Those are easily disabled, albeit with a smidgen of Makefile changes.
-- Keir
Quoted 8 lines · Keir Fraser
Quoted 3 lines · ron minnich
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
The dependencies are only in HVM-specific bits of the
tools/directory. Those are easily disabled, albeit with a smidgen ofMakefilechanges.
They also aren't really X11 dependencies. That code includes <X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.
Ewan.
Quoted 3 lines · Ewan Mellor
They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.
Thanks, I wonder if a note of some sort at the top level would be useful to those of us who are not as familiar with the details as ... we should be :-)
thanks!
ron
Thank you all, that worked like a charm!
Quoted 15 lines · ron minnich
Quoted 3 lines · Ewan Mellor
They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.Thanks, I wonder if a note of some sort at the top level would be useful to those of us who are not as familiar with the details as ... we should be :-)
thanks!
ron
Signature · 3 lines
Jason The place where you made your stand never mattered, only that you were there... and still on your feet
Quoted 3 lines
Thanks, I wonder if a note of some sort at the top level would be useful to those of us who are not as familiar with the details as ... we should be :-)
Maybe we could have a top level compile option to disable building this stuff? It would seem a shame to make the builds less uniform but I guess it's also a shame to have to edit the Makefiles... ;-)
It'd only be a wafeur-thin patch...
Cheers,
Mark
Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!
Quoted 7 lines · Ewan Mellor
Quoted 5 lines · Keir Fraser
Quoted 3 lines · ron minnich
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
Quoted 6 lines
Quoted 2 lines
The dependencies are only in HVM-specific bits of the
tools/directory. Those are easily disabled, albeit with a smidgen ofMakefilechanges.They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.
This dependency is actually a bug that was introduced in the Xen tree (it isn't present in qemu CVS).
The VNC spec makes it pretty clear that you cannot rely on the symbolic names of X keycodes to develop a portable VNC client. Apparently they change slightly across different X implementations.
When I wrote the original VNC code for QEMU, I was careful not to rely on include files because of this. We should really remove this dependency and hard code the keycodes ourself.
Regards,
Anthony Liguori
Quoted 1 line
Ewan.
Quoted 15 lines · Anthony Liguori
Quoted 7 lines · Ewan Mellor
Quoted 5 lines · Keir Fraser
Quoted 3 lines · ron minnich
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
Quoted 6 lines
Quoted 2 lines
The dependencies are only in HVM-specific bits of the
tools/directory. Those are easily disabled, albeit with a smidgen ofMakefilechanges.They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.
Quoted 8 lines
This dependency is actually a bug that was introduced in the Xen tree (it isn't present in qemu CVS).
The VNC spec makes it pretty clear that you cannot rely on the symbolic names of X keycodes to develop a portable VNC client. Apparently they change slightly across different X implementations.
From www.realvnc.com/docs/rfbproto.pdf:
"The key itself is specified using the "keysym" values defined by the X Window System.
For most ordinary keys, the "keysym" is the same as the corresponding ASCII value. For full details, see The Xlib Reference Manual, published by O'Reilly & Associates, or see the header file <X11/keysymdef.h> from any X Window System installation."
How do we choose which X keysyms to use, if they vary across X implementations?
Ewan.
Quoted 21 lines · Ewan Mellor
Quoted 10 lines · Anthony Liguori
Quoted 9 lines · Ewan Mellor
Quoted 7 lines · Keir Fraser
Quoted 3 lines · ron minnich
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
The dependencies are only in HVM-specific bits of the
tools/directory. Those are easily disabled, albeit with a smidgen ofMakefilechanges.Quoted 8 lines
Quoted 3 lines
They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.This dependency is actually a bug that was introduced in the Xen tree (it isn't present in qemu CVS).
The VNC spec makes it pretty clear that you cannot rely on the symbolic names of X keycodes to develop a portable VNC client. Apparently they change slightly across different X implementations.
From www.realvnc.com/docs/rfbproto.pdf:
Quoted 7 lines
"The key itself is specified using the "keysym" values defined by the X Window System.
For most ordinary keys, the "keysym" is the same as the corresponding ASCII value. For full details, see The Xlib Reference Manual, published by O'Reilly & Associates, or see the header file <
X11/keysymdef.h> from any X Window System installation."
And then shortly following it goes on to describe how a number of keys are not universally represented like a backwards tab.
Quoted 3 lines
How do we choose which X keysyms to use, if they vary across X implementations?
By choosing keysyms that are known to work and not relying on buggy X implementations.
Regards,
Anthony Liguori
Quoted 1 line
Ewan.
Quoted 9 lines · ron minnich
Quoted 3 lines · Ewan Mellor
They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.Thanks, I wonder if a note of some sort at the top level would be useful to those of us who are not as familiar with the details as ... we should be :-)
Certainly! Patches to documentation such as the README and the user guide are always welcome. This is a great way that people can help out -- by writing down the things that catch you out the first time around.
Ewan.
Quoted 29 lines · Anthony Liguori
Quoted 28 lines · Ewan Mellor
Quoted 13 lines · Anthony Liguori
Quoted 4 lines · Ewan Mellor
Quoted 2 lines · Keir Fraser
On 4/1/07 14:58, "ron minnich" <[email protected]> wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
note that we're distributing an x11-free xen for plan 9 support, so I sure hope that x11 dependencies are not about to start appearing in xen.
The dependencies are only in HVM-specific bits of the
tools/directory. Those are easily disabled, albeit with a smidgen ofMakefilechanges.They also aren't really X11 dependencies. That code includes <
X11/keysymdef.h>, because VNC uses the same keysyms as X, but there's no dependency upon X client libraries.Quoted 8 lines
This dependency is actually a bug that was introduced in the Xen tree (it isn't present in qemu CVS).
The VNC spec makes it pretty clear that you cannot rely on the symbolic names of X keycodes to develop a portable VNC client. Apparently they change slightly across different X implementations.
From www.realvnc.com/docs/rfbproto.pdf:
"The key itself is specified using the "keysym" values defined by the X Window
System.
Quoted 7 lines
Quoted 4 lines
For most ordinary keys, the "keysym" is the same as the corresponding ASCII value. For full details, see The Xlib Reference Manual, published by O'Reilly & Associates, or see the header file <
X11/keysymdef.h> from any X Window System installation."And then shortly following it goes on to describe how a number of keys are not universally represented like a backwards tab.
Right, but we don't use any of those keysyms in the QEMU code -- we use the widespread standard ones, like the navigation keys, shift and lock keys, and the numpad. Everything else is handled through the keymaps (which behave wrt backward tab just as the spec describes).
Ewan.
Dependency checking - early was Re: 3.0.3 without X
In reply to Ewan MellorQuoted 3 lines · Ewan Mellor
Certainly! Patches to documentation such as the README and the user guide are always welcome. This is a great way that people can help out -- by writing down the things that catch you out the first time around.
I was about to report something like this myself this week. Too often
I install Xen on a new host and miss a dependency due to carelessness.
Please find a patch below to "make world" which first runs "make tools/check"
hopefully making sure that all dependencies are present and detected early.
(Most frustrating is missing libssl, or libz, which is only otherwise
detected right at the end of a kernel build.)
Steve
Signature · 25 lines
--- Makefile~ 2006-12-23 21:17:38.000000000 +0000
+++ Makefile 2007-01-05 09:29:04.000000000 +0000
@@ -30,6 +30,13 @@
$(MAKE) -C tools build
$(MAKE) -C docs build
+#
+# Check dependencies.
+#
+.PHONY: check
+check:
+ $(MAKE) -C tools/check
+
# The test target is for unit tests that can run without an installation. Of
# course, many tests require a machine running Xen itself, and these are
# handled elsewhere.
@@ -104,7 +111,7 @@
# and place them in the install directory. 'make install' should then
# copy them to the normal system directories
.PHONY: world
-world:
+world: check
$(MAKE) clean
$(MAKE) kdelete
$(MAKE) dist_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel