all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* Re: configuring emacs build with motif
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2003-02-26  9:19 UTC (permalink / raw)


Luis Fernandes <elf@ee.ryerson.ca> writes:

> 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:

Maybe it helps to set $CPPFLAGS and $LDFLGS and so on when calling
configure and make.  

-- 
A preposition is not a good thing to end a sentence with.

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

* Re: configuring emacs build with motif
  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
  1 sibling, 1 reply; 4+ messages in thread
From: John Paul Wallington @ 2003-02-26  9:36 UTC (permalink / raw)


Luis Fernandes <elf@ee.ryerson.ca> wrote:

> 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

Same symptoms on Debian GNU/Linux.  How about saying
--with-x-toolkit=motif ?  ;-p

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

* Re: configuring emacs build with motif
  2003-02-26  9:36 ` John Paul Wallington
@ 2003-02-26 13:36   ` Luis Fernandes
  0 siblings, 0 replies; 4+ messages in thread
From: Luis Fernandes @ 2003-02-26 13:36 UTC (permalink / raw)



    jpw> --with-x-toolkit=motif ?  ;-p

Nice catch. Now I know, I definitely need a vacation. :)

Thanks.

^ 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.