help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] [bug] GTK does not build on Ubuntu


From: Tim Käck
Subject: [Help-smalltalk] [bug] GTK does not build on Ubuntu
Date: Sun, 16 Aug 2009 23:39:44 -0700

Issue status update for http://smalltalk.gnu.org/node/362 Post a follow up: http://smalltalk.gnu.org/project/comments/add/362

Project:      GNU Smalltalk
Version:      <none>
Component:    Bindings: Gtk
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  timkack
Updated by:   timkack
Status:       active

The problem seems to be an odd placement of glibconfig.h header:
A make in packages/gtk results in:

/bin/sed -e "1s,@AWK\@,/usr/bin/gawk," < mk_enums.awk > mk_enums
chmod +x mk_enums
/bin/sed -e "1s,@AWK\@,/usr/bin/gawk," < cpp.awk > cpp
chmod +x cpp
gawk \
        -vPKG_CONFIG='/usr/bin/pkg-config' \
        -v_prefixes='g atk pango' \
        -v_libs="gobject-2.0 gdk-2.0 gdk-pixbuf-2.0 pango gtk+-2.0
atk" \
        -v_files="glib-object.h gdk/gdk.h gdk-pixbuf/gdk-pixbuf.h
gtk/gtk.h atk/atk.h pango/pango.h ./placer.h" -f
./mkorder.awk \
        | while read i; do \
          case "$i" in \
            error:*) \
              echo "$i" >&2; exit 1;; \
            */gobject/*) \
              echo "$i" ;; \
            */glib/*) \
              case " glib/goption.h glib/gdate.h " in \
                *" glib/`basename $i` "*) echo "$i" ;; \
                *) ;; \
              esac ;; \
            *) \
              echo "$i" ;; \
          esac; \
        done > order
error: cannot find glibconfig.h
make: *** [order] Error 1

Checking where this header is shows:

address@hidden:~/Sources/Smalltalk/GNU/VM/smalltalk/packages/gtk$
pkg-config --cflags  glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

For some odd reason is the glibconfig.h header in
/usr/lib/glib-2.0/include.

Workaround:

sudo ln -s /usr/lib/glib-2.0/include/glibconfig.h
/usr/include/glib-2.0/

I have not pinned down the problem in mkorder.awk yet.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]