Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Milan Crha
On Mon, 2010-09-06 at 23:27 +0200, Thomas Mittelstaedt wrote:
> Am Montag, den 06.09.2010, 23:20 +0200 schrieb Thomas Mittelstaedt:
> > > > I downloaded and built gtk 2.9, the latest from the gtk website, and
> > > > installed it into /opt/evo, where I try to build evolution.

Hi,
well, 2.9x is a development version of gtk3. Try the latest
non-development version, like 2.20 from:
http://www.gtk.org/download-linux.html

> > > > I just pulled the latest sources from master, the gtkhtml configuration
> > > > script tells me, that it's using gtk2:
> > > > Configuration:
> > > > GTK+ package:   gtk+-2.0
> > > > 
> > > > Still the same compilation error.

It might mean it's using your system gtk+. I gave you a commit link at
the first reply, which contains that -DGDK_DISABLE_DEPRECATED removal,
so you probably do not have latest master checkout for some reason, I
guess. Seeing the code, isn't it possible that the makefile checkouts
gnome-2-30 branch instead of the master branch? I ask because the above
mentioned configure.ac change doesn't seem to be part of gnome-2-30
branch.

Using master is a good idea, especially in this stage (few weeks before
release), thus it'll have more testing, which is always good.

With respect of compiling without the Paul's makefile, I do not use the
makefile myself, so I do not know what it does or doesn't, but that one
also checks for dependencies within the configure stage, so you can try
to configure the checkout yourself and see what it'll claim about, if
anything.
Bye,
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 23:20 +0200 schrieb Thomas Mittelstaedt:
> Am Montag, den 06.09.2010, 22:32 +0200 schrieb Thomas Mittelstaedt:
> > Am Montag, den 06.09.2010, 22:17 +0200 schrieb Thomas Mittelstaedt:
> > > Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
> > > > On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
> > > > > More errors trying to compile gtkhtml:
> > > > > 
> > > > > Making all in gtkhtml
> > > > > make[2]: Entering directory
> > > > > `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
> > > > >   CC htmlengine-edit-cursor.lo
> > > > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
> > > > > ‘draw_cursor_rectangle’:
> > > > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
> > > > > declaration of function ‘gdk_gc_new’
> > > > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
> > > > > extern declaration of ‘gdk_gc_new’
> > > > > ...
> > > > 
> > > > Hi,
> > > > is it with gtk3 or gtk2? The gtk3 isn't supported fully.
> > > 
> > > I downloaded and built gtk 2.9, the latest from the gtk website, and
> > > installed it into /opt/evo, where I try to build evolution.
> > > I used Paul Smith's Makefile, which at some point in the configuration
> > > demanded gtk3.
> > > 
> > > I just pulled the latest sources from master, the gtkhtml configuration
> > > script tells me, that it's using gtk2:
> > > Configuration:
> > >   GTK+ package:   gtk+-2.0
> > > 
> > > Still the same compilation error.
> > > 
> > > 
> > > 
> > > 
> > 
> > Can you point me to some URL with instructions on how to build the 
> > latest evolution source apart from Paul Smith's page?
> > What dependencies need to be installed? Should I rather not build
> > the latest master source, but some tagged version?
> > 
> 
> Found the following:
> http://ubuntuforums.org/showthread.php?t=1557826
> 
> 
> > Re: error: implicit declaration of function ‘gdk_gc_new’ 
> 
> > I found that the file was already using gdk/gdk.h.
> > 
> > I sovled the problem by removing:
> > 
> > -GDK_DISABLE_DEPRECATED
> > 
> > from configure.ac
> > 
> > Re: error: implicit declaration of function ‘gdk_gc_new’ 
> 
> 
> 
> > are you using the development or stable version of gtk?
> > 
> > gdk_gc_new has not been deprecated in stable, so your change should
> > not have had effect.
> > Don't know about unstable.
> > 
> > And even if, instead of enabling deprecated functions you should fix
> > the code to not use them
> 
> 

Also this one: https://bugzilla.gnome.org/show_bug.cgi?id=626605


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 22:32 +0200 schrieb Thomas Mittelstaedt:
> Am Montag, den 06.09.2010, 22:17 +0200 schrieb Thomas Mittelstaedt:
> > Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
> > > On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
> > > > More errors trying to compile gtkhtml:
> > > > 
> > > > Making all in gtkhtml
> > > > make[2]: Entering directory
> > > > `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
> > > >   CC htmlengine-edit-cursor.lo
> > > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
> > > > ‘draw_cursor_rectangle’:
> > > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
> > > > declaration of function ‘gdk_gc_new’
> > > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
> > > > extern declaration of ‘gdk_gc_new’
> > > > ...
> > > 
> > >   Hi,
> > > is it with gtk3 or gtk2? The gtk3 isn't supported fully.
> > 
> > I downloaded and built gtk 2.9, the latest from the gtk website, and
> > installed it into /opt/evo, where I try to build evolution.
> > I used Paul Smith's Makefile, which at some point in the configuration
> > demanded gtk3.
> > 
> > I just pulled the latest sources from master, the gtkhtml configuration
> > script tells me, that it's using gtk2:
> > Configuration:
> > GTK+ package:   gtk+-2.0
> > 
> > Still the same compilation error.
> > 
> > 
> > 
> > 
> 
> Can you point me to some URL with instructions on how to build the 
> latest evolution source apart from Paul Smith's page?
> What dependencies need to be installed? Should I rather not build
> the latest master source, but some tagged version?
> 

