From owner-freebsd-questions Tue Apr 15 13:53:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA10382 for questions-outgoing; Tue, 15 Apr 1997 13:53:21 -0700 (PDT) Received: from rosie.scsn.net (scsn.net [206.25.246.12]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA10375 for ; Tue, 15 Apr 1997 13:53:19 -0700 (PDT) Received: from cola80.scsn.net ([206.25.247.80]) by rosie.scsn.net (Post.Office MTA v3.0 release 117 ID# 0-32322U5000L100S10000) with ESMTP id AAA212; Tue, 15 Apr 1997 16:48:09 -0400 Received: (from root@localhost) by cola80.scsn.net (8.8.5/8.6.12) id QAA00566; Wed, 16 Apr 1997 16:55:02 -0400 (EDT) From: "Donald J. Maddox" Message-Id: <199704162055.QAA00566@cola80.scsn.net> Subject: Re: Help!!! In-Reply-To: <01BC493F.F2FE9870@yihsiao.extern.ucsd.edu> from Yimin Hsiao at "Apr 15, 97 01:54:13 am" To: yihsiao@ucsd.edu (Yimin Hsiao) Date: Wed, 16 Apr 1997 16:55:01 -0400 (EDT) Cc: questions@FreeBSD.org Reply-To: dmaddox@scsn.net X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I just installed emacs from the packages using "pkg_add", but I wasn't able to run it. I got the following error whenever I typed "emacs" at the # prompt, > ld.so failed: Can't find shared library libXaw.so.6.1 > Can someone help me with this problem? This lib (libXaw.so.6.1) is part of X... It's not found because you don't have X installed... If you want to run emacs without X, you should start it with the command `emacs -nw`. The '-nw' switch tells it not to try to use X. > > I also installed gcc from the packages and compiled a test program. But I couldn't run a.out. I see the error > a.out not found > whenever I type a.out. But the file IS there. What happened? It couldn't tell it's an executable? This is because the current directory is not in your path. To execute a program in the current dir named 'myprog', you should type ./myprog. The './' tells the shell to look for the program in the current dir, rather than searching through yur path for it. > I also wanted to install XWindows. I downloaded the entire directory "XFree86" from the web, but how do I go from there? /stand/sysinstall doesn't seem to work and I want to install it manually. Can you please tell me how? Thanks. 1) You should already have a dir named /usr/X11R6... If you don't, then create it. 2) Cd to /usr/X11R6 and untar all of the XF32*.tgz files with a command like `tar -pvzxf /X32*.tgz`. 3) Then copy the /usr/X11R6/lib/X11/xinit/xinitrc file to your home dir, rename it to .xinitrc and edit it to your liking. 4) Add /usr/X11R6/bin to your path. 5) Type 'ldconfig -m /usr/X11R6/bin'. 6) Type 'startx' This should at least get you started... Good luck :-) -- Donald J. Maddox (dmaddox@scsn.net)