OpenOffice build
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue Nov 4 04:08:20 PST 2003
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,
> > >
> > > Im trying to install openoffice and am getting
> > > the folling:
> > >
> > > >>>
> > > ../../dist/bin/xpidl -m typelib -w -I ../../dist/idl -I. -o _xpidlgen/nsrootidl nsrootidl.idl
> > > ../../dist/bin/xpt_link _xpidlgen/xpcom_base.xpt _xpidlgen/nsIErrorService.xpt _xpidlgen/nsIConsoleService.xpt _xpidlgen/nsIConsoleMessage.xpt _xpidlgen/nsIConsoleListener.xpt _xpidlgen/nsIException.xpt _xpidlgen/nsIExceptionService.xpt _xpidlgen/nsIInterfaceRequestor.xpt _xpidlgen/nsIProgrammingLanguage.xpt _xpidlgen/nsISupports.xpt _xpidlgen/nsIWeakReference.xpt _xpidlgen/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/perl5/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/FindBin.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/mozilla/work/mozilla/xpcom/base'
> > > gmake[2]: *** [libs] Error 2
> > > gmake[2]: Leaving directory `/usr/ports/editors/openoffice/work/mozilla/work/mozilla/xpcom'
> > > gmake[1]: *** [tier_9] Error 2
> > > gmake[1]: Leaving directory `/usr/ports/editors/openoffice/work/mozilla/work/mozilla'
> > > gmake: *** [default] Error 2
> > > *** Error code 2
> > >
> > > Stop in /usr/ports/editors/openoffice/work/mozilla.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/editors/openoffice.
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/editors/openoffice.
> > > *** Error code 1
> > >
> > > 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)
> > >
> > > <<<
> >
> > 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:
> >
> > # use.perl port
> >
> > 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.
>
> 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.
Cheers,
Matthew
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031104/2a7213ae/attachment.bin
More information about the freebsd-questions
mailing list