Path: utzoo!attcan!uunet!lll-winken!xanth!ames!think!bloom-beacon!RIACS.EDU!davy From: davy@RIACS.EDU Newsgroups: comp.windows.x Subject: x11-intro-doc.tar.Z Message-ID: <8905261539.AA04103@intrepid.riacs.edu> Date: 26 May 89 15:39:18 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 37 If you're trying to build the X11 document I put on expo a few days ago you may run into a problem such as: rm -f sec2.t sed -e 's;%BINDIR%;/usr/bin/X11;g' -e 's;%LIBDIR%;/usr/lib/X11;g'\ sec2.pic > sec2.tmp sed: Extra text at end of command: s;%LIBDIR%;/usr/lib/X11;gsec2.pic *** Error code 2 make: Fatal error: Command failed for target `sec2.t' This particularly seems to happen with Sun's version of "make". The problem is that Sun's version of make handles backslashes differently than the version of make I was usually using (Sequent's) - it doesn't insert any whitespace. So I never noticed the problem, not using the Sun... Anyway, to fix the problem, edit "Imake.rules" and change line 41 from $(SED) -e 's;%BINDIR%;$(BINDIR);g' -e 's;%LIBDIR%;$(LIBDIR);g'\ @@\ to $(SED) -e 's;%BINDIR%;$(BINDIR);g' -e 's;%LIBDIR%;$(LIBDIR);g' \ @@\ | insert a space here and then re-run "make Makefile", and everything should be fine. I have fixed the "Imake.rules" in the distribution and placed a new copy of it in the contrib directory on expo. The version which will be coming in comp.sources.x should already have it fixed, since Dan Heller (the moderator) discovered this problem (thanks, Dan!). My apologies for not catching this earlier. --Dave Curry