Re: [gtk-list] Compiling gtk-- (0.9.16)



Gert Scholten <gs2@dds.nl> writes:
 > I downloaded the Gtk---0.9.16.tar.gz, but it doesn;t compile...
> make give the following errors:
> -I/usr/local/include -g -O2 -c -fPIC -DPIC gtk--.cc
> ./../container.gen_h: In method `struct _GtkWidget
> G_List_Iterator<_GtkWidget>::operator (unary *)() const':
> In file included from ../../src/gtk--/bin.h:8,
>                  from ../../src/gtk--/alignment.h:8,
>                  from ../../src/gtk--.h:208,
>                  from gtk--.cc:31:
> ./../container.gen_h:85: conversion from `void *' to non-scalar type
> `_GtkWidget' requested
> ./../container.gen_h:232: parse error before `<'
> ./../container.gen_h:238: parse error before `<'

These errors were a bug in gtk--0.9.16. Get a patch from gtk-- web page
releasenotes, at www.iki.fi/terop/gtk/gtk--.html. (alternative is to
upgrade the C++ compiler, but the patch should be ok too -- 0.9.16 had
things which does not work on old compilers)

(you need to apply it with   
 cd gtk---0.9.16/src
 patch -p0 <foo.patch
)

> Since I'm relative new to C/++, I havn't got a clue.
> Oh jeah, ./cofigure said this (error):
> ---
> configure: warning: Test for member templates failed. This disables some
> methods that requires member template support. If your compiler should support
> member templates, see config.log to figure out why the test failed.  


This means you have old compiler that does not support member templates...
shouldnt matter anything, just some features are disabled...

> ---
> Help much appriciated,
> 
> Gert
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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