Bug 14813 - gawk wont build -- datadir, libexecdir
Summary: gawk wont build -- datadir, libexecdir
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gawk   
(Show other bugs)
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Florian La Roche
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-07-28 17:05 UTC by Michael Tokarev
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-28 17:05:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Michael Tokarev 2000-07-28 17:05:41 UTC
Two things. gawk-3.0.5-2

In gawk.spec:
  %configure --libexecdir=%{_libexecdir}/awk --datadir=%{_datadir}/awk
This cause gawk to use /usr/share/awk/awk and /usr/libexec/awk/awk dirs
instead of /usr/{share,libexec}/awk (note double last component).
This is in Makefile.in:
 datadir = @datadir@/awk
 libexecdir = @libexecdir@/awk

Also, in gawk.spec %files:
This should be %{_libexecdir}/awk and %{_datadir}/awk, respectively.

And also one comment.  Many programs (gawk is an example) uses
their own implementation of getopt and regex, and those are in
glibc already.  Should this be considered a (minor) bug?
In gawk, there is "LIBOBJS = getopt.o getopt1.o regex.o" in
Makefile.in.  Maybe this should be "LIBOBJS=@LIBOBJS@" and
a test about regex/getopt in configure? (This is mainly to
gawk maintainers...)

Comment 1 Florian La Roche 2000-08-08 13:44:07 UTC
"configure"-part is fixed.

getopt*.o regex.o: they sometimes are compiled, but do not contain any code, so
there should
be some clever "#ifdef XXX" in the source...

Note You need to log in before you can comment on or make changes to this bug.