From owner-freebsd-ports Mon Aug 6 17:18:12 2001 Delivered-To: freebsd-ports@freebsd.org Received: from cube.gelatinous.com (cube.gelatinous.com [207.82.194.150]) by hub.freebsd.org (Postfix) with SMTP id 146B337B401 for ; Mon, 6 Aug 2001 17:18:10 -0700 (PDT) (envelope-from danh@gelatinous.com) Received: (qmail 76073 invoked by uid 1005); 7 Aug 2001 00:18:09 -0000 Date: Mon, 6 Aug 2001 17:18:09 -0700 From: Dan Holliman To: Marcel Moolenaar Cc: freebsd-ports@freebsd.org Subject: Re: problems with linux_compat port Message-ID: <20010806171809.S58918@gelatinous.com> References: <20010806225140.72222.qmail@cube.gelatinous.com> <20010806160413.A1930@gauss.cup.hp.com> <20010806164154.Q58918@gelatinous.com> <20010806170352.C1930@gauss.cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010806170352.C1930@gauss.cup.hp.com>; from marcel@cup.hp.com on Mon, Aug 06, 2001 at 05:03:52PM -0700 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 I'm using FreeBSD 4.3-stable, i cvsuped 2 weeks ago. > On Mon, Aug 06, 2001 at 04:41:54PM -0700, Dan Holliman wrote: > > On Mon, Aug 06, 2001 at 04:04:13PM -0700, Marcel Moolenaar wrote: > > > On Mon, Aug 06, 2001 at 03:51:40PM -0700, danh@gelatinous.com wrote: > > > > make works fine, make install in /usr/ports/emulators/linux_compat blows > > > > up, can someone help me out with why?: > > > This normally happens when you upgrade or install into a non-empty > > > /compat/linux. If that's the case, removing or renaming renaming > > > /compat/linux should do the trick. > > i deleted /compat/linux > > i re-cvsup-ed > > The only thing the postinstall script does is run /sbin/ldconfig > (do "rpm -q -p libtermcap-2.0.8-18.i386.rpm --scripts" to show > the scripts). Since we're talking Linux binaries here, it's > actually /compat/linux/sbin/ldconfig. The script very likely > fails because ldconfig fails. Try running that by hand. I get this: ---- bash-2.03# rpm -q -p /usr/ports/distfiles/rpm/libtermcap-2.0.8-18.i386.rpm --scripts postinstall program: /sbin/ldconfig postuninstall script (through /bin/sh): if [ $1 = 0 ]; then /sbin/install-info --delete \ --section="Libraries" --entry="* Termcap: (termcap). The GNU termcap library." \ --info-dir=/usr/info /usr/info/termcap.info.gz fi /sbin/ldconfig ----- there is no /usr/info or /usr/info/termcap.info.gz, but there IS /usr/compat/linux/usr/info and /usr/compat/linux/usr/info what should i do, should i make symlinks? Is this behavior I can change in the Makefile, or will I end up having to recompile the rpm? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message