Subject: Re: xwindows
To: None <xwolf@pcez.com>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 08/03/1998 09:04:07
s9 wrote:
> i installed xcomp.tgz, xbase.tgz, xfont.tgz, xserver.tgz, and
> xcontrib.tgz. then in netbsd i typed startx... it gave me the message
> startx: command not found so i put the path /usr/X11R6/bin in my .cshrc
> file and then when i typed startx it gave me the message xinit:
> libXmu.so.6.0 not found so i added the string, 
> 
> #
> #Build the link-editor fast directory cache.
> #
> echo "adding X libraries to the runtime link editor directory cache."
> ldconfig -m /usr/X11R6/lib
> 
> to the file rc.local in the /etc directory. the help file told me to add
> the string /usr/X11R6/lib to the ld.so.conf file in the /etc directory 
> if you're using the "new method" but i was unable to find that file. but
> the help file also said if you are using the "older method", to add that
> big long string (above) to the rc.local file.

assuming you're using NetBSD 1.3 or later, you need to _create_
/etc/rc.conf and add the appropriate line(s) to it.  it is no longer
necessary to add the above to /etc/rc.local.  the faq should note this
before too much longer.

> now when i type startx it
> gives me the message "xinit: no such file or directory (errno 2): no
> server "X" in PATH.

hmmmm....are you sure that /usr/X11R6/bin is still in your path?  are you
sure that you installed the xserver.tgz set?  do an 

	ls -l /usr/X11R6/bin/X*

and make sure that there is a link from X -> Xmac68k

i hope this helps.

later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - PMD                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.