Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2001 17:18:09 -0700
From:      Dan Holliman <danh@gelatinous.com>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: problems with linux_compat port
Message-ID:  <20010806171809.S58918@gelatinous.com>
In-Reply-To: <20010806170352.C1930@gauss.cup.hp.com>; from marcel@cup.hp.com on Mon, Aug 06, 2001 at 05:03:52PM -0700
References:  <20010806225140.72222.qmail@cube.gelatinous.com> <20010806160413.A1930@gauss.cup.hp.com> <20010806164154.Q58918@gelatinous.com> <20010806170352.C1930@gauss.cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010806171809.S58918>