configuring GTK 2.2
Hi, I downloaded the sources of GTK+-2.2.0 and compiled all the requested dependencies, but when I run ./configure I get a message that I do not understand: configure: error: *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required *** to build GTK+ In the config.log I find: /usr/local/lib/libatk-1.0.so: undefined reference to `g_value_get_as_pointer' Thank you for any help Hubert This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.54. Invocation command line was $ ./configure ## - ## ## Platform. ## ## - ## hostname = dell.taxi.fr uname -m = i686 uname -r = 2.4.9-13smp uname -s = Linux uname -v = #1 SMP Mon Dec 10 13:09:10 EST 2001 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/qt/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/qt/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /usr/local/bin PATH: /root/bin ## --- ## ## Core tests. ## ## --- ## configure:1583: checking for a BSD-compatible install configure:1637: result: /usr/bin/install -c configure:1648: checking whether build environment is sane configure:1691: result: yes configure:1706: checking whether make sets ${MAKE} configure:1726: result: yes configure:1749: checking for working aclocal-1.4 configure:1760: result: missing configure:1764: checking for working autoconf configure:1771: result: found configure:1779: checking for working automake-1.4 configure:1790: result: missing configure:1794: checking for working autoheader configure:1801: result: found configure:1809: checking for working makeinfo configure:1816: result: found configure:1879: checking for gcc configure:1895: found /usr/bin/gcc configure:1905: result: gcc configure:2147: checking for C compiler version configure:2150: gcc --version &5 3.0.2 configure:2153: $? = 0 configure:2155: gcc -v &5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux Thread model: posix gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3) configure:2158: $? = 0 configure:2160: gcc -V &5 gcc: argument to `-V' is missing configure:2163: $? = 1 configure:2183: checking for C compiler default output configure:2186: gccconftest.c >&5 configure:2189: $? = 0 configure:2223: result: a.out configure:2228: checking whether the C compiler works configure:2234: ./a.out configure:2237: $? = 0 configure:2252: result: yes configure:2259: checking whether we are cross compiling configure:2261: result: no configure:2264: checking for suffix of executables configure:2266: gcc -o conftestconftest.c >&5 configure:2269: $? = 0 configure:2292: result: configure:2298: checking for suffix of object files configure:2316: gcc -c conftest.c >&5 configure:2319: $? = 0 configure:2338: result: o configure:2342: checking whether we are using the GNU C compiler configure:2363: gcc -c conftest.c >&5 configure:2366: $? = 0 configure:2369: test -s conftest.o configure:2372: $? = 0 configure:2384: result: yes configure:2390: checking whether gcc accepts -g configure:2408: gcc -c -g conftest.c >&5 configure:2411: $? = 0 configure:2414: test -s conftest.o configure:2417: $? = 0 configure:2427: result: yes configure:2444: checking for gcc option to accept ANSI C configure:2501: gcc -c -g -O2 conftest.c >&5 configure:2504: $? = 0 configure:2507: test -s conftest.o configure:2510: $? = 0 configure:2527: result: none needed configure:2545: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:2548: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2719: checking build system type configure:2737: result: i686-pc-linux-gnu configure:2745: checking host system type configure:2759: result: i686-pc-linux-gnu configure:2789: checking for ld used by GCC configure:2852: result: /usr/bin/ld configure:2861: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8) configure:2873: result: yes configure:2878: checking for /usr/bin/ld option to reload object files configure:2885: result: -r configure:2890: checking for BSD-compatible nm configure:2926: result: /usr/bin/nm -B configure:2929: checking for a sed that does not truncate output configure:3011: result: /bin/sed configure:3014: checking whether ln -s works configure:3018: result: yes configure:
Re: configuring GTK 2.2
Hubert, libatk-1.0.so should not be calling g_value_get_as_pointer. What version of atk did you download? Please do 1) ls -l /usr/local/lib/libatk* 2) grep for g_value_get_as_pointer in the subdirectory atk/atk in which you built ATK. Padraig > > Hi, > > I downloaded the sources of GTK+-2.2.0 and compiled all the requested > dependencies, but when I run ./configure I get a message that I do not > understand: > configure: error: > *** Cannot link to Accessibility Toolkit. Accessibility > Toolkit is required > *** to build GTK+ > > In the config.log I find: > /usr/local/lib/libatk-1.0.so: undefined reference to > `g_value_get_as_pointer' > > Thank you for any help > > Hubert > > > > ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: configuring GTK 2.2
Hi, Thank you for your help. I am using atk-1.2.0 -> /usr/local/lib/libatk-1.0.so.0.200.0 Is it too recent ? The result of the grep is: atkmarshal.c: data2 = g_value_get_as_pointer (param_values + 0); atkmarshal.c: data1 = g_value_get_as_pointer (param_values + 0); atkmarshal.c: data2 = g_value_get_as_pointer (param_values + 0); atkmarshal.c: data1 = g_value_get_as_pointer (param_values + 0); atkmarshal.c: g_value_get_as_pointer (param_values + 1), Thanks again, Hubert Padraig O'Briain wrote: Hubert, libatk-1.0.so should not be calling g_value_get_as_pointer. What version of atk did you download? Please do 1) ls -l /usr/local/lib/libatk* 2) grep for g_value_get_as_pointer in the subdirectory atk/atk in which you built ATK. Padraig Hi, I downloaded the sources of GTK+-2.2.0 and compiled all the requested dependencies, but when I run ./configure I get a message that I do not understand: configure: error: *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required *** to build GTK+ In the config.log I find: /usr/local/lib/libatk-1.0.so: undefined reference to `g_value_get_as_pointer' Thank you for any help Hubert -- Hubert de Fraysseix Directeur de Recherche au CNRS 5, rue de l'Ave Maria 75004-Paris (France) tel:(33) 1 42 77 49 52 fax:(33) 1 49 54 21 09 Home page: http://www.ehess.fr/centres/cams/person/hf/index.html Pigale (Public Implementation of a Graph Algorithm Library and Editor): http://pigale.sourceforge.net/ ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: configuring GTK 2.2
Herbert, This is very strange, The file atk-marshal.c is generated by the build. According to the ChangeLog in glib/gobject the function g_value_get_as_pointer was renamed to g_value_peek_pointer on Februray 21st 2001. I would look very closely at how the file atkmarshal.c is being generated. Padraig ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: configuring GTK 2.2
Hi, Hubert de Fraysseix <[EMAIL PROTECTED]> writes: > libatk-1.0.so should not be calling g_value_get_as_pointer. the problem is most likely that a very old version of glib-genmarshal is being used to build atk. g_value_get_as_pointer() was renamed to g_value_peek_pointer() almost a year ago. Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list