Opened 18 years ago
Closed 18 years ago
#2121 closed defect (duplicate)
Xorg 7.1 utilities - util-macros - .m4 files installed in the wrong place
Reported by: | Bryan Kadzban | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 6.2.0 |
Component: | BOOK | Version: | SVN |
Severity: | minor | Keywords: | |
Cc: |
Description
In the installation instructions for Xorg 7.1 (modular), in the Xorg Utilities section, the last package installed is util-macros.
Since $XORG_CONFIG contains --datadir=$XORG_PREFIX/lib
, the configure script for util-macros is passed that parameter. It proceeds to install two .m4 files (custom automake macros) into /usr/lib/aclocal. But aclocal does not look in /usr/lib/aclocal, it only looks in /usr/share/aclocal (its ${datadir}/aclocal).
The easiest fix is to add --datadir=$XORG_PREFIX/share
to the end of the util-macros configure script invocation (overriding $XORG_CONFIG).
But this isn't an issue unless someone develops software that (1) uses automake, and (2) requires these custom Xorg macros. (Well, and (3) doesn't add -I$XORG_PREFIX/lib/aclocal
to their invocation of aclocal. But no other package uses e.g. /usr/lib/aclocal, so adding this will certainly not be common.) It's likely a fairly minor problem because of that.
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closing the dupe... #2119 has it covered fairly well.
Oops, looks like this is a dupe of #2119. (That's what I get for searching the ticket database for "macros" and "utilities", but not "xorg".) I've also noticed other packages (than just util-macros) installing M4 stuff into /usr/lib/aclocal.
I'll investigate building all of Xorg 7.1 (except the AppleWM and WindowsWM stuff) with --datadir=$XORG_PREFIX/share, and see if anything breaks. I'll post in ticket #2119 whether or not that works (and what else I had to change, if anything).