make install fails

Andrew C Aitchison <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
make[3]: Entering directory `/home/XFree86/4.2/std/xc/programs/xterm'
install -c  "`if [ \`grep ^utmp: /etc/group\` ]; then echo ' -m 2755 -g utmp'; else echo ' -m 4711'; fi`" xterm /usr/X11R6-v4/bin/xterm
install: installing multiple files, but last argument, 
`/usr/X11R6-v4/bin/xterm' is not a directory
Try `install --help' for more information.

I think that the double quotes are turning the -m flags into a filename 
beginning with a space.

The enclosed patch seems to work.
xterm.gid.quote.patch (text/plain, 686 B)
Index: xc/programs/xterm/Imakefile
===================================================================
RCS file: /home/CVS/XFree86/xc/programs/xterm/Imakefile,v
retrieving revision 3.69
diff -u -r3.69 Imakefile
--- xc/programs/xterm/Imakefile	2006/03/23 21:10:57	3.69
+++ xc/programs/xterm/Imakefile	2006/03/26 07:53:31
@@ -80,7 +80,7 @@
 
 #if InstallXtermSetGID
 CSGIDFLAGS = -DUSE_UTMP_SETGID
-INSTUIDFLAGS = "`if [ \`grep ^utmp: /etc/group\` ]; then echo ' -m 2755 -g utmp'; else echo ' -m 4711'; fi`"
+INSTUIDFLAGS = `if [ \`grep ^utmp: /etc/group\` ]; then echo ' -m 2755 -g utmp'; else echo ' -m 4711'; fi`
 #else
 # if InstallXtermSetUID
 INSTUIDFLAGS = -m 4711
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.