unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* configuring emacs build with motif
@ 2003-02-26  0:16 Luis Fernandes
  2003-02-26  9:19 ` Kai Großjohann
  2003-02-26  9:36 ` John Paul Wallington
  0 siblings, 2 replies; 4+ messages in thread
From: Luis Fernandes @ 2003-02-26  0:16 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-26 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26  0:16 configuring emacs build with motif Luis Fernandes
2003-02-26  9:19 ` Kai Großjohann
2003-02-26  9:36 ` John Paul Wallington
2003-02-26 13:36   ` Luis Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).