Newsgroups: comp.os.linux.announce,comp.os.linux.development,de.comp.os.linux
From: tom@mvmampc66.ciw.uni-karlsruhe.de (Thomas Koenig)
Subject: Compiling Emacs 19.24 under Linux
Message-ID: <ann-20756.769887513@cs.cornell.edu>
Date: Wed, 25 May 1994 17:38:49 GMT
Approved: linux-announce@tc.cornell.edu (Matt Welsh)

I've successfully installed Emacs 19.24 on my (1.0.9, gcc 2.5.8,
libc 4.5.24) machine, using the following changes:

1. Change configure to eliminate -lX11, which

*** configure   Wed May 25 12:24:38 1994
--- configure.old       Wed May 25 12:23:41 1994
***************
*** 2103,2109 ****
  configure___ c_switch_machine=C_SWITCH_MACHINE

  #ifndef LIB_X11_LIB
! #define LIB_X11_LIB
  #endif

  #ifndef LIBX11_MACHINE
--- 2103,2109 ----
  configure___ c_switch_machine=C_SWITCH_MACHINE

  #ifndef LIB_X11_LIB
! #define LIB_X11_LIB -lX11
  #endif

  #ifndef LIBX11_MACHINE

2. ran

$ configure --with-x11 --with-x-toolkit --prefix=/usr --verbose i486-unknown-linux

3. Changed

CFLAGS=-g

to 

CFLAGS=-O

in the generated Makefile

4. ran

$ make

5. su'd to root and ran

$ make install

--
Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
Be sure to include Keywords: and a short description of your software.
