Re: [GDL] build problems

Gustavo Giráldez <[email protected]>
Newsgroups gmane.comp.gnome.devtools
Message-ID <[email protected]>
Hi!

Sorry for the long absence, I was enjoying my last vacation days :-) 
Back at home now.

On Tue, 2004-01-13 at 06:18, Jeroen Zwartepoorte wrote:
> Hi John,
> 
> On Tue, 2004-01-13 at 06:51, John (J5) Palmieri wrote:
> > I ran into a couple of build problems with GDL.  
> 
> Gustavo changed some stuff recently to the build process, but it builds
> fine on my machines (fedora + ydl).

Yeah, for maintainer cvs builds both full deprecated flags and error
compiler warnings are enabled.  For released tarballs they are disabled
though.

> > * -fno-strict-aliasing needs to be set as a build flag or it will warn
> > on (gpointer *) &widget.  Since -Werror is set this causes GDL not to
> > build.
> 
> Should we really set -Werror as a default in the build? I know i removed
> it from glimmer at one point because different platforms generated
> different warnings and broke the build.

In my experience, setting -Werror has helped me a lot in finding both
typos and very weird bugs.  I prefer not to remove them, but fix the
warnings instead.

I'm also using Fedora, but I got that compiler warning.  I already
committed a fix for it.  FWIW, my GCC version is 3.3.2.

> > * libssl development files are needed for the build (why do we use SSL?)
> > but does not error out when running ./configure.
> 
> I have no idea why we would need libssl. Strange.

This is weird.  The only library I can think of which might need libssl
is gnome-vfs.  Maybe it's a bug in its pkg-config file?  I have an
up-to-date jhbuild HEAD build and gdl compiles fine now.

Regards,
Gustavo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.