Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 21:07:14 +0100
From:      Peter Boosten <peter@boosten.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Updating glib from 2.24.2 to 2.26.1_1 fails
Message-ID:  <1CBF90C1-8779-4E9D-A211-03D60573B91A@boosten.org>
In-Reply-To: <ih23dv$70k$1@dough.gmane.org>
References:  <4D0726F2.6070703@boosten.org> <800EAF42-2B15-4031-9E5B-CDEC6D96653B@boosten.org> <ih23dv$70k$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17 jan 2011, at 19:59, Michael Powell wrote:

>  don't think I have any magic answer here. Just did a 'make' for this =
port=20
> on a 8.1-Release box and it built just fine. Only a couple of things =
come to=20
> mind for me. Take out the -march=3Dpentiumpro from your make.conf, and =
any=20
> other compiler optimizations. Whenever I experience a problem in =
portupgrade=20
> my standard first thing to try is to build the port manually, outside =
of=20
> portupgrade. Just for the purpose of simplification and to eliminate=20=

> portupgrade as a variable.=20

Michael,

Thanks for your answer.

I don't have a -march=3Dpentiumpro in my make.conf (or maybe it's the =
cpu=3Di686?) Anyway, removed that.

I did a search for zlib.h on my machine, and found actually another =
(older) one, in /usr/local/include.
After removing that, I got a bit further, but now it stops with:

./.libs/libgio-2.0.so: undefined reference to `deflateSetHeader'
./.libs/libgio-2.0.so: undefined reference to `inflateGetHeader'
gmake[4]: *** [gio-querymodules] Error 1
gmake[4]: Leaving directory =
`/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory =
`/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory =
`/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1'
gmake: *** [all] Error 2
*** Error code 1

Looks like there's some junk on my machine. I'm going to search for =
other duplicates...

--=20
Peter Boosten
http://www.boosten.org






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1CBF90C1-8779-4E9D-A211-03D60573B91A>