Quote:>I almost succeeded with emacs compiling. but at the last stage of
>compillation, I found some errors, and the error was about the
>missing lib files for X111R4. But I have X11R5 instead.
>I don't know where to look for in order to let it know that I have
>library files for X11R5 not for X11R4.
>Does anyone have this problem? Which files should I modify?
Apply the following patch to s-sol2.h in the src directory. It should
fix your problem. You'll need to do a 'make clean' and rebuild for
the changes to take effect.
You can also get the default built emacs to work if you add
/usr/openwin/lib to your LD_LIBRARY_PATH.
One thing to note, the default builds an temacs that is dynamically
linked against /usr/openwin/lib/libX11.so.4, but building with the
following patch causes /usr/local/lib/libX11.so.5 to be linked
statically. Does anyone know why this is?
======================================================================
*** /tmp/T0a005se Fri Apr 23 16:54:41 1993
--- s-sol2.h Fri Apr 23 16:29:39 1993
***************
*** 7,14 ****
#define POSIX
/* Here is how to find X Windows. */
! #define LD_SWITCH_SYSTEM -L/usr/openwin/lib
! #define C_SWITCH_X_SYSTEM -I/usr/openwin/include
/* Compile in non-ansi fashion to work around bugs in system header files. */
#ifndef __GNUC__
--- 7,14 ----
#define POSIX
/* Here is how to find X Windows. */
! #define LD_SWITCH_SYSTEM -L/usr/local/lib -R/usr/local/lib
! #define C_SWITCH_X_SYSTEM -I/usr/local/include
/* Compile in non-ansi fashion to work around bugs in system header files. */
#ifndef __GNUC__
======================================================================
++Brett;