openoffice3 install from ports breaking
Antoine Jacoutot
ajacoutot at bsdfrog.org
Sat Apr 25 19:54:21 CEST 2009
On Sat, 25 Apr 2009, Pau wrote:
> Hello,
>
> I tried to compile openoffice3 from ports in 4.5 after a fresh install
> from the CDs. It gave me the following problem:
>
> > ===> Patching for gcc-4.2.20070307
> > cd /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/gcc-4.2-20070307/libstdc++-v3
> > && AUTOCONF_VERSION=2.59 autoconf
> > ===> Configuring for gcc-4.2.20070307
> > loading site script /usr/ports/infrastructure/db/config.site
> > creating cache ./config.cache
> > checking host system type... i386-unknown-openbsd4.5
> > checking target system type... i386-unknown-openbsd4.5
> > checking build system type... i386-unknown-openbsd4.5
> > checking for a BSD compatible install... /usr/bin/install -c -o root -g bin
> > checking whether ln works... yes
> > checking whether ln -s works... yes
> > checking for gcc... /usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc
> > checking whether the C compiler
> > (/usr/ports/lang/gcc/4.2/w-gcc-4.2.20070307/bin/egcc -O2 -g ) works...
> > no
> > configure: error: installation or configuration problem: C compiler
> > cannot create executables.
>
> I asked in ports@ and got the following answer:
>
> "You need /usr/lib/libc.so.42.0
> Of course, the doc says that you should use a package..."
You either need to get and install /usr/lib/libc.so.42.0 from a previous
OpenBSD version because this lib was used to bootstrap ada.
Or, you can wait for 4.5 to came out and install gcc4 from package.
--
Antoine
More information about the Openbsd-newbies
mailing list