From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luis Fernandes Newsgroups: gmane.emacs.help Subject: configuring emacs build with motif Date: 25 Feb 2003 19:16:56 -0500 Organization: Ryerson Polytechnic University Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1046218963 9006 80.91.224.249 (26 Feb 2003 00:22:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2003 00:22:43 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18npLN-0002L0-00 for ; Wed, 26 Feb 2003 01:22:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18npJj-00045q-03 for gnu-help-gnu-emacs@m.gmane.org; Tue, 25 Feb 2003 19:20:59 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!hammer.uoregon.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!torn!news.ryerson.ca!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: 141.117.1.167 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.106 Original-Xref: shelby.stanford.edu gnu.emacs.help:110621 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7123 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