Problems building from ports

Matthew Seaman m.seaman at
Sat Jan 2 19:57:31 UTC 2010

Mike Clarke wrote:
> 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
> <snip>
> checking for 
> gperf... /backup/tmp/ports/work/usr/ports/editors/
> checking gperf version... /libexec/ Shared 
> object "" not found, required by "gperf"
> test: : bad number
> configure: error: too old, you need at least 3.0.0
> ===>  Script "configure" failed unexpectedly.
> ------------------------------------------------------------

gperf comes with the base system as well:

% /usr/bin/gperf --version 
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 .
> /usr/local/lib/gcc/i386-portbld-freebsd6.4/3.4.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

> /usr/local/lib/compat/

^^^ This is from the compat6x port 

> /usr/lib/

^^^ the version from 8.0 base system would be part of a 7.x base system, but as you've gone 
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 compiled 
under 8.0.  Yes, it's tedious.  Yes, it consumes a lot of CPU cycles.  But
now you understand why this is good advice...



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list