From: bcr@bohr.physics.purdue.edu (Bill C. Riemers) Subject: Re: Wierd problem with xmkmf and SLS .99pl4 Date: 8 Feb 1993 18:04:56 GMT
In article <badger.729021123@phylo> badger@phylo.life.uiuc.edu (Jonathan Badger) writes:
>I upgraded to SLS .99pl4 (from .98pl5) yesterday. All works fine except when I
>run xmkmf I get a message 'cannot exec /lib/cpp'. Okay, so I think all I have to
>do is make a sym-link to cpp in /lib. Well, that did get me farther, but it
>now chokes on the line #define XCOMM # in /usr/X386/lib/X11/config/Imake.tmpl.
>xmkmf worked fine on my old system. Any ideas?
There are several problems with .99pl4 SLS that you will need to correct.
1) ln -s `find / -name cpp` /lib/cpp
2) vi `find / -name Imake.tmpl`
Change line 4 to include a \ before the second # sign.
Also, there are two places with -L$(USRLIBDIR) that you'll
need to modify to aviod errors making things that use X386
3) vi `find / -name cite.dev` `find / -name linux.cf` `find / -name x386.cf`
You'll need to update these files you tell xmkmf that linux now supports
shadow passwords. Otherwise you'll find programs like xdm will allow
users to login with supplying a password. (Note: The fact that xdm
binaries exist without shadow support is a huge security problem...
But then again, anyone who wants to hack into linux as root can use
disks A1 and A2 and then mount the hardrive manually.)
If we are lucky the person who updates SLS distributions will see this letter
and correct these problems in the next release.
Bill