From owner-freebsd-questions@FreeBSD.ORG Mon Jan 17 21:18:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB5F3106567A for ; Mon, 17 Jan 2011 21:18:09 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id 710728FC20 for ; Mon, 17 Jan 2011 21:18:09 +0000 (UTC) Received: from [212.54.34.140] (helo=smtp9.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1PewSm-00083a-Bf for freebsd-questions@freebsd.org; Mon, 17 Jan 2011 22:18:08 +0100 Received: from 541980a1.cm-5-2c.dynamic.ziggo.nl ([84.25.128.161] helo=ra.egypt.nl) by smtp9.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1PewSi-0001A0-IU for freebsd-questions@freebsd.org; Mon, 17 Jan 2011 22:18:04 +0100 Received: from mbp.egypt.nl (mbp.egypt.nl [192.168.13.33]) by ra.egypt.nl (Postfix) with ESMTP id 6967F3983D for ; Mon, 17 Jan 2011 22:18:04 +0100 (CET) From: Peter Boosten Mime-Version: 1.0 (Apple Message framework v1082) Date: Mon, 17 Jan 2011 22:18:04 +0100 In-Reply-To: <1CBF90C1-8779-4E9D-A211-03D60573B91A@boosten.org> To: FreeBSD Questions References: <4D0726F2.6070703@boosten.org> <800EAF42-2B15-4031-9E5B-CDEC6D96653B@boosten.org> <1CBF90C1-8779-4E9D-A211-03D60573B91A@boosten.org> Message-Id: <977A0611-FE5C-4A23-AF44-25007F8A989E@boosten.org> X-Mailer: Apple Mail (2.1082) X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1PewSi-0001A0-IU X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.981, vereist 5, BAYES_40 -0.00, HTML_MESSAGE 0.00, RDNS_DYNAMIC 0.98, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Updating glib from 2.24.2 to 2.26.1_1 fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 21:18:09 -0000 On 17 jan 2011, at 21:07, Peter Boosten wrote: >=20 > On 17 jan 2011, at 19:59, Michael Powell wrote: >=20 >> 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 >=20 > Michael, >=20 > Thanks for your answer. >=20 > I don't have a -march=3Dpentiumpro in my make.conf (or maybe it's the = cpu=3Di686?) Anyway, removed that. >=20 > 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: >=20 > ./.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 >=20 > Looks like there's some junk on my machine. I'm going to search for = other duplicates... >=20 Ok, fixed it by installing the package. Not the cleanest way, but the = most efficient. --=20 Peter Boosten http://www.boosten.org