From owner-freebsd-questions@FreeBSD.ORG Sat Jan 2 15:58:02 2010 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 3F0511065692 for ; Sat, 2 Jan 2010 15:58:02 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id D052E8FC08 for ; Sat, 2 Jan 2010 15:58:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABL8PktUXeby/2dsb2JhbADRaIQxBA Received: from relay01.plus.net ([84.93.230.242]) by relay.ptn-ipout02.plus.net with ESMTP; 02 Jan 2010 15:58:00 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay01.plus.net with esmtp (Exim) id 1NR6Ma-0004uF-AV for freebsd-questions@freebsd.org; Sat, 02 Jan 2010 15:58:00 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NR6Ma-000OQi-3S for freebsd-questions@freebsd.org; Sat, 02 Jan 2010 15:58:00 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sat, 2 Jan 2010 15:57:59 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001021557.59944.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: ddf84f32b25a5fb1c86b6c14ee679029 Subject: Problems building en-openoffice.org-GB-3.1.1 from ports 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: Sat, 02 Jan 2010 15:58:02 -0000 After successfully moving from 6.4 to 8.0 by doing a clean install I've embarked on the task of rebuilding OpenOffice from ports :-( I'm getting a confusing error in the config stage: ------------------------------------------------------------ ===> Configuring for en-openoffice.org-GB-3.1.1 checking for gperf... /backup/tmp/ports/work/usr/ports/editors/openoffice.org-3/work/OOO310_m19/solenv/bin/gperf checking gperf version... /libexec/ld-elf.so.1: Shared object "libstdc++.so.5" not found, required by "gperf" test: : bad number configure: error: too old, you need at least 3.0.0 ===> Script "configure" failed unexpectedly. ------------------------------------------------------------ True enough I don't have a native libstdc++.so.5 . /usr/local/lib/gcc/i386-portbld-freebsd6.4/3.4.6/libstdc++.so.6 /usr/local/lib/compat/libstdc++.so.4 /usr/lib/libstdc++.so.6 /usr/compat/linux/usr/lib/libstdc++.so.5.0.7 /usr/compat/linux/usr/lib/libstdc++.so.6.0.10 The only similar problem I could find on Google was a post to the freebsd-ports list 2 years ago where someone had a problem with a pre-built package of OpenOffice except that it required libstdc++.so.6 and he had libstdc++.so.5. So I'm puzzled why now, 2 years later, OpenOffice needs an older version of libstdc++.so. As an experiment I added a link for libstdc++.so.5 in /usr/lib and this stopped the message about libstdc++.so.5 but produced a new one about libm.so.4 not being found, and still complained about gperf being too old. I've now put this task on the back burner while I ask for advice here instead of digging an even deeper hole for myself. I assume that "at least 3.0.0" refers to the version of gperf but I already have gperf-3.0.3. Does this look like a bug or have I done something wrong? -- Mike Clarke