Skip to main content

Thread: Ubuntu natty building gtk+-3.2.3


i'm trying build gtk+-3.2.3 on ubuntu natty. fresh ubuntu install security updates only. have not installed gtk3 prior this.
first installed:
code:
sudo apt-get install libffi-dev zlib1g-dev fam libdbus-1-dev libdbus-glib-1-dev gobject-introspection libxext-dev libxrender1-dbg colordiff libcairo2-dev libtiff4-dev libpng12-dev libxft-dev libxi-devel
i have following folders in directory /home/nocturnal1/gtk

atk-2.1.5
gdk-pixbuf-2.24.1
glib-2.30.1
gtk+-3.2.3
pango-1.29.1

following command line:
code:
cd /home/nocturnal1/gtk/glib-2.30.1 ./configure && make  rm -rf /home/nocturnal1/gtk/include/glib.h  /home/nocturnal1/gtk/include/gmodule.h  (glib install instructions)  make install
repeat other folders except without rm, in following order:

1. atk-2.1.5
2. gdk-pixbuf-2.24.1
3. pango-1.29.1
4. gtk+-3.2.3

before running ./configure gtk+-3.2.3 enter on command line:

code:
cppflags="-i/home/nocturnal1/gtk/include"  ldflags="-l/home/nocturnal1/gtk/lib"  pkg_config_path="/home/nocturnal1/gtk/lib/pkgconfig"  export cppflags ldflags pkg_config_path  ld_library_path="/home/nocturnal1/gtk/lib"  path="/home/nocturnal1/gtk/bin:$path"  export ld_library_path path  export pkg_config_path="/home/nocturnal1/gtk/lib/pkgconfig:$pkg_config_path"
i these errors when run make on gtk+-3.2.3:


code:
gdkwindow-x11.c: in function '_gdk_x11_moveresize_handle_event': gdkwindow-x11.c:4301:9: error: 'xievent' undeclared (first use in function) gdkwindow-x11.c:4301:9: note: each undeclared identifier reported once each function appears in gdkwindow-x11.c:4301:18: error: 'ev' undeclared (first use in function) gdkwindow-x11.c:4301:33: error: expected expression before ')' token gdkwindow-x11.c:4302:9: error: 'xideviceevent' undeclared (first use in function) gdkwindow-x11.c:4302:24: error: 'xev' undeclared (first use in function) gdkwindow-x11.c:4302:46: error: expected expression before ')' token gdkwindow-x11.c:4306:16: error: 'xi_motion' undeclared (first use in function) gdkwindow-x11.c:4308:13: warning: implicit declaration of function '_gdk_x11_device_xi2_translate_state' gdkwindow-x11.c:4313:16: error: 'xi_buttonrelease' undeclared (first use in function) make[4]: *** [gdkwindow-x11.lo] error 1 make[4]: leaving directory `/home/nocturnal1/gtk/gtk+-3.2.3/gdk/x11' make[3]: *** [all-recursive] error 1 make[3]: leaving directory `/home/nocturnal1/gtk/gtk+-3.2.3/gdk' make[2]: *** [all] error 2 make[2]: leaving directory `/home/nocturnal1/gtk/gtk+-3.2.3/gdk' make[1]: *** [all-recursive] error 1 make[1]: leaving directory `/home/nocturnal1/gtk/gtk+-3.2.3' make: *** [all] error 2
can please help

your package didn't installed since had wrong name. it's libxi-dev not libxi-devel. contains function you're missing.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs Ubuntu natty building gtk+-3.2.3


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account