Hello,
I have Fedora Core 6 on x86_64 machine. I want to build the virt-manager latest from mercurial repository. I follwed the instructions on the web: http://virt-manager.et.redhat.com/scmrepo.html
I had performed "hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel"
and them ran:
./autobuild.sh make: *** No rule to make target `distclean'. aclocal:configure.ac:6: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library aclocal:configure.ac:7: warning: macro `AM_GNU_GETTEXT' not found in library configure.ac: installing `./install-sh' configure.ac: installing `./missing' src/graphWidgets/Makefile.am: installing `./compile' src/graphWidgets/Makefile.am: installing `./depcomp' configure.ac:6: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:7: error: possibly undefined macro: AM_GNU_GETTEXT
I have on this FC6: gettext-0.14.6-3.fc6, (from rpm of the original installation) , intltool-0.35.5 (build from source).
Why is it so ? what should I do ?
Regards, Mark
On Mon, Jun 25, 2007 at 05:50:12PM +0300, Mark Ryden wrote:
Hello,
I have Fedora Core 6 on x86_64 machine. I want to build the virt-manager latest from mercurial repository. I follwed the instructions on the web: http://virt-manager.et.redhat.com/scmrepo.html
I had performed "hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel"
and them ran:
./autobuild.sh make: *** No rule to make target `distclean'. aclocal:configure.ac:6: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library aclocal:configure.ac:7: warning: macro `AM_GNU_GETTEXT' not found in library configure.ac: installing `./install-sh' configure.ac: installing `./missing' src/graphWidgets/Makefile.am: installing `./compile' src/graphWidgets/Makefile.am: installing `./depcomp' configure.ac:6: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:7: error: possibly undefined macro: AM_GNU_GETTEXT
I have on this FC6: gettext-0.14.6-3.fc6, (from rpm of the original installation) , intltool-0.35.5 (build from source).
Why is it so ? what should I do ?
Sounds like you are missing the 'gettext-devel' package
$ grep -l AM_GNU_GETTEXT_VERSION /usr/share/aclocal/*.m4 /usr/share/aclocal/gettext.m4
$ rpm -qf /usr/share/aclocal/gettext.m4 gettext-devel-0.14.6-4.fc6
Regards, Dan.
Hello, - Thanks all.
- Ok, I ran: "yum install gettext-devel" and installed gettext-devel-0.14.6-4.fc6. Now: running: ./autobuild.sh gives: make: *** No rule to make target `distclean'. libtoolize: `config.guess' exists: use `--force' to overwrite libtoolize: `config.sub' exists: use `--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force' to overwrite checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes ../configure: line 1977: syntax error near unexpected token `0.35.0,' ../configure: line 1977: `IT_PROG_INTLTOOL(0.35.0, no-xml)' line 1977 includes : where: IT_PROG_INTLTOOL(0.35.0, no-xml)
As I said, I have intltool-0.35.5 on this machine (built and installed from source tar file).
Any ideas ? Regards, Mark
On 6/25/07, Daniel P. Berrange berrange@redhat.com wrote:
On Mon, Jun 25, 2007 at 05:50:12PM +0300, Mark Ryden wrote:
Hello,
I have Fedora Core 6 on x86_64 machine. I want to build the virt-manager latest from mercurial repository. I follwed the instructions on the web: http://virt-manager.et.redhat.com/scmrepo.html
I had performed "hg clone http://hg.et.redhat.com/virt/applications/virt-manager--devel"
and them ran:
./autobuild.sh make: *** No rule to make target `distclean'. aclocal:configure.ac:6: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library aclocal:configure.ac:7: warning: macro `AM_GNU_GETTEXT' not found in library configure.ac: installing `./install-sh' configure.ac: installing `./missing' src/graphWidgets/Makefile.am: installing `./compile' src/graphWidgets/Makefile.am: installing `./depcomp' configure.ac:6: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:7: error: possibly undefined macro: AM_GNU_GETTEXT
I have on this FC6: gettext-0.14.6-3.fc6, (from rpm of the original installation) , intltool-0.35.5 (build from source).
Why is it so ? what should I do ?
Sounds like you are missing the 'gettext-devel' package
$ grep -l AM_GNU_GETTEXT_VERSION /usr/share/aclocal/*.m4 /usr/share/aclocal/gettext.m4
$ rpm -qf /usr/share/aclocal/gettext.m4 gettext-devel-0.14.6-4.fc6
Regards, 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 -=|
Mark Ryden wrote:
Hello,
Thanks all.
Ok, I ran: "yum install gettext-devel" and installed
gettext-devel-0.14.6-4.fc6. Now: running: ./autobuild.sh gives: make: *** No rule to make target `distclean'. libtoolize: `config.guess' exists: use `--force' to overwrite libtoolize: `config.sub' exists: use `--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force' to overwrite checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes ../configure: line 1977: syntax error near unexpected token `0.35.0,' ../configure: line 1977: `IT_PROG_INTLTOOL(0.35.0, no-xml)' line 1977 includes : where: IT_PROG_INTLTOOL(0.35.0, no-xml)
As I said, I have intltool-0.35.5 on this machine (built and installed from source tar file).
Couple of questions:
Does your aclocal.m4 file contain a definition of IT_PROG_INTLTOOL? The definition starts like this:
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 35 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl etc.
You mentioned in your first email that you're trying to compile this on FC6, in which case you should have all these tools available through yum, ie: yum install intltool
You shouldn't need to rebuild anything (except the latest virt-manager) from source ...
Rich.
Hello, Thanks; After uninstalling intltool and "yum install intltool" everything went ok on FC6. I have a machine with FC7 on which I tried the same and ./autogen.sh fails, giving the following message (required file `./config.rpath' not found). (see below full log).
On this machine I have: gettext-0.16.1-8.fc7 gettext-devel-0.16.1-8.fc7 pygtk2-devel-2.10.4-2.fc7 gtk2-devel-2.10.11-7.fc7 intltool-0.35.5-3.fc7
Does anybody know: what is this "config.rpath" error ? I googled for it but could not find a satisfiable error. I want to add that on the FC6 , a config.rpath file is not generated. Did anybody have success with building on FC7 machines after downloading from repositories ?
Here is the full output on the FC7 machine:
./autogen.sh configure.ac:7: required file `./config.rpath' not found configure.ac:2: installing `./missing' configure.ac:2: installing `./install-sh' pixmaps/Makefile.am:3: wildcard $(srcdir: non-POSIX variable name pixmaps/Makefile.am:3: (probably a GNU make extension) src/Makefile.am:15: wildcard $(srcdir: non-POSIX variable name src/Makefile.am:15: (probably a GNU make extension) src/Makefile.am:35: `%'-style pattern rules are a GNU make extension src/Makefile.am:38: `%'-style pattern rules are a GNU make extension src/Makefile.am:41: `%'-style pattern rules are a GNU make extension src/Makefile.am:44: `%'-style pattern rules are a GNU make extension src/Makefile.am:26: variable `schema_SOURCES' is defined but no program or src/Makefile.am:26: library has `schema' as canonic name (possible typo) src/Makefile.am:11: variable `libexec_SOURCES' is defined but no program or src/Makefile.am:11: library has `libexec' as canonic name (possible typo) src/Makefile.am:4: variable `bin_SOURCES' is defined but no program or src/Makefile.am:4: library has `bin' as canonic name (possible typo) src/Makefile.am:18: variable `desktop_SOURCES' is defined but no program or src/Makefile.am:18: library has `desktop' as canonic name (possible typo) src/Makefile.am:8: variable `python_SOURCES' is defined but no program or src/Makefile.am:8: library has `python' as canonic name (possible typo) src/Makefile.am:22: variable `dbus_SOURCES' is defined but no program or src/Makefile.am:22: library has `dbus' as canonic name (possible typo) src/graphWidgets/Makefile.am:5: `:='-style assignments are not portable src/graphWidgets/Makefile.am:5: shell pkg-config --variable=codegendir pygtk-2.0: non-POSIX variable name src/graphWidgets/Makefile.am:5: (probably a GNU make extension) src/graphWidgets/Makefile.am:6: `:='-style assignments are not portable src/graphWidgets/Makefile.am:6: shell pkg-config --variable=defsdir pygtk-2.0: non-POSIX variable name src/graphWidgets/Makefile.am:6: (probably a GNU make extension) src/graphWidgets/Makefile.am: installing `./depcomp' src/virtManager/Makefile.am:3: wildcard $(srcdir: non-POSIX variable name src/virtManager/Makefile.am:3: (probably a GNU make extension) src/virtManager/Makefile.am:7: python_DATA:$(srcdir: non-POSIX variable name src/virtManager/Makefile.am:15: `%'-style pattern rules are a GNU make extension src/vncViewer/Makefile.am:3: wildcard $(srcdir: non-POSIX variable name src/vncViewer/Makefile.am:3: (probably a GNU make extension)
Regards, Mark
On 6/26/07, Richard W.M. Jones rjones@redhat.com wrote:
Mark Ryden wrote:
Hello,
Thanks all.
Ok, I ran: "yum install gettext-devel" and installed
gettext-devel-0.14.6-4.fc6. Now: running: ./autobuild.sh gives: make: *** No rule to make target `distclean'. libtoolize: `config.guess' exists: use `--force' to overwrite libtoolize: `config.sub' exists: use `--force' to overwrite libtoolize: `ltmain.sh' exists: use `--force' to overwrite checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes ../configure: line 1977: syntax error near unexpected token `0.35.0,' ../configure: line 1977: `IT_PROG_INTLTOOL(0.35.0, no-xml)' line 1977 includes : where: IT_PROG_INTLTOOL(0.35.0, no-xml)
As I said, I have intltool-0.35.5 on this machine (built and installed from source tar file).
Couple of questions:
Does your aclocal.m4 file contain a definition of IT_PROG_INTLTOOL? The definition starts like this:
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 35 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl etc.
You mentioned in your first email that you're trying to compile this on FC6, in which case you should have all these tools available through yum, ie: yum install intltool
You shouldn't need to rebuild anything (except the latest virt-manager) from source ...
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
Mark Ryden wrote:
Hello, Thanks; After uninstalling intltool and "yum install intltool" everything went ok on FC6. I have a machine with FC7 on which I tried the same and ./autogen.sh fails, giving the following message (required file `./config.rpath' not found). (see below full log).
On this machine I have: gettext-0.16.1-8.fc7 gettext-devel-0.16.1-8.fc7
Not sure about this one. On my machine I have config.rpath in the libvirt directory (not in the virt-manager directory however), and I also have:
$ rpm -qf /usr/share/gettext/config.rpath gettext-devel-0.14.6-4.fc6
If you have it there, try copying it to the build directory? I have no idea if that will work, but it's worth a try.
BTW, Fedora and Debian (rightly IMO) deprecate use of rpaths, see: http://people.debian.org/~che/personal/rpath-considered-harmful and http://fedoraproject.org/wiki/Packaging/Guidelines#head-a1dfb5f46bf4098841e3... On the other hand, the GNU toolchain seems to prefer to add it to libraries.
Rich.
On Wed, Jun 27, 2007 at 04:09:32PM +0300, Mark Ryden wrote:
Hello, Thanks; After uninstalling intltool and "yum install intltool" everything went ok on FC6. I have a machine with FC7 on which I tried the same and ./autogen.sh fails, giving the following message (required file `./config.rpath' not found). (see below full log).
On this machine I have: gettext-0.16.1-8.fc7 gettext-devel-0.16.1-8.fc7 pygtk2-devel-2.10.4-2.fc7 gtk2-devel-2.10.11-7.fc7 intltool-0.35.5-3.fc7
Does anybody know: what is this "config.rpath" error ? I googled for it but could not find a satisfiable error. I want to add that on the FC6 , a config.rpath file is not generated. Did anybody have success with building on FC7 machines after downloading from repositories ?
Its a bug in current virt-manager code. The workaround is to simply run
'touch config.rpath'
We'll figure out a real fix...
Dan.
xen@lists.stg.fedoraproject.org