Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 12:08:03 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: OpenOffice build
Message-ID:  <20031104120803.GB33473@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20031104093835.GA23466@seatle.vredesdorp.nl>
References:  <20031102094007.GA75640@seatle.vredesdorp.nl> <20031102095849.GC73745@happy-idiot-talk.infracaninophile.co.uk> <20031104093835.GA23466@seatle.vredesdorp.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 04, 2003 at 10:38:35AM +0100, R.T.G. TAN wrote:
> On Sun, Nov 02, 2003 at 09:58:49AM +0000, Matthew Seaman wrote:
> > On Sun, Nov 02, 2003 at 10:40:07AM +0100, R.T.G. TAN wrote:
> > > Hi,
> > >=20
> > > Im trying to install openoffice and am getting
> > > the folling:
> > >=20
> > > >>>
> > > ../../dist/bin/xpidl -m typelib -w -I ../../dist/idl -I. -o _xpidlgen=
/nsrootidl nsrootidl.idl
> > > ../../dist/bin/xpt_link _xpidlgen/xpcom_base.xpt _xpidlgen/nsIErrorSe=
rvice.xpt _xpidlgen/nsIConsoleService.xpt _xpidlgen/nsIConsoleMessage.xpt _=
xpidlgen/nsIConsoleListener.xpt _xpidlgen/nsIException.xpt _xpidlgen/nsIExc=
eptionService.xpt _xpidlgen/nsIInterfaceRequestor.xpt _xpidlgen/nsIProgramm=
ingLanguage.xpt _xpidlgen/nsISupports.xpt _xpidlgen/nsIWeakReference.xpt _x=
pidlgen/nsIMemory.xpt _xpidlgen/nsrootidl.xpt
> > > ../../config/nsinstall -R -m 644 _xpidlgen/xpcom_base.xpt ../../dist/=
bin/components
> > > Can't locate File/Spec/Unix.pm in @INC (@INC contains: ../../config /=
usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl=
5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /=
usr/libdata/perl/5.00503/File/Spec.pm line 21.
> > > BEGIN failed--compilation aborted at /usr/libdata/perl/5.00503/FindBi=
n.pm line 79.
> > > BEGIN failed--compilation aborted at ../../config/make-jars.pl line 6.
> > > gmake[3]: *** [libs] Error 2
> > > gmake[3]: Leaving directory `/usr/ports/editors/openoffice/work/mozil=
la/work/mozilla/xpcom/base'
> > > gmake[2]: *** [libs] Error 2
> > > gmake[2]: Leaving directory `/usr/ports/editors/openoffice/work/mozil=
la/work/mozilla/xpcom'
> > > gmake[1]: *** [tier_9] Error 2
> > > gmake[1]: Leaving directory `/usr/ports/editors/openoffice/work/mozil=
la/work/mozilla'
> > > gmake: *** [default] Error 2
> > > *** Error code 2
> > >=20
> > > Stop in /usr/ports/editors/openoffice/work/mozilla.
> > > *** Error code 1
> > >=20
> > > Stop in /usr/ports/editors/openoffice.
> > > *** Error code 1
> > >=20
> > > Stop in /usr/ports/editors/openoffice.
> > > *** Error code 1
> > >=20
> > > Stop in /usr/ports/editors/openoffice.
> > > ** Command failed [exit code 1]: /usr/bin/script -qa /usr/home/rotan/=
tmp/portinstall49564.0 make
> > > ** Fix the problem and try again.
> > > ** The following packages were not installed or upgraded (*:skipped /=
 !:failed)
> > >         ! editors/openoffice    (unknown build error)
> > >=20
> > > <<<
> >=20
> > Either install a more recent version of perl -- ie. one of lang/perl5
> > (for perl-5.6.1) or lang/perl5.8 (for perl-5.8.1) ports, and don't
> > forget to run:
> >=20
> >     # use.perl port
> >=20
> > or install the devel/p5-File-Spec port.  The File::Spec module is a
> > standard module in more recent versions of perl than the one the
> > system provides.

> Thanks for your reply. Well I did as you
> wrote. Updated perl as well as p5-File-Spec. I used
> portupgrade -rf for this.
>=20
> But Im still having the same problem. What more would
> you suggest?

Err -- you only needed to do one of those things.  Still, it shouldn't
cause any problems having done both.

Did you run:

    # use.perl port

You need to do that, or the ports system will simply ignore the
updated perl you've installed.  Now when you type 'perl -v' it should say:

    This is perl, v5.6.1

or

    This is perl, v5.8.1

depending on which perl port you installed.  You should also be able
to run this command without errors:

    % perl -MFile::Spec -e 'print $File::Spec::VERSION, "\n";'

(which returns 0.86 on my system, but anything reasonable will do).

You should probably do a:

    # make clean

in the OpenOffice port directory and start again from scratch with the
compilation.=20

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/p5ajdtESqEQa7a0RAoq6AJ9X+ju79LHJWYvktobVyeSL/JhTJgCfZqYa
pE9/T4gm2WHmFIDGdhoWAKc=
=qJvH
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031104120803.GB33473>