Found the following:
http://ubuntuforums.org/showthread.php?t=1557826


> Re: error: implicit declaration of function ‘gdk_gc_new’ 

> I found that the file was already using gdk/gdk.h.
> 
> I sovled the problem by removing:
> 
> -GDK_DISABLE_DEPRECATED
> 
> from configure.ac
> 
> Re: error: implicit declaration of function ‘gdk_gc_new’ 



> are you using the development or stable version of gtk?
> 
> gdk_gc_new has not been deprecated in stable, so your change should
> not have had effect.
> Don't know about unstable.
> 
> And even if, instead of enabling deprecated functions you should fix
> the code to not use them



___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 22:17 +0200 schrieb Thomas Mittelstaedt:
> Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
> > On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
> > > More errors trying to compile gtkhtml:
> > > 
> > > Making all in gtkhtml
> > > make[2]: Entering directory
> > > `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
> > >   CC htmlengine-edit-cursor.lo
> > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
> > > ‘draw_cursor_rectangle’:
> > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
> > > declaration of function ‘gdk_gc_new’
> > > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
> > > extern declaration of ‘gdk_gc_new’
> > > ...
> > 
> > Hi,
> > is it with gtk3 or gtk2? The gtk3 isn't supported fully.
> 
> I downloaded and built gtk 2.9, the latest from the gtk website, and
> installed it into /opt/evo, where I try to build evolution.
> I used Paul Smith's Makefile, which at some point in the configuration
> demanded gtk3.
> 
> I just pulled the latest sources from master, the gtkhtml configuration
> script tells me, that it's using gtk2:
> Configuration:
>   GTK+ package:   gtk+-2.0
> 
> Still the same compilation error.
> 
> 
> 
> 

Can you point me to some URL with instructions on how to build the 
latest evolution source apart from Paul Smith's page?
What dependencies need to be installed? Should I rather not build
the latest master source, but some tagged version?

-- 
thomas


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Can't build evolution-data-server master on ubuntu maverick

2010-09-06 Thread Thomas Mittelstaedt
Am Montag, den 06.09.2010, 08:23 +0200 schrieb Milan Crha:
> On Sat, 2010-09-04 at 09:12 +0200, Thomas Mittelstaedt wrote:
> > More errors trying to compile gtkhtml:
> > 
> > Making all in gtkhtml
> > make[2]: Entering directory
> > `/home/tuxdistro/src/evolution/obj/gtkhtml/gtkhtml'
> >   CC htmlengine-edit-cursor.lo
> > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c: In function
> > ‘draw_cursor_rectangle’:
> > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: error: implicit
> > declaration of function ‘gdk_gc_new’
> > ../../../gtkhtml/gtkhtml/htmlengine-edit-cursor.c:129: warning: nested
> > extern declaration of ‘gdk_gc_new’
> > ...
> 
>   Hi,
> is it with gtk3 or gtk2? The gtk3 isn't supported fully.

I downloaded and built gtk 2.9, the latest from the gtk website, and
installed it into /opt/evo, where I try to build evolution.
I used Paul Smith's Makefile, which at some point in the configuration
demanded gtk3.

I just pulled the latest sources from master, the gtkhtml configuration
script tells me, that it's using gtk2:
Configuration:
GTK+ package:   gtk+-2.0

Still the same compilation error.




-- 
thomas


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers