From owner-freebsd-openoffice@FreeBSD.ORG Fri Oct 22 15:44:40 2004 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B998216A4CE for ; Fri, 22 Oct 2004 15:44:40 +0000 (GMT) Received: from vogon.ccgis.de (vogon.ccgis.de [212.79.172.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DE2743D2F for ; Fri, 22 Oct 2004 15:44:40 +0000 (GMT) (envelope-from bt@ccgis.de) Received: from amavis by vogon.ccgis.de with virus-scanned (Exim 3.36 #1 (Debian)) id 1CL1hN-0005JR-00 for ; Fri, 22 Oct 2004 17:51:25 +0200 Received: from center.sz ([192.168.1.20] helo=center.shared) by vogon.ccgis.de with esmtp (Exim 3.36 #1 (Debian)) id 1CL1gu-0005It-00; Fri, 22 Oct 2004 17:50:56 +0200 Received: from [192.168.2.109] (helo=[127.0.0.1]) by center.shared with esmtp (Exim 3.36 #1 (Debian)) id 1CL1XZ-0002Jn-00; Fri, 22 Oct 2004 17:41:17 +0200 Message-ID: <41792B7B.9070504@ccgis.de> Date: Fri, 22 Oct 2004 17:47:07 +0200 From: Benjamin Thelen User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Don Lewis References: <200410212026.i9LKQmll004920@gw.catspoiler.org> In-Reply-To: <200410212026.i9LKQmll004920@gw.catspoiler.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: AMaViS-ng at Geo-Consortium Bonn cc: freebsd-openoffice@FreeBSD.org Subject: Re: Install error OOo-1.1.3 on 4.10p3 X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 15:44:40 -0000 Don Lewis wrote: > On 21 Oct, Benjamin Thelen wrote: > >>Hi Don, >>I cut this posting, as it got a little complex. >> >> >> >>>On 21 Oct, Benjamin Thelen wrote: >> >>... >>snip >>... >> >>>Some parts of the OpenOffice build want to access an X11 server. If you >> >>are running the build in a terminal window under X11, $DISPLAY should be >>automatically set. If $DISPLAY isn't set, the Makefile for the port >>will start Xvfb, which is an X11 server for a virtual frame buffer. In >>my case, $DISPLAY is set because I'm doing the build in an xterm window. >> >>I understand this. I'm building OOo in a xterm under X11 at the moment. >>I'm used to do the most without X, because up to now I'm running FreeBSD >>just on server machines. >> >>Getting OOo to run is part of my project "FreeBSD for desktop (and >>notebook)" :-)! I also want to change at home, but therfore I really need >>OOo. >> >>... >>snip >>... >> >> >> >>>>dmake has been successfully built >>> >>>Your build appears to be terminating way too early. I see the matching >> >>output about 21% of the way through my successful portupgrade run. >> >> >>Wow, that is interesting! No surprise that installing OOo fails. But why >>does building terminate so early? There is no error message. I could maybe >>pipe the building output into a file and check... > > > I'm not able to reproduce the problem you're seeing by unsetting > $DISPLAY. Can you try removing the leading @'s in this section of the > Makefile so that we can see where things are dying? > > .if !defined(DISPLAY) > # > # This is a UGLY hack to not have to specify a X-Display. > # > ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO > } $$! > ${WRKDIR}/.Xvfb.pid > @sleep 5 > .endif > @cd ${WRKSRC} ; PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./boot > strap > .if defined(L10NHELP) || defined(ALL_LOCALIZED_LANGS) > @${MKDIR} ${WRKSRC}/solver/${BUILD_NR}/unxfbsd.pro/pck > @${CP} ${WRKDIR}/L10NHELP/*.zip ${WRKSRC}/solver/${BUILD_NR}/unxfbsd.pro > /pck > .endif > .if !defined(DISPLAY) > @cd ${WRKSRC} ; DISPLAY=${DISPLAYHACK} PATH="${PATH}:${LOCALBASE}/bin:${ > LOCALBASE}/sbin" ; \ > ${TCSH} -c 'source FreeBSDEnv.Set ; unsetenv TOP ; ${BUILD}' > @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill > @${RM} -f ${WRKDIR}/.Xvfb.pid > .else > @cd ${WRKSRC} ; DISPLAY=${DISPLAY} PATH="${PATH}:${LOCALBASE}/bin:${LOCA > LBASE}/sbin" ; \ > ${TCSH} -c 'source FreeBSDEnv.Set ; unsetenv TOP ; ${BUILD}' > .endif > > > After editing the Makefile, run "make" in the port directory and capture > the stdout and stderr to a file. Hi Don, sorry, took me a while. Just finished compiling with changed Makefile and 'make >& logfile'. I skimmed through the log file and had the impression, that most of the staff is from building mozilla. So I started again "with make WITHOUT_MOZILLA=YES >& logfile" and what a surprise, bulding of OOo over was even much faster! I would send both attachments (zipped 7kb/338kb) to you directly, to not send this huge output to the list, if it's ok for you!? But I'll do that only if you tell me that it's ok for you! I hope you'll see something that leads the way to a solution! Thank's for your help. I'm just compiling OOo on another machine (PIII-1GHz) to check back, but that will take a while, because we're just on compiling java. Ben > > Base on what you've posted, it looks like ./bootstrap is getting run, > but ${BUILD} is not. > >