From owner-freebsd-questions@FreeBSD.ORG Sat Jan 2 19:57:31 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 67CD7106568B for ; Sat, 2 Jan 2010 19:57:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BB4108FC0A for ; Sat, 2 Jan 2010 19:57:30 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id o02JvQVv015614; Sat, 2 Jan 2010 19:57:27 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o02JvQVv015614 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1262462247; bh=8QQi0u1VPcPYkGsMX6X3PwfRL61kAUhgESOIUF9Jvj8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B3FA51F.5040909@infracaninophile.co.uk>|Date:=20S at,=2002=20Jan=202010=2019:57:19=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Mike=20Clarke=20|CC: =20freebsd-questions@freebsd.org|Subject:=20Re:=20Problems=20build ing=20en-openoffice.org-GB-3.1.1=20from=20ports|References:=20<201 001021557.59944.jmc-freebsd2@milibyte.co.uk>|In-Reply-To:=20<20100 1021557.59944.jmc-freebsd2@milibyte.co.uk>|X-Enigmail-Version:=200 .95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B =0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundar y=3D"------------enig5F6FF250ECAE6F66B5AA7721"; b=VrFQXaViHBIHuEx7NrJbswwCUp5kI/W1IzDBTm2mBbES10BlUVQU5OSBwLfRipfVf 6m86PVX9Ce6X5rvaBXRMSZMe54+hd+Ht+NiaNqd98fkZ/k28mCHJN/E8KVmbdefK/3 usQg6rdemqdlfgSqtBauTUxT34vCiKfOIzrOrhAc= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B3FA51F.5040909@infracaninophile.co.uk> Date: Sat, 02 Jan 2010 19:57:19 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Mike Clarke References: <201001021557.59944.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001021557.59944.jmc-freebsd2@milibyte.co.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig5F6FF250ECAE6F66B5AA7721" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: 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 19:57:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5F6FF250ECAE6F66B5AA7721 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mike Clarke wrote: > After successfully moving from 6.4 to 8.0 by doing a clean install I've= =20 > embarked on the task of rebuilding OpenOffice from ports :-( >=20 > I'm getting a confusing error in the config stage: >=20 > ------------------------------------------------------------ > =3D=3D=3D> Configuring for en-openoffice.org-GB-3.1.1 > > checking for=20 > 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=20 > object "libstdc++.so.5" not found, required by "gperf" > test: : bad number > configure: error: too old, you need at least 3.0.0 > =3D=3D=3D> Script "configure" failed unexpectedly. > ------------------------------------------------------------ gperf comes with the base system as well: % /usr/bin/gperf --version=20 GNU gperf 2.7.2 but it is certainly possible to build OOo under FreeBSD 8.0 -- it will install the ports version of gperf as a build dependency. > True enough I don't have a native libstdc++.so.5 . >=20 > /usr/local/lib/gcc/i386-portbld-freebsd6.4/3.4.6/libstdc++.so.6 ^^^ Looks like something that was installed under FreeBSD 6.4. Dunno what in the up-to-date ports tree would need gcc-3.4 since the base system is now up to gcc-4.2, and that's quite capable of compiling OOo. > /usr/local/lib/compat/libstdc++.so.4 ^^^ This is from the compat6x port=20 > /usr/lib/libstdc++.so.6 ^^^ the version from 8.0 base system libstdc++.so.5 would be part of a 7.x base system, but as you've gone=20 to 8.0 by doing a clean install, nothing should be referencing that version. What does 'ldd /usr/local/bin/gperf' tell you? At a guess you haven't followed the often repeated advice to reinstall /all/ your ports when you do a major version upgrade. That means recompile from source in correct dependency order, or install pkgs compil= ed=20 under 8.0. Yes, it's tedious. Yes, it consumes a lot of CPU cycles. Bu= t now you understand why this is good advice... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig5F6FF250ECAE6F66B5AA7721 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAks/pSYACgkQ8Mjk52CukIxgjwCfSUORlRTljJAQzxrcUqeCf6Iy Y20AoIH2wqOxFX2dzfXpfK7NTIGi4kSX =v+Yt -----END PGP SIGNATURE----- --------------enig5F6FF250ECAE6F66B5AA7721--