Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2007 22:48:34 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Keith Gaughan" <keith.gaughan@gmail.com>
Cc:        gnome@freebsd.org
Subject:   Re: ports/118941: sysutils/gnome-system-tools 2.20.0 won't build on FreeBSD 6.2 with GCC 3.4.6
Message-ID:  <op.t3rua8l09aq2h7@mezz.mezzweb.com>
In-Reply-To: <7624b8af0712221927w37c512e3t5b7f2d37f207817d@mail.gmail.com>
References:  <200712230000.lBN00cka035642@freefall.freebsd.org> <7624b8af0712221927w37c512e3t5b7f2d37f207817d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Dec 2007 21:27:43 -0600, Keith Gaughan  =

<keith.gaughan@gmail.com> wrote:

> Sorry for not replying sooner. Actually I think I've discovered anothe=
r
> reason why it wasn't building correctly. I diffed the output from
> "find /usr/local | sort" against "pkg_info -L \* | grep ^/usr/local | =
 =

> sort"
> and I'm now thinking that the problem might have been an old copy of
> Autoconf 2.59 that was left over from the Autotools cleanup a few mont=
hs  =

> back
> that was causing the problems. I think it was building with that inste=
ad  =

> of
> with Autoconf 2.61. Once I removed that, it started including
> "-I ../../src/common" when building the various tools.
>
> Sorry for wasting your time on that. I ought to have caught it by myse=
lf.
> My theory on why it worked just fine when I built it with GCC 4.1 is t=
hat
> somehow that got it building with 2.61 instead.

Actually, you have hit a real bug. :-) I am blind, I didn't see that it =
 =

already included "-I../../src/common", but it is in the wrong position. =
It  =

should be always in the begin before that "-I/usr/local/include" and oth=
er  =

include paths. I have created a correct path looks like this below and  =

committed it.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- configure.orig	2007-12-22 22:34:20.000000000 -0600
+++ configure	2007-12-22 22:34:43.000000000 -0600
@@ -25180,7 +25180,7 @@
  GST_CFLAGS=3D"$GST_DEPENDS_CFLAGS $GST_CRACK_LIB_CFLAGS  =

$GST_DEPRECATED_FLAGS"

  GST_TOOL_LIBS=3D"\$(top_builddir)/src/common/libsetuptool.a $GST_LIBS"=

-GST_TOOL_CFLAGS=3D"$GST_CFLAGS -I\$(top_srcdir)/src/common"
+GST_TOOL_CFLAGS=3D"-I\$(top_srcdir)/src/common $GST_CFLAGS"

  GST_TOOL_CLEANFILES=3D"\$(desktop) \$(desktop).in"
  GST_TOOL_EXTRA_DIST=3D"\$(toolpixmaps) \$(desktop).in.in"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I will reporting about it in GNOME bugzilla with include a patch for  =

configure.in.

Cheers,
Mezz

> K.


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t3rua8l09aq2h7>