Re: gawk 3.0.4 does not work for gtk+-1.2.8
- From: eduard epi t-online de (Peter Bornemann)
- To: Owen Taylor <otaylor redhat com>
- Cc: Peter Bornemann <eduard epi t-online de>, gtk-list gnome org
- Subject: Re: gawk 3.0.4 does not work for gtk+-1.2.8
- Date: Sat, 24 Jun 2000 21:33:34 +0200 (CEST)
On 24 Jun 2000, Owen Taylor wrote:
> I can't reproduce it here, though there is one bug report on
> bugs.gnome.org that might be the same thing, involving a compilation
> failure on SuSE 6.4.
> ^^^^^^^^^
> Things work perfectly here with awk-3.0.4. (What operating system
> and/or distribution are you running?)
Aha, I am running the same distro and version. Maybe, there is a
problem with theit awk.
> You should be able to work around the problem by configuring (a clean copy
> of) GTK+ with --disable-rebuilds.
Thank You. I think for now I will stick to old awk. Probably I will
download awk and rebuild it. If there is a bug in awk, as I would
guess (see below), this should be fixed.
>
> If you want to help diagnose what is going on, the problem is with
> the gtk/maketypes.awk script. So if you change to the gtk/ directory
> and try running:
>
> awk -f maketypes.awk gtk.defs macros
> awk -f maketypes.awk gtk.defs entries
> awk -f maketypes.awk gtk.defs variables
>
Here is the result fo "awk -f maketypes.awk gtk.defs macros"
1. with SuSE-awk:
extern GtkType GTK_TYPE_GTKACCELFLAGS;
^^^ ^^
extern GtkType GTK_TYPE_GTKCA_LENDA_RDISPLA_YOPTIONS;
extern GtkType GTK_TYPE_GTKCELLTYPE;
extern GtkType GTK_TYPE_GTKCLISTDRA_GPOS;
extern GtkType GTK_TYPE_GTKBUTTONACTION;
extern GtkType GTK_TYPE_GTKCTREEPOS;
...and so on,
now with the old awk:
extern GtkType GTK_TYPE_ACCEL_FLAGS;
^^ ^^^^
extern GtkType GTK_TYPE_CALENDAR_DISPLAY_OPTIONS;
extern GtkType GTK_TYPE_CELL_TYPE;
extern GtkType GTK_TYPE_CLIST_DRAG_POS;
extern GtkType GTK_TYPE_BUTTON_ACTION;
extern GtkType GTK_TYPE_CTREE_POS;
Now "awk -f maketypes.awk gtk.defs entries" with SuSE-awk:
{ "GtkAccelFlags", >K_TYPE_GTKACCELFLAGS,
^^^ ^^
GTK_TYPE_FLAGS, _gtkaccelflags_values },
{ "GtkCalendarDisplayOptions", >K_TYPE_GTKCA_LENDA_RDISPLA_YOPTIONS,
GTK_TYPE_FLAGS, _gtkca_lenda_rdispla_yoptions_values },
{ "GtkCellType", >K_TYPE_GTKCELLTYPE,
GTK_TYPE_ENUM, _gtkcelltype_values },
{ "GtkCListDragPos", >K_TYPE_GTKCLISTDRA_GPOS,
GTK_TYPE_ENUM, _gtkclistdra_gpos_values },
{ "GtkButtonAction", >K_TYPE_GTKBUTTONACTION,
GTK_TYPE_FLAGS, _gtkbuttonaction_values },
{ "GtkCTreePos", >K_TYPE_GTKCTREEPOS,
GTK_TYPE_ENUM, _gtkctreepos_values },
{ "GtkCTreeLineStyle", >K_TYPE_GTKCTREELINESTYLE,
...
and now with old awk:
{ "GtkAccelFlags", >K_TYPE_ACCEL_FLAGS,
^^^ ^^
GTK_TYPE_FLAGS, _gtk_accel_flags_values },
{ "GtkCalendarDisplayOptions", >K_TYPE_CALENDAR_DISPLAY_OPTIONS,
GTK_TYPE_FLAGS, _gtk_calendar_display_options_values },
{ "GtkCellType", >K_TYPE_CELL_TYPE,
GTK_TYPE_ENUM, _gtk_cell_type_values },
{ "GtkCListDragPos", >K_TYPE_CLIST_DRAG_POS,
GTK_TYPE_ENUM, _gtk_clist_drag_pos_values },
{ "GtkButtonAction", >K_TYPE_BUTTON_ACTION,
GTK_TYPE_FLAGS, _gtk_button_action_values },
{ "GtkCTreePos", >K_TYPE_CTREE_POS,
GTK_TYPE_ENUM, _gtk_ctree_pos_values },
{ "GtkCTreeLineStyle", >K_TYPE_CTREE_LINE_STYLE,
...
At last "awk -f maketypes.awk gtk.defs variables" with SuSE:
GtkType GTK_TYPE_GTKACCELFLAGS = 0;
^^^ ^^
GtkType GTK_TYPE_GTKCA_LENDA_RDISPLA_YOPTIONS = 0;
GtkType GTK_TYPE_GTKCELLTYPE = 0;
GtkType GTK_TYPE_GTKCLISTDRA_GPOS = 0;
GtkType GTK_TYPE_GTKBUTTONACTION = 0;
GtkType GTK_TYPE_GTKCTREEPOS = 0;
GtkType GTK_TYPE_GTKCTREELINESTYLE = 0;
GtkType GTK_TYPE_GTKCTREEEXPA_NDERSTYLE = 0;
GtkType GTK_TYPE_GTKCTREEEXPA_NSIONTYPE = 0;
GtkType GTK_TYPE_GTKDEBUGFLAG = 0;
GtkType GTK_TYPE_GTKDESTDEFAULTS = 0;
GtkType GTK_TYPE_GTKTA_RGETFLAGS = 0;
GtkType GTK_TYPE_GTKARROWTYPE = 0;
...
and now old awk:
GtkType GTK_TYPE_ACCEL_FLAGS = 0;
^^^ ^^
GtkType GTK_TYPE_CALENDAR_DISPLAY_OPTIONS = 0;
GtkType GTK_TYPE_CELL_TYPE = 0;
GtkType GTK_TYPE_CLIST_DRAG_POS = 0;
GtkType GTK_TYPE_BUTTON_ACTION = 0;
GtkType GTK_TYPE_CTREE_POS = 0;
GtkType GTK_TYPE_CTREE_LINE_STYLE = 0;
GtkType GTK_TYPE_CTREE_EXPANDER_STYLE = 0;
GtkType GTK_TYPE_CTREE_EXPANSION_TYPE = 0;
GtkType GTK_TYPE_DEBUG_FLAG = 0;
GtkType GTK_TYPE_DEST_DEFAULTS = 0;
GtkType GTK_TYPE_TARGET_FLAGS = 0;
GtkType GTK_TYPE_ARROW_TYPE = 0;
...
> And see which of those is different from 3.0.3 to 3.0.4, that would
> be a start in tracking down the problem.
I am no awk-expert, so don't ask me, what these differences mean and
how to avoid them. But certainly there is something wrong with the
SuSE awk and the differences are systematic.
Alas, as I know from bad experience, SuSE has become rather deaf to
such reports.
Regards
Peter B
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]