Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2000 12:49:15 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        David Banning <sky_tracker@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: installing staroffice problem
Message-ID:  <20000625124914.B233@parish>
In-Reply-To: <395516B0.38794B6B@yahoo.com>; from sky_tracker@yahoo.com on Sat, Jun 24, 2000 at 04:14:40PM -0400
References:  <3954EA26.836DE7D4@yahoo.com> <20000624185554.D233@parish> <39550035.BF2ABB7E@yahoo.com> <20000624200726.H233@parish> <395516B0.38794B6B@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 24, 2000 at 04:14:40PM -0400, David Banning wrote:
> Mark Ovens wrote:
> > 
> > On Sat, Jun 24, 2000 at 02:38:45PM -0400, David Banning wrote:
> > > Mark Ovens wrote:
> > > >
> > > > On Sat, Jun 24, 2000 at 01:04:38PM -0400, David Banning wrote:
> > > > > on installing make from ports I got the message;
> > > > > ===>  staroffice-5.1a Please manually download so51a_lnx_01.tar from
> > > > > http://www.sun.com/staroffice. Put so51a_lnx_01.tar into the directory
> > > > > /usr/ports/distfiles/staroffice5 and run make again.
> > > > >
> > > >
> > > > >From the Makefile:
> > > >
> > > >      DISTNAME=  so51a_lnx_01
> > > >      EXTRACT_SUFX=      .tar
> > > >      DISTFILES= applicat.rdb.gz libofa517li.so libsdb517li.so
> > > >
> > > > Which suggests that it's looking for the 3 distfiles, not
> > > > so51a_lnx_01.tar. What does so51a_lnx_01.tar contain? i.e.
> > > >
> > > >         tar tvf /usr/ports/distfiles/staroffice5/so51a_lnx_01.tar
> > >
> > > Got it. - now I'm futher along, but still having problems.
> > > When the script gets to this part;
> > >
> > >         @${INSTALL_DATA} ${WRKDIR}/applicat.rdb ${PREFIX}/Office51/bin
> > >         @${INSTALL_DATA} ${_DISTDIR}/libofa517li.so
> > > ${PREFIX}/Office51/lib
> > >         @${INSTALL_DATA} ${_DISTDIR}/libsdb517li.so
> > > ${PREFIX}/Office51/lib
> > >         @${CHMOD} 100755 ${PREFIX}/Office51/lib/libofa517li.so
> > >         @${CHMOD} 100755 ${PREFIX}/Office51/lib/libsdb517li.so
> > >         @${PATCH} -s ${PREFIX}/Office51/bin/setup
> > > ${FILESDIR}/setup.patch
> > >         @${PATCH} -s ${PREFIX}/Office51/bin/soffice
> > > ${FILESDIR}/soffice.patch
> > >         @${PERL} -pi -e 's|DefaultDestPath =
> > > "${PREFIX}/Office51";|DefaultDestPa
> > > th = "~/Office51";|' ${PREFIX}/Office51/instdb.ins
> > >
> > >
> > > It gives be errors saying directory /usr/local/Office51 doesn't exist -
> > > so I made one.
> > > Then it gives me an error saying /usr/local/Office51/bin doesn't exist -
> > > so I made one.
> > > same for /usr/local/Office51/lib
> > >
> > > eventually it wants to patch the files setup and soffice.  I found a
> > > setup in
> > > the work directory of the staroffice5 installation but there was an
> > > error when it
> > > tried to patch - the soffice file is not anywhere on my system.
> > >
> > > Now, I know now I'm lost.
> > >
> > 
> > Hmm, not sure exactly what's gone wrong; the @${INSTALL_DATA} lines
> > *should* have created /usr/local/Office51/ etc. You are doing this as
> > root, aren't you?. Also you should be running ``make install'' not
> > just ``make''.
> > 
> > Try, as root, ``make clean install'' and if it still falls over then
> > post the output - all of it if possible.
> 
> 		-- Ed Howe

Who's he ;-)

> 
> OK that's what I've done
> actually - looking at your memo.. I did a make clean not a make clean
> install
> Hope that's OK.
> 

Yes, you can specify multiple targets and make(1) processes them in
the order listed, so ``make clean install'' is the same as ``make
clean'' followed by ``make install''

> On the root thing - my X session is no a root X session - so I just used
> "su"
> to get root permissions
> here is make, and make install;
> 
> make;
> ===>  Extracting for staroffice-5.1a
> >> Checksum OK for staroffice5/applicat.rdb.gz.
> >> Checksum OK for staroffice5/libofa517li.so.
> >> Checksum OK for staroffice5/libsdb517li.so.
> >> Checksum OK for staroffice5/so51a_lnx_01.tar.
> ===>   staroffice-5.1a depends on executable: unzip - found
> Archive: 
> /usr/ports/editors/staroffice5/work/so51inst/office51/setup.zip
>   inflating: /usr/ports/editors/staroffice5/work/tmp/vcl51701.res
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libjvm517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/jvm51701.res
>   inflating: /usr/ports/editors/staroffice5/work/tmp/ende.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/set51701.res
>   inflating: /usr/ports/editors/staroffice5/work/tmp/svt51701.res
>   inflating: /usr/ports/editors/staroffice5/work/tmp/sfx51701.res
>   inflating: /usr/ports/editors/staroffice5/work/tmp/setup.bin
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libcnt517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libosl517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/librtl517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libsb517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libsot517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libso517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libsvt517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libtl517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libuno517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libusr517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libvcl517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libvos517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/allgemein.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/base.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/calc.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/desktop.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/register.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/schedule.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/writer.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libzip517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libone517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/impress.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/draw.bmp
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libj517li_g.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libsex517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libtk517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libreg517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libset517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/libasv517li.so
>   inflating: /usr/ports/editors/staroffice5/work/tmp/asv51701.res
>   inflating: /usr/ports/editors/staroffice5/work/tmp/installs.scr
>   inflating: /usr/ports/editors/staroffice5/work/tmp/proptool.scr
> ===>  Patching for staroffice-5.1a
> ===>  Configuring for staroffice-5.1a
> 
> make install;
> ===>  Installing for staroffice-5.1a
> ===>   staroffice-5.1a depends on file:
> /compat/linux/usr/i486-linux-libc5/lib/l
> ibc.so.5 - found
> StarOffice 5.1a (Sun Version) Personal Install How-To
> 
> Written By:
> Darren Wiebe
> dkwiebe@hagenhomes.com
> 
> Make install will preform a network installation of StarOffice 5.1a.
> Once that is done, run make install-user, as the user you usually login
> as and do a standard workstation install.  It will now be ready to use.
> 
> Good Luck
> 
> *** Error code 1 (ignored)
> install: /usr/local/Office51/bin: No such file or directory

Well, now I'm stumped. It appears that install(1) is being run without
the ``-d'' option (which creates any necessary directories). The only
thing I can suggest is adding ``-d'' to any lines starting
``@${INSTALL_DATA}'' thus:

    @${INSTALL_DATA} -d ${WRKDIR}/applicat.rdb ${PREFIX}/Office51/bin

${INSTALL_DATA} expands to

    install -c -o root -g wheel -m 755

If this doesn't work, and no-one else jumps in with the answer, I
suggest you post a question to -ports. Include the full output of
``make install'' as per your last message.

Sorry I couldn't be more help.

> *** Error code 71
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> 
> also;
> ----------------------------------
> in /usr permission for local is;
> drwxr-xr-x  16 root   wheel   512 Jun 24 16:00 local
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
  If I buy a copy of WinDelete, and it doesn't delete Windows,
  am I entitled to my money back?
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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