In ubuntu (and may be also in debian) autconf and autoheader 2.50 packages actually install version 2.61.
and version 2.13 is also installed by default
Now the problem is
If you are using kde supplied Makefile.cvs (www.taskjuggler.org comes with it) it will complain that autoconf is of version 2.13 and it needs >2.53
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** YOU'RE USING Autoconf version 2.13.
*** KDE requires a utoconf 2.53 or newer
The thing is /usr/bin/autoconf is actually a wrapper sh script which picks which version to chose by using some silly huristics. (see man autoconf)
The huristic is something like if configure.ac exists in the directory you are running in it choses 2.61 else 2.13.
So to make kde cvs makefile work i just did following
sudo mv /usr/bin/autoconf /usr/bin/autoconf.bak
sudo ln -s /usr/bin/autoconf2.50 /usr/bin/autoconf
sudo mv /usr/bin/autoheader /usr/bin/autoheader.bak
sudo ln -s /usr/bin/autoheader2.50 /usr/bin/autoheader
Saves my day, use at your own risk......
I am putting here in hopes the google picks it up saves somebody else's few minutes of frustration.
and version 2.13 is also installed by default
Now the problem is
If you are using kde supplied Makefile.cvs (www.taskjuggler.org comes with it) it will complain that autoconf is of version 2.13 and it needs >2.53
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** YOU'RE USING Autoconf version 2.13.
*** KDE requires a utoconf 2.53 or newer
The thing is /usr/bin/autoconf is actually a wrapper sh script which picks which version to chose by using some silly huristics. (see man autoconf)
The huristic is something like if configure.ac exists in the directory you are running in it choses 2.61 else 2.13.
So to make kde cvs makefile work i just did following
sudo mv /usr/bin/autoconf /usr/bin/autoconf.bak
sudo ln -s /usr/bin/autoconf2.50 /usr/bin/autoconf
sudo mv /usr/bin/autoheader /usr/bin/autoheader.bak
sudo ln -s /usr/bin/autoheader2.50 /usr/bin/autoheader
Saves my day, use at your own risk......
I am putting here in hopes the google picks it up saves somebody else's few minutes of frustration.
1 comment:
Thanks man! I have already started bashing my head against keyboard but I could stop, thanks to you.
Post a Comment