[14613] in Athena Bugs
sun4 8.0I: xmkmf
daemon@ATHENA.MIT.EDU (Salvatore Valente)
Fri Aug 30 00:26:54 1996
To: bugs@MIT.EDU
From: Salvatore Valente <svalente@MIT.EDU>
Date: Fri, 30 Aug 1996 00:26:47 EDT
System name: bart-savagewood
Type and version: SPARC/Classic 8.0I (1 update(s) to same version)
Display type: cgthree
What were you trying to do?
Install an X program in the sipb locker.
What's wrong:
xmkmf likes to install programs in the directory with the X11
libraries and header files (in this case, /usr/athena/*). (Yes, this
is further proof that xmkmf is an abomination from the seventh level
of Hell, but we all knew that all ready.) To work around this huge
Major Design Flaw From Hell(tm), I added these lines to my Imakefile:
prefix = /mit/sipb
BINDIR = $(DESTDIR)$(prefix)/bin
MANDIR = $(DESTDIR)$(prefix)/man/man1
LIBDIR = $(DESTDIR)$(prefix)/share/X11
XAPPLOADDIR = $(LIBDIR)/app-defaults
(Yes, this is a hack. I'm not _supposed_ to change BINDIR. But I have to.)
The problem is that "make install" tries to run $(BINDIR)/mkdirhier
and $(BINDIR)/bsdinst. I think it would be nice if those were changed
to /usr/athena/bin/mkdirhier and /usr/athena/bin/bsdinst.
What should have happened:
The people responsible for imake and xmkmf should have been
killed at birth.
Thanks.
-Sal.