RE: configure problem
- From: "Vlad geekizoid com" <vlad geekizoid com>
- To: <mc-devel gnome org>
- Cc: "Pavel Roskin (E-mail)" <proski gnu org>
- Subject: RE: configure problem
- Date: Mon, 3 Feb 2003 13:45:21 -0600
Did anyone actually see this post? This is still broken in CVS. Am I the
only one who's had this problem?
-----Original Message-----
From: mc-devel-admin gnome org [mailto:mc-devel-admin gnome org]On
Behalf Of Vlad geekizoid com
Sent: Saturday, February 01, 2003 9:22 PM
To: mc-devel gnome org
Subject: RE: configure problem
Okay,
This:
gettext_ver=`$GETTEXTIZE --version | \
sed '2,$d; # remove all but the first line
s/.* //; # take text after the last space
s/-.*//; # strip "-pre" or "-rc" at the end
s/\([^.]\+\)/0\1/g; # prepend 0 to every token
s/0\([^.][^.]\)/\1/g; # trim 0 from long lokens
s/\.//g; # remove dots
'`
Seems to not work correctly on
This:
www# gettextize --version
/usr/local/bin/gettextize (GNU gettext) 0.11.5
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by Ulrich Drepper
I think what's happening here, is that the version of gettext is now 0.11.5,
and sed wacking this down to "0115" which the rest of the script seems to
interprit as being version 0.01.15, which is wrong. Unfortunately, I'm not
a sed programmer, so I have no idea how to fix this in sed. A perl hacker I
know thinks this would work:
gettextize --version|head -1|perl -ne 's/^.* ([0-9\.]+)$/$1/g; s/\.//g;
print;'
_______________________________________________
Mc-devel mailing list
Mc-devel gnome org
http://mail.gnome.org/mailman/listinfo/mc-devel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]