Re: Installing the latest gtk2



All:

I know I should not be replying to my own message . . . 

On Wed, 2003-02-12 at 17:32, Neil Hodge wrote:
> All:
> 
> I have successfully installed the latest gtk2.  When running my build
> files, I get the following error:
> 
> checking for gtk+-2.0 >= 2.2.0... Requested 'gtk+-2.0 >= 2.2.0' but
> version of GTK+ is 2.0.6
> 
> configure: error: Library requirements (gtk+-2.0 >= 2.2.0) not met;
> consider adjusting the PKG_CONFIG_PATH environment variable if your
> libraries are in a nonstandard prefix so pkg-config can find them.
> 

So, I fixed the above error, but at runtime I get the following:

./gnoii2: relocation error: ./gnoii2: undefined symbol:
gtk_tree_selection_count_selected_rows

My compile looks like the following:

gcc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"
-I/opt/gtk+-2.2.1/include/gtk-2.0
-I/opt/gtk+-2.2.1/lib/gtk-2.0/include -I/opt/gtk+-2.2.1/include/atk-1.0
-I/opt/gtk+-2.2.1/include/pango-1.0 -I/usr/include/Xft2
-I/usr/include/freetype2 -I/usr/X11R6/include
-I/opt/gtk+-2.2.1/include/glib-2.0
-I/opt/gtk+-2.2.1/lib/glib-2.0/include      -Wall -c `test -f 'util.c'
|| echo './'`util.c

The paths all look about right (I installed the new gtk to
/opt/gtk+-2.2.1), and my header file calls

#include <gtk/gtk.h>

Any ideas?

Thanks.

Neil





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