Subject: Re: help! (X stuff)
To: Adrian Rollett <acrollet+@andrew.cmu.edu>
From: Yoshihisa Sugimoto <sugimoto@sums.shiga-med.ac.jp>
List: port-mac68k
Date: 09/22/1997 09:45:19
At  0:59 AM 97.9.19 -0400, Adrian Rollett wrote:
>I ran out of space on my root partition, so I moved the X dist. from
>/usr/X11R6 to /usr/local/X11R6 - How do I make the default paths (for
>fonts, libs, etc. etc. ) change from /usr/X11R6/whatever to
>/usr/local/X11R6/whatever

There are two way to achieve it.
Easier way is make an alias on /usr directory. After you expand X archives
on /local/X11R6 or something, you move to /usr directory and make a
symbolic link to the directory.
# cd /usr
# ln -s /local/X11R6 ./
# ls -lg
drwxr-xr-x   7 root  wheel   512 Apr  1  1996 X11R6@ -> /local/X11R6
drwxr-xr-x   2 root  wheel  4608 May 10 00:42 bin/
drwxr-xr-x   3 root  wheel   512 Sep 15  1996 games/
drwxr-xr-x  19 bin   bin    2048 May  9 21:17 include/
drwxr-xr-x   2 root  wheel  1024 May  9 21:17 lib/
drwxr-xr-x   3 root  wheel   512 Aug 30  1996 libdata/
drwxr-xr-x   4 root  wheel  1024 May  9 15:59 libexec/
drwxr-xr-x  13 root  wheel   512 May  9 16:10 local/
drwxr-xr-x   2 root  wheel   512 May 10 00:42 mdec/
drwxr-xr-x   2 root  wheel   512 Aug 30  1996 obj/
drwxr-xr-x   2 root  wheel  1536 May 10 00:42 sbin/
drwxr-xr-x  22 root  wheel   512 May  9 21:15 share/
drwxr-xr-x   2 root  wheel   512 Sep 15  1996 src/

Second way is to change entire entry paths.
1. Edit ~/.cshrc file. Add /usr/local/X11R6/bin to the "set path" line.
2. Edit /etc/rc.local file. Add /usr/local/X11R6/lib to the "ldconfig" line.

Hope it helps.

--

Sugimoto, Yoshihisa, M.D. Ph. D.
Medical Information Center / Dpt. of Internal Medicine I
Shiga University of Medical Science, Otsu, Shiga, Japan