help-gnu-emacs
[Top][All Lists]
Advanced

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

configuring emacs build with motif


From: Luis Fernandes
Subject: configuring emacs build with motif
Date: 25 Feb 2003 19:16:56 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106

I'm on a Solaris 8 system and configure is ignoring my request
(--with-toolkit=motif) to build with Motif libraries and insisting on
using the Lucid kit:

  What toolkit should Emacs use?                          LUCID

On solaris systems, libXm is installed in /usr/dt/lib/ and the
libraries are there:

19:04 zen[175] lsa libX*                                          /usr/dt/lib
lrwxrwxrwx   1 root     root          10 Apr 17  2002 libXm.so -> libXm.so.4
-rwxr-xr-x   1 bin      bin      1760524 Feb  8  2002 libXm.so.3
-rwxr-xr-x   1 bin      bin      2428020 Mar 20  2002 libXm.so.4
lrwxrwxrwx   1 root     root          10 Apr 17  2002 libXm12.so -> libXm.so.3
-rw-r--r--   1 root     other       5504 Dec  2  1999 libXsession.so

Does this cryptic statement from the INSTALL: "On some systems, it
does not work to use a toolkit with shared libraries," apply here?

I'm using the following script to build:
------------------------------------------------------------------------
#!/bin/zsh

# This wrapper automates the emacs build.  Emacs is installed in
# INSTALL_DIR. Links have to be made from this dir to /usr/local/bin

#This is the version of the emacs you are trying to build
EMACS_VERSION=21.2

#This is where emacs distro is unpacked
SRC_DIR=/usr/local/src/emacs-${EMACS_VERSION} 

#This is where it will be installed
INSTALL_DIR=/usr/local/emacs${EMACS_VERSION}

STARTT=`date`                                   # start-time: stats gathering

cd ${SRC_DIR}

# We have to set these so emacs can find X and other libs at build
# time and run-time
export LD_LIBRARY_PATH=/usr/dt/lib:usr/local/lib:/usr/X11/lib
export LD_RUN_PATH=/usr/dt/lib:/usr/local/lib:/usr/X11/lib

./configure --with-x11 --x-includes=/usr/X11/include --with-xpm 
--with-toolkit=motif --x-libraries=/usr/X11/lib --prefix=${INSTALL_DIR}

cd ${SRC_DIR}

echo "START TIME: $STARTT"
echo -n "END TIME:"; date



reply via email to

[Prev in Thread] Current Thread [Next in Thread]