[virt-tools-list] [PATCH 2/6] Call intltoolize after autoreconf

Eduardo Lima (Etrunko) etrunko at redhat.com
Wed Nov 4 14:32:43 UTC 2015


After removing m4/.gitignore file in previous patch, I started getting
the following error when running autogen.sh.

ln: failed to create symbolic link ‘m4/intltool.m4’: No such file or directory
cp: cannot create regular file ‘m4/intltool.m4’: No such file or directory
intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to 'm4/intltool.m4'

The problem is that intltoolize requires te m4/ directory to be present,
and this directory is actually created by running autoreconf, so it
should be called before intltoolize.

Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autogen.sh b/autogen.sh
index b8d3c4d..a688ad4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,8 +27,8 @@ fi
  # exists at all times :-(
 touch ChangeLog AUTHORS
 
-intltoolize --force
 autoreconf -vfi
+intltoolize --force
 
 cd $THEDIR
 
-- 
2.4.3




More information about the virt-tools-list mailing list