Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Dan Armak <danarmak@g.o>
Subject: Why the FHS can't be followed
Date: Tue, 02 Jul 2002 21:41:35 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 02 July 2002 05:38, Collins wrote:
> OK, that much is clear.  So how do you resolve /usr/kde/2 ... with the
> prohibition you've cited?
>
> "Large software packages must not use a direct subdirectory under the
> /usr hierarchy."

<sorry, I sent a personal reply to Collins before realizing I should have used 
reply-to-list>

If KDE lives directly in /usr (i.e. binaries in /usr/bin etc.) then you cannot 
have more than one version of kde installed at a time. More than that, you 
cannot have more than one version of kdelibs at a time, so if you have kde3 
in /usr you can't run kde2 apps. And some people need to do just that because 
not all kde2 apps have been ported to kde3 yet.

Last autumn we tried to make KDE live in /usr with just kdelibs living 
separately in /usr/lib/kde/2,3. I spent 3 months trying to make it work to 
keep the fhs guys happy and came to the conclusion it just isn't meant to be. 
It may be possible, but it's very ugly.

This is mainly because some KDE apps work on the assumption that they are 
installed in the same path as the kdelibs they're linked against. Koffice for 
one. There are ways around that but they don't always work. Fex. one of the 
things that never worked was noatun. When I askd the kde devs for help on how 
to make noatun work when installed outside the kdelibs directory they 
explicitly told me: it's not supposed to be done (in this case, couldn't be 
without playing with symlniks - ugh). KDE needs to live in its own dir 
outside the standard path. That's what $KDEDIR[S] is for and if we don't do 
it that way we'll come to no good.

And since we've come to the conclusion we can't put it in /opt, /usr/kde/2,3 
(or equivalent) is the only option left. The fhs doesn't provide for having 
more than one version of a package installed at a time but we have to do it 
with qt2/3 and kdelibs2/3 (and gnome 1.4/2). I prefer that option over 100% 
FHS compliance.

End rant mode. I guess I just had leftover frustration stored from the time I 
actually tried to make this work. Maybe we can put a version of this in a FAQ 
somewhere because this isn't the first time this question has been asked. 
Maybe if that fhs guy saw it he'd think twice before blaming us. The fhs just 
doesn't accomodate certain things.

- - -- 
Dan Armak
Gentoo Linux developer (KDE)
Matan, Israel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IfPfUI2RQ41fiVERAn+oAJ98b5HYIcdJeo8y3c8oAno7ePaE9wCffeuH
r/z14kJYKb1TlCC/zDo1Zrc=
=gV/d
-----END PGP SIGNATURE-----


Replies:
Re: Why the FHS can't be followed
-- Terje Kvernes
Re: Why the FHS can't be followed
-- Jean-Michel Smith
References:
gentoo & fhs
-- Collins
Re: gentoo & fhs
-- Spider
Re: gentoo & fhs
-- Collins
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: [gentoo-dev] gentoo & fhs
Next by thread:
Re: Why the FHS can't be followed
Previous by date:
gcc-2.95.3-r7 failing?
Next by date:
Re: Would like to talk to winex ebuild matainer


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.