Date: Fri, 23 Jun 2006 15:34:19 +0200 From: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= <gabor@FreeBSD.org> To: Boris Samorodov <bsam@ipt.ru> Cc: freebsd-emulation@freebsd.org Subject: Re: linux_base-fc4 installing in the wrong path Message-ID: <449BEDDB.5000207@FreeBSD.org> In-Reply-To: <60042918@srv.sem.ipt.ru> References: <200606230924.48350.consumidor@mundinho.com.br> <449BE4FC.5040700@FreeBSD.org> <60042918@srv.sem.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov wrote:
> On Fri, 23 Jun 2006 14:56:28 +0200 Gábor Kövesdán wrote:
>
>
>> consumidor wrote:
>>
>>> gentlemen:
>>>
>>> my port of linux_base-fc4 is installing all binaries, libs etc in
>>> /usr/local. at the end of the install it "brands" all my binaries in
>>>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1]
>
>>> /usr/local/bin and /usr/local/sbin, so my applications become
>>> unusable. It also installs libc.so.6 on /usr/local/lib, breaking a
>>> lot of stuff. I googled for hours, to no avail. Would you please
>>> help me on getting this done right? I mean, I presume it should be
>>> installed on /usr/compat/linux
>>>
>>>
>> It installs right except when you override PREFIX or LINUXBASE. Make
>> sure you don't have anything wrong in /etc/make.conf.
>>
>
> That's true. And [1] shouldn't happen anyway. We do branding at WRKSRC
> and only then do the installation (for more information look at
> bsd.linux-rpm.mk).
>
>
No, branding is done in do-install, see the Makefile for fc4:
@${FIND} ${PREFIX}/bin ${PREFIX}/sbin/ ${PREFIX}/usr/bin \
${PREFIX}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \
| ${GREP} ELF | ${CUT} -d : -f 1 \
| ${XARGS} ${BRANDELF} -t Linux
Gabor Kovesdan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?449BEDDB.5000207>
