#313 closed defect (fixed)
Fix up Gawk install directory
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
From: Erika Pacholleck <pchllck@…> To: lfs-dev@… Subject: gawk Date: Fri, 15 Mar 2002 17:59:30 +0100
There needs to be an FHS note as far as I see:
- /usr/libexec is not compliant
To accept the shared data in /usr/share/awk is not a good choice as I see it. The general name awk should to my view not be used where so many awk versions are "on the market", what would for instance have happened if (assumption) our previous mawk would have used the same way of just putting shared data in awk under mawk -- we would have a mixture of two different programs under a general name where at the same time in /usr/bin we have a fixed link awk pointing to one of them. Short: I think /usr/share/gawk is cleaner due to FHS general line every package gets its own dir. I do this before configure: cd awklib && sed \
-e 'datadir/s/awk/gawk/' \ -e 'libexedir/s/\/awk' \ Makefile.in > Makefile.in~ \ && mv Makefile.in~ Makefile.in \
&& cd .. then configure + option --libexecdir=/usr/sbin (I know you prefer bin) and nothing for datas, so I end up in /usr/sbin/{gr,pw}cat /usr/share/gawk/assert.awk ... round.awk
I'm not sure yet if I want it to be a seperate FHS note, or make it part of the mandatory installation instructions. I don't like /usr/share/awk for the same reasons and it makes a lot more sense to just change it in the main instructions and make gawk a bit more sane.
Before we sed let's doublecheck we can't just pass a configure option (from the looks of it we can't but double-check anyways, by the time we get around this a new gawk may be out for all we know).
Change History (3)
comment:1 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | Fix up Gawk install directory → Fix up Gawk install directory |
comment:2 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added the sed's - the best way to do it. datadir is used twice with different values so a 'make datadir' for example will cause things that should go in /usr/share to go in /usr/share/gawk (like locale stuff)