From owner-freebsd-ports Tue Oct 30 1:17:21 2001 Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (sentinel.office1.bg [217.75.129.210]) by hub.freebsd.org (Postfix) with SMTP id 262EB37B639 for ; Tue, 30 Oct 2001 01:11:32 -0800 (PST) Received: (qmail 4048 invoked by uid 1000); 30 Oct 2001 09:11:26 -0000 Date: Tue, 30 Oct 2001 11:11:26 +0200 From: Peter Pentchev To: Nevermind Cc: Martin Blapp , freebsd-ports@FreeBSD.ORG Subject: Re: ports/31581: editors/staroffice52 cannot be installed on 4.4-STABLE Message-ID: <20011030111126.C622@straylight.oblivion.bg> Mail-Followup-To: Nevermind , Martin Blapp , freebsd-ports@FreeBSD.ORG References: <20011029140214.A60426@nevermind.kiev.ua> <20011029231809.A53129-100000@levais.imp.ch> <20011030105608.C5835@nevermind.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011030105608.C5835@nevermind.kiev.ua>; from never@nevermind.kiev.ua on Tue, Oct 30, 2001 at 10:56:08AM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 30, 2001 at 10:56:08AM +0200, Nevermind wrote: > Hello, Martin Blapp! > > On Mon, Oct 29, 2001 at 11:21:14PM +0100, you wrote: > > > > When I'm typing make install out of X11, it says 'cannot open display'. > > > > > Then run "make install-user" and do a standard workstation install > > > > Aehm. That means you've never run the installation program ! The > > staroffice installation has a GUI. > > > > So allow with "xhost +localhost" that the display can open on your > > user X-Desktop, and then set the DISPLAY Variable like > > "export DISPLAY=localhost:0.0". > > > > The you will see the installation and a userinstallation will also > > find the setup binary ... > If I understood correct, I should do the following steps: > cd /usr/ports/editors/staroffice52 > 1: make > 2: make install > 3: > 4: xhost +localhost > 5: export DISPLAY=localhost:0.0 > 6: make install-user > 7: Not really. From a look at the staroffice52 port Makefile, it seems that you need something more like: Out of X: 1. make 2. xhost +localhost 3. export DISPLAY=localhost:0.0 4. make install 5. make install-user Or in X: 1. make 2. make install 3. make install-user The installation procedure, the one invoked in the 'install' target, attempts to execute a StarOffice installation binary, which wants to run under X. Thus, you either have to do all the making and installing within X, or you have to set your DISPLAY and allow connections from localhost before running 'make install'. G'luck, Peter -- I am jealous of the first word in this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message