port install failed

Peter Jeremy PeterJeremy at optushome.com.au
Tue Jan 4 20:45:49 GMT 2005


On Tue, 2005-Jan-04 13:56:38 +0100, Christian Hiris wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Tuesday 04 January 2005 11:37, Adam K Kirchhoff wrote:
>> >===>  Installing for openoffice-1.1.4.20041101_1
>> >===>   openoffice-1.1.4.20041101_1 depends on file:
>> > /usr/local/bin/perl5.8.5 - found
>> >===>   openoffice-1.1.4.20041101_1 depends on executable: pkg-config -
>> > found ===>   Generating temporary packing list
>> >===>  Checking if editors/openoffice-1.1-devel already installed
>> >./install: not found
>> >*** Error code 127
>> >
>> >Stop in /usr/ports/editors/openoffice-1.1-devel.
>>
>> I'm getting this as well.  Please don't tell me I went through all the
>> hassle of building openoffice and there's no way to get it installed now
>> :-)
>
>Refer to http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/75785.
>patch-gcc,config,freebsd-spec.h of lang/ggc32 doesn't work as expected.
>A workaround is quite simple, but recompilation of the ports lang/gcc32 and OO 
>is required.

You can short-circuit a lot of this if you're game.  freebsd-spec.h should
only affect a small part of the compiler and all the OOo objects are OK,
it's just some of the linking that's broken.
- Manually patch .../lang/gcc32/work/gcc-3.2.3/gcc/config/freebsd-spec.h
- Delete .../lang/gcc32/work/.build_done.gcc-3.2.3_2._usr_local and
  .../lang/gcc32/work/.install_done.gcc-3.2.3_2._usr_local
- Uninstall gcc-3.2.3_2 and re-run "make install" for lang/gcc32
- Delete any OOo executables that use libc_r:
  cd .../editors/openoffice-1.1/work
  find * -type f \( -mode -0100 -o -name \*.so\* \) -print | \
    while read x; do ldd $x 2>/dev/null | grep -q libc_r && rm $x ; done
- Delete .../editors/openoffice-1.1/work/.build_done.openoffice-1.1.3_1._usr_local
- Rerun "make" and "make install" for editors/openoffice-1.1

Note that I haven't actually executed this myself but all the steps should
work.

-- 
Peter Jeremy


More information about the freebsd-openoffice mailing list