Re: [Anjuta-list] error to compile a c++ project



Following you clue, I try to track the intltool.m4, seems that the
problem is from the following line

INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`

it seems that it cannot read the current VERSION, in my case it always
return @VERSION@, so INTLTOOL_APPLIED_VERSION_AS_INT will always be ZERO.

What I am confusing is where is $VERSION defined? and where can I check
what is ${ac_aux_dir} refer to? I try to insert the following line to
intltool.m4

echo check `${ac_aux_dir}/intltool-update.in`

but it shows nothing...

on 28/6/2009 12:07:12, Sébastien Granjoux <seb sfo free fr> wrote:
Re: [Anjuta-list] error to compile a c++ project
> Hi,
> 
> ginzzer a écrit :
> > There are two intltool.m4 in my system 
> > 
> > /usr/share/aclocal/intltool.m4
> > /usr/local/share/aclocal/intltool.m4
> > 
> > I use diff tool to compare them and find that they are different. And in
> > the /usr/share/aclocal/intltool.m4, no IT_PROG_INTLTOOL([0.35.0]) is
> > found. In the second intltool.m4, I see this line
> > 
> > dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
> > 
> > but it show MINIMUM-VERSION instead of 0.35.0, so should I change this
> > to 0.35.0 or something else?
> 
> No, normally you don't need to change anything yourself. It's a rather a 
> problem of your distribution.
> 
> The line you have found is a comment (start with dnl), so changing it 
> will not do anything.
> 
> In my file, the line doing the check is few lines afterward:
> test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 
> $INTLTOOL_REQUIRED_VERSION_AS_INT" || ...
> 
> This is a shell script, so you can check how is computed 
> INTLTOOL_REQUIRED_VERSION_AS_INT and INTLTOOL_APPLIED_VERSION_AS_INT and 
> see the test failed.
> 
> Regards,
> 
> Sébastien


-- 
ginzzer <ginzzer gmail com >





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]