Re: [Libvir] Problem to compile virt-manager in debian etch

Marco Sinhoreli wrote:
The configure script was found, but the Makefile hasn't been created.
Need to see the full messages. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903

Okay, Reporting all steps: # hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel # cd virt-manager--devel # patch -p1 < ../virt-manager-no-portability-warning.patch # patch -p1 < ../virt-manager-no-sources.patch # autoreconf -f -i -Wno-portability | tee /tmp/autoreconf.log (attached) # ./autogen.sh | tee /tmp/autogen.log (attached) # ls Makefile ls: Makefile: No such file or directory I think that it is all :-) regards On 10/18/07, Richard W.M. Jones <rjones@redhat.com> wrote:
Marco Sinhoreli wrote:
The configure script was found, but the Makefile hasn't been created.
Need to see the full messages.
Rich.
-- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
-- Marco Sinhoreli

On Thu, Oct 18, 2007 at 03:46:09PM -0300, Marco Sinhoreli wrote:
Okay,
Reporting all steps:
# hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel # cd virt-manager--devel # patch -p1 < ../virt-manager-no-portability-warning.patch # patch -p1 < ../virt-manager-no-sources.patch # autoreconf -f -i -Wno-portability | tee /tmp/autoreconf.log (attached) # ./autogen.sh | tee /tmp/autogen.log (attached) # ls Makefile ls: Makefile: No such file or directory
There isn't supposed to be a Makefile there. autogen.sh setups a VPATH build structure. All the generated autotools junk is put in a 'build/' subdirectory, so you don't pollute the main source directory. Dan -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

I thought that the Makefile should be created by ./autogen.sh. I was wrong. it's created by the ./configure script. Thanks a lot Dan. -- Marco Sinhoreli

Virt-manager is compiled from mercurial tree but it isn't working. I don't know why. After run the virt-manager command, it was finished without output error and the window wasn't created. If you need more informations about ask me what informations I should sent. regards -- Marco Sinhoreli

Virt-manager is compiled from mercurial tree but it isn't working. I don't know why. After run the virt-manager command, it was finished without output error and the window wasn't created. If you need more informations about ask me what informations I should sent.
I ran into that too -- make sure you have the "gtk-vnc" package installed, it's a relatively new requirement of virt-manager and there are no errors printed if it fails to load [1]. It's not yet a Debian package but you can get it from http://sourceforge.net/project/showfiles.php?group_id=190580 -jim [1] I'd provide a patch, but my python skills are severely lacking...

Hello Jim, On 10/19/07, Jim Paris <jim@jtan.com> wrote:
Virt-manager is compiled from mercurial tree but it isn't working. I don't know why. After run the virt-manager command, it was finished without output error and the window wasn't created. If you need more informations about ask me what informations I should sent.
I ran into that too -- make sure you have the "gtk-vnc" package installed, it's a relatively new requirement of virt-manager and there are no errors printed if it fails to load [1].
I got, and compiled the gtk-vnc source. I have tried 'gvncviewer' in example directory and it is working well. I cleaned, and recompiled the virt-manager source but the virt-manager command continues not working. If you have same idea please, say me. thanks a lot. -- Marco Sinhoreli

Marco Sinhoreli wrote:
Hello Jim, On 10/19/07, Jim Paris <jim@jtan.com> wrote:
Virt-manager is compiled from mercurial tree but it isn't working. I don't know why. After run the virt-manager command, it was finished without output error and the window wasn't created. If you need more informations about ask me what informations I should sent.
I ran into that too -- make sure you have the "gtk-vnc" package installed, it's a relatively new requirement of virt-manager and there are no errors printed if it fails to load [1].
I got, and compiled the gtk-vnc source. I have tried 'gvncviewer' in example directory and it is working well. I cleaned, and recompiled the virt-manager source but the virt-manager command continues not working. If you have same idea please, say me.
Hmm, I don't know what else it could be. Could you try virt-manager --no-dbus --no-fork and if that still quits right away, strace -f -o /tmp/log virt-manager --no-dbus --no-fork and then send me a copy of /tmp/log. (If it's large, just mail it directly to me instead of the list). -jim

Marco Sinhoreli wrote:
I thought that the Makefile should be created by ./autogen.sh. I was wrong. it's created by the ./configure script.
Actually it's created by config.status which configure writes and then runs. You can run config.status any time to recreate / update these generated files. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
participants (4)
-
Daniel P. Berrange
-
Jim Paris
-
Marco Sinhoreli
-
Richard W.M. Jones