[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about making clisp-1996-06-10



Hi,

After rebuilding my Linux system from Redhat 3.0.3 and unpacking
http://sayre.sysc.pdx.edu:8001/clisp/binaries/i386-linux-elf.tar.gz,
executing `make' results in the following warnings/errors:

-----begin -------
cc  base/lisp.a ... -ltermcap -L/usr/X11R6/lib -lX11 ...

Warning: size of symbol `ospeed' changed from 2 to 4 in
   /usr/lib/libtermcap.so 
ld: cannot open -lX11: No such file or directory
make: *** [base/lisp.run] Error 1
-----end -------

Question 1.  What does the warning mean?  My termcap library files are
                 /usr/lib/libtermcap.a
                 /usr/lib/libtermcap.so -> /lib/libtermcap.so.2.0.5

As far as I can tell from `info gcc', the `cannot open -lX11'
means that gcc can't find `libX11.a'.

Question 2.  Does CLISP need X libraries for some reason (even to run
             it in an xterm window, or under Emacs/XWindows)?

Question 3.  Doesn't `lib*.a' denote a static library?  I thought
             static linking was only useful for system utilities on
             recovery diskettes (in case you accidentally delete crucial
             links).  If gcc wanted the dynamic lib, it should be
             able to find it, because the following exist:
                 /usr/X11 -> X11R6
                 /usr/X11/lib/libX11.so.6 -> libX11.so.6.0 

Question 4.  If CLISP really needs static X libs, is `libX11.a' the
             only needed one?  I only ask, because the appropriate Red
             Hat package is huge, and I don't want to download and
             install the whole thing.  (It'd be easier to get just the
             needed libs from the tsx11.mit.edu XFree86 distribution.)

Thanks for helping me get CLISP running again!


Mark A. Thomas
thommark@access.digex.net