From: Dan Armak <danarmak@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] standards/conventions? (LDPATH, include files)
Date: Thu, 06 Dec 2001 22:53:57 +0200 [thread overview]
Message-ID: <0GNX0027SWMIQH@mxout2.netvision.net.il> (raw)
In-Reply-To: <3C0FD964.1060606@shaw.ca>
On Thursday 06 December 2001 22:47, you wrote:
> Missed one thing...
>
> When should a file be added to env.d? The package I'm putting together,
> by default, puts its libraries in /usr/lib? I've noticed that packages
> like mozilla put their libraries in something like /usr/lib/mozilla/lib.
> I know when unpacking mozilla it stores its libraries in the lib
> subdirectory of mozilla, so would this be an indication of when to add a
> file to env.d? In other words, should I accept the default location and
> then, if the default is not the standard /usr/lib, add a file to env.d?
Generally speaking you put a file in /etc/env.d whenever you want to change a
global environment variable, mainly for extending various PATH settings. But
yuo already know that. In the case of LDPATH, use a /etc/env.d file to add
your libdir to LDPATH if it's in a non-standard location.
As to how to decide where to install: use /usr if at all possible. Use
something like /usr/lib/yourlib/lib (like mozilla does) if:
a. Your package has a non standard dir structure (i.e. ither than ./bin,
./lib, ./include...)
b. Various versions of your package are likely to be installed, and can't
live in one dir.
c. Any other good reason.
--
Dan Armak
Gentoo Linux Developer, Desktop Team
Matan, Israel
next prev parent reply other threads:[~2001-12-06 20:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-06 19:33 [gentoo-dev] standards/conventions? (LDPATH, include files) tneidt
2001-12-06 19:43 ` Dan Armak
2001-12-06 20:47 ` Zach Forrest
2001-12-06 20:53 ` Dan Armak [this message]
2001-12-06 22:05 ` Zach Forrest
2001-12-07 10:56 ` Juergen Ilse
2001-12-07 14:54 ` Tod M. Neidt
2001-12-07 21:31 ` Daniel Robbins
2001-12-07 10:10 ` Juergen Ilse
2001-12-07 14:33 ` Tod M. Neidt
2001-12-07 21:33 ` Daniel Robbins
-- strict thread matches above, loose matches on Subject: below --
2001-12-06 18:51 Zach Forrest
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0GNX0027SWMIQH@mxout2.netvision.net.il \
--to=danarmak@gentoo.org \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox