From owner-freebsd-openoffice@FreeBSD.ORG Wed Oct 20 17:30:16 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 9FB6416A4CE for ; Wed, 20 Oct 2004 17:30:16 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 093B243D31 for ; Wed, 20 Oct 2004 17:30:16 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id i9KHU3pj001657; Wed, 20 Oct 2004 10:30:07 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200410201730.i9KHU3pj001657@gw.catspoiler.org> Date: Wed, 20 Oct 2004 10:30:03 -0700 (PDT) From: Don Lewis To: bt@ccgis.de In-Reply-To: <41768B54.9090002@ccgis.de> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii 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: Wed, 20 Oct 2004 17:30:16 -0000 On 20 Oct, Benjamin Thelen wrote: > Hi lists, > > I am now really stumped and appreciate you for your assistance. I had > this very error already with OOo-1.1.2 on three 4.10p2 FreeBSD boxes > in the end of August, posted it to the list, but got no answer. I got > along by installing a 1.1.0 package and hoped that this error will be > solved in future ports. > > > Compiling seems alright. This error-message occurs right after "make > install". > > # > # UGLY hack to not have to specify a X-Display. > # > /usr/X11R6/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & echo > $! > /data/ports/editors/openoffice-1.1/work/.Xvfb.pid > cd: can't cd to > /data/ports/editors/openoffice-1.1/work/OOo_1.1.3_src/instsetoo/ > *.pro/01/normal/ > *** Error code 2 > Stop in /data/ports/editors/openoffice-1.1. No problems here building and installing on 4.10-STABLE, though in my case $DISPLAY is set so my build didn't use Xvfb. That shouldn't matter, though because the directory passed to the cd command appears to be the same in either case: ${WRKSRC}/instsetoo/*.pro/${LANG_EXT}/normal/ I wonder if you ran into some sort of build problem that didn't get caught. The end of the build should look like: Replacing ${PRODUCTNAME} with OpenOffice.org Replacing ${PRODUCTVERSION} with 1.1.3 time needed: 0:1:0 WARNING! Project(s): gtk not found and couldn't be built. Correct build.lsts. Do you still have the work directory around? If so, can you look under /data/ports/editors/openoffice-1.1/work/OOo_1.1.3_src/instsetoo/ to see what is missing? It looks like there is a problem on the next line of the Makefile, though. do-install: .if !defined(DISPLAY) # # 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 @cd ${WRKSRC}/instsetoo/*.pro/${LANG_EXT}/normal/ ; \ ===> SAL_IGNOREXERRORS=1 TEMP=${WRKDIR} DISPLAY=${DISPLAY} ./install --prefix =${PREFIX} @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill @${RM} -f ${WRKDIR}/.Xvfb.pid I think "DISPLAY=${DISPLAY}" is incorrect because DISPLAY is not defined. Judging by another place in the Makefile where Xvfb is used, I think this should be "DISPLAY=${DISPLAYHACK}".