From owner-freebsd-ports Mon Aug 6 17:57:25 2001 Delivered-To: freebsd-ports@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 8395437B403 for ; Mon, 6 Aug 2001 17:57:22 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id 1E643113E; Mon, 6 Aug 2001 17:57:22 -0700 (PDT) Received: from gauss.cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id RAA11860; Mon, 6 Aug 2001 17:57:22 -0700 (PDT) Received: (from marcel@localhost) by gauss.cup.hp.com (8.11.3/8.11.1) id f770vLu02321; Mon, 6 Aug 2001 17:57:21 -0700 (PDT) (envelope-from marcel) Date: Mon, 6 Aug 2001 17:57:21 -0700 From: Marcel Moolenaar To: Dan Holliman Cc: freebsd-ports@freebsd.org Subject: Re: problems with linux_compat port Message-ID: <20010806175721.A2306@gauss.cup.hp.com> References: <20010806225140.72222.qmail@cube.gelatinous.com> <20010806160413.A1930@gauss.cup.hp.com> <20010806164154.Q58918@gelatinous.com> <20010806170352.C1930@gauss.cup.hp.com> <20010806171809.S58918@gelatinous.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010806171809.S58918@gelatinous.com>; from danh@gelatinous.com on Mon, Aug 06, 2001 at 05:18:09PM -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 On Mon, Aug 06, 2001 at 05:18:09PM -0700, Dan Holliman wrote: > > > > 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 Not to worry. There are actually two scripts shown: the postinstall script and the postuninstall script. Everything that relates to *info* is postuninstall and unrelated... What I want to know is if /compat/linux/sbin/ldconfig runs without errors. HTH, -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message