Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 14:55:53 +0930 (CST)
From:      "Greg 'groggy' Lehey" <grog@lemis.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42978: Insufficient installation instructions for StarOffice.
Message-ID:  <20020920052553.41CEB81339@wantadilla.lemis.com>

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

>Number:         42978
>Category:       ports
>Synopsis:       Insufficient installation instructions for StarOffice.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 19 22:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg 'groggy' Lehey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
LEMIS (SA) Pty Ltd
>Environment:
System: FreeBSD wantadilla.lemis.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Dec 31 19:08:24 CST 2001 grog@monorchid.lemis.com:/src/FreeBSD/5-CURRENT-MONORCHID/src/sys/i386/compile/MONORCHID i386

	Not release-dependent.

>Description:
	Insufficient installation instructions for StarOffice.
 
>How-To-Repeat:
	1.   Mount StarOffice release CD-ROM on /cdrom
	2.   cd /usr/ports/editors/staroffice52
	     make install
	3.   Get the message:

	     Staroffice setup needs a running procfs and linprocfs,
	     which may not be activated on your system. Please read the
	     procfs(5) and linprocfs(5) manpages and ensure the
	     the following lines are in /etc/fstab:

	     linproc /compat/linux/proc linprocfs rw 0 0
	     proc /proc procfs rw 0 0

	4.   Note that /proc is already mounted, and mount linprocfs.
	5.   make install
	6.   Watch the port go out over the net to download an enormous
	     binary.  Abort the build.
	7.   Read Makefile, note absence of comments.
	8.   Read make rules, discover they depend on WITH_CDROM.
	9.   make install -DWITH_CDROM.  Wander off and let it do its
	     thing, missing the messages:

	     You will very shortly have finished  a network install of StarOffice 5.2.
	     Once that is done exit X11 and run it again as the user that you usually use.
	     Then run "make install-user" and do a standard workstation install.
	     Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.

	10.  Look at the end of the installation, wonder how to run the
	     program.
	11.  Search the hierarchy /usr/local/office52 and find about
	     120 executables.  By chance find
	     /usr/local/office52/programs/soffice and run it.
	
	I only found the messages from step 9 because I keep a log of
	all builds.  I think that other things can be improved as
	well: you don't normally need to stop and restart X in order
	to install StarOffice.  The installation works fine if you
	perform the installation fro a su'd xterm, which is the normal
	case.

>Fix:

--- Makefile    6 Aug 2002 00:08:49 -0000       1.39
+++ Makefile    20 Sep 2002 05:18:11 -0000
@@ -53,16 +53,17 @@
 PROCFS!=       /sbin/mount | /usr/bin/grep ^procfs | ${AWK} '{print $1}'
 
 pre-fetch:
-.if ${LINPROCFS} && ${PROCFS}
+.if ${PROCFS}
        @${ECHO}
-       @${ECHO} Check if procfs and linprocfs is running: YES
+       @${ECHO} Check if procfs is running: YES
 .else
        @${ECHO} -----------------------------------------------------------
        @${ECHO}
-       @${ECHO} Staroffice setup needs a running procfs and linprocfs,
-       @${ECHO} which may not be activated on your system. Please read the
-       @${ECHO} procfs\(5\) and linprocfs\(5\) manpages and ensure the
-       @${ECHO} the following lines are in /etc/fstab:
+       @${ECHO} Staroffice setup needs a running procfs and linprocfs.
+       @${ECHO} It seems that procfs is not mounted on your system.  Please
+       @${ECHO} read the procfs\(5\) and linprocfs\(5\) manpages and ensure the
+       @${ECHO} the following lines are in /etc/fstab, and that the file 
+       @${ECHO} systems are mounted:
        @${ECHO}
        @${ECHO} linproc /compat/linux/proc linprocfs rw 0 0
        @${ECHO} proc /proc procfs rw 0 0
@@ -70,15 +71,31 @@
        @${ECHO} -----------------------------------------------------------
        @${FALSE}
 .endif
+.if ${LINPROCFS} && ${PROCFS}
+       @${ECHO} Check if linprocfs is running: YES
+.else
+       @${ECHO} -----------------------------------------------------------
+       @${ECHO}
+       @${ECHO} Staroffice setup needs a running procfs and linprocfs.
+       @${ECHO} It seems that linprocfs is not mounted on your system. 
+       @${ECHO} Please read the linprocfs\(5\) manpage and ensure the
+       @${ECHO} the following line is in /etc/fstab, and that the file 
+       @${ECHO} system is mounted:
+       @${ECHO}
+       @${ECHO} linproc        /compat/linux/proc      linprocfs       rw 0 0
+       @${ECHO}
+       @${ECHO} -----------------------------------------------------------
+       @${FALSE}
+.endif
 .if ${OSVERSION} < 410000
        @${ECHO}
        @${ECHO} OS-VERSION ${OSVERSION}
        @${ECHO}
        @${ECHO} Staroffice depends on a scripting fix for
        @${ECHO} /usr/src/sys/i386/linux/linux_sysvec.c
-       @${ECHO} \(revision 1.55.2.1 or higher\)
        @${ECHO}
-       @${ECHO} Please upgrade to FreeBSD 4.1
+       @${ECHO} Please upgrade to FreeBSD 4.1 or later.
        @${ECHO}
        @${FALSE}
 .endif
@@ -104,6 +121,20 @@
        @${ECHO}
        @${FALSE}
 .endif
+.else
+.if exists(/cdrom/linux/office52/setup)
+       @${ECHO}
+       @${ECHO} It seems that you have a Sun StarOffice 5.2 CDROM
+       @${ECHO} mounted on ${CD_MOUNTPT}.  If you wish to install from
+       @${ECHO} this CD-ROM, please run 
+       @${ECHO}
+       @${ECHO}        make -DWITH_CDROM
+       @${ECHO}
+       @${ECHO} Otherwise please unmount the CD-ROM.
+       @${ECHO}
+       @${FALSE}
+
+.endif
 .endif
 
 do-extract:
@@ -165,7 +196,7 @@
        @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
        @if [ -f ${PREFIX}/office52/program/setup ]; then \
                ${ECHO} ; \
-               ${ECHO} Ignore the error-message. StarOffice5.2 has been installed ; \
+               ${ECHO} Ignore the error message. StarOffice5.2 has been installed ; \
                ${ECHO} successfully on your system. ; \
                ${ECHO} ; \
        else \
@@ -188,9 +219,16 @@
        @${SED} -e 's%DefaultDestPath = "${PREFIX}/office52%DefaultDestPath = "office52%' \
            < ${INSTDB.INS}.orig > ${INSTDB.INS}
        @${RM} ${INSTDB.INS}.orig
+       @${ECHO} StarOffice has been installed successfully.  Prior to use,
+       @${ECHO} each user must change to this directory and run 'make install-user'.
 
 install-user:
        @-SAL_IGNOREXERRORS=1 PATH="/bin:${PATH}" ${LINUXBASE}/bin/sh -c \
                ${PREFIX}/office52/program/setup
+       @${ECHO} StarOffice has been installed successfully.  In order to use
+       @${ECHO} it, add the path ${HOME}/office52 to your PATH environment
+       @${ECHO} variable, and start the program with
+       @${ECHO} 
+       @${ECHO} '      ' soffice \&
 
 .include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/editors/staroffice52/pkg-descr,v
retrieving revision 1.2
diff -w -u -r1.2 pkg-descr
--- pkg-descr   24 Aug 2000 19:27:10 -0000      1.2
+++ pkg-descr   20 Sep 2002 01:42:15 -0000
@@ -2,3 +2,20 @@
 a word processor, spreadsheet, graphics and presentation, image
 manipulation, and charting.  StarOffice offers the ability to read and
 write Microsoft Office files.
+
+Installation instructions:
+
+In order to install StarOffice, you will require procfs and linprocfs.
+Your /etc/fstab should contain the following lines:
+
+  linproc      /compat/linux/proc      linprocfs       rw 0 0
+  proc         /proc                   procfs          rw 0 0
+
+Ensure that both file systems are mounted.
+
+If you have StarOffice on CD-ROM, mount it on /cdrom and run
+
+  make install -DWITH_CDROM
+
+The executable is called /usr/local/bin/soffice.  The documentation is
+accessible from the StarOffice environment via the '?' icon.
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/editors/staroffice52/pkg-message,v
retrieving revision 1.5
diff -w -u -r1.5 pkg-message
--- pkg-message 24 Aug 2000 19:27:10 -0000      1.5
+++ pkg-message 20 Sep 2002 05:23:03 -0000
@@ -3,10 +3,10 @@
 Written by:      Darren Wiebe <dkwiebe@hagenhomes.com>
                 and Martin Blapp <mb@imp.ch>
 
-You will very shortly have finished  a network install of StarOffice 5.2.
-Once that is done exit X11 and run it again as the user that you usually use.
-Then run "make install-user" and do a standard workstation install.
-Change the install path to $HOME/office52. Then add $HOME/office52/ to your path.
+You will very shortly have finished a network install of StarOffice
+5.2.  Next, each user must run "make install-user" in this directory
+and do a standard workstation install.  Change the install path to
+$HOME/office52. Then add $HOME/office52/ to your path.
 
 It will now be ready to use.
 
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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