linux_base-fc4 installing in the wrong path

Boris Samorodov bsam at ipt.ru
Fri Jun 23 13:37:29 UTC 2006


On Fri, 23 Jun 2006 17:30:17 +0400 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).

Oops! This is a base port and doesn't use bsd.linux-rpm.mk. And we
really do install and then do the branding. Seems that it should be
vice versa to not allow someone to shoot the foot.


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider


More information about the freebsd-emulation mailing list