SUMMARY: Motif development on Solaris 2.5 (delayed)

From: Marc Gibian (
Date: Mon Jan 29 1996 - 12:03:48 CST

A while back I asked the enclosed questions regarding Motif on Solaris
2.5. After a long delay due to project priority changes, I have
completed enough work to be able to use the replies I recieved and
thus provide a summary.

We have had no problems building our application using the Motif
bundled with Solaris 2.5/CDE.

I continue to have problems with emacs when built with the Motif
toolkit. Upon examination of the emacs 19.30 PROBLEMS and MACHINES
files, I suspect this is because everything defaults to building with
dynamic/shared libraries and there are problems listed with using
toolkits and dynamic/shared libraries. I made an attempt to build
using static linking, but that failed and I ran out of time.

If anyone has built emacs 19.30 (or any recent version) with the Motif
toolkit on Solaris 2.5, could you please pass along HOW you did it?
How do you force emacs to build using static linking on Solaris 2.5?

Thanks everyone,

Marc S. Gibian
Telos Consulting Services phone: (617) 377-6350
PRISM/TFS email:

>From casper@Holland.Sun.COM Fri Oct 20 06:01:51 1995
To: gibian@typhoon.HANSCOM.AF.MIL (Marc Gibian)
Subject: Re: Motif development on Solaris 2.5
In-Reply-To: Your message of "Thu, 19 Oct 1995 17:22:55 EDT."
Date: Fri, 20 Oct 1995 11:03:51 +0100
From: Casper Dik <casper@Holland.Sun.COM>
Content-Length: 1727
X-Display-Position: 746

>I am trying to select an appropriate toolset for my customer in their
>transition from a SunOS product to Solaris 2.5. I have been looking at
>compilers, debuggers, various other tools, as well as the graphical
>environmnet in which the application will run. The application is a
>Motif application with significant graphics currently implemented via
>XGL, though they wish to move to Sun PHIGS.
>My primary question is about the Solaris 2.5 CDE/Motif/X11 development
>environment. I have been using a number of GNU packages as test
>programs due to their portability. Emacs 19.29 has turned up two
>things that concern me. First, I can not get an ANSI compile of it
>using the SPARCworks c compiler. It keeps blowing out with a prototype
>mispatch on an early file (I forget which, and can't retry as I have a
>performance test underway right now). While I am concerned about this
>one, it certainly is not insurmountable. The second problem is that
>when compiled with the CodeCenter clcc compiler, with the Motif
>toolkit selected, I get a successful compile and link, but execution
>fails. Looking at it with a debugger shows things failing on an early
>call, I believe a window creation function. I have no problem if I
>build emacs with no toolkit specified.
>Has anyone successfully built emacs on Solaris 2.5 with the Motif
>Has anyone successfully built emacs on Solaris 2.5 with in ANSI c?

Sun's C compiler should haev no troublke building emacs
*but* don't use strict ANSI mode: that's for uninteresting pure
ANSI programs only. (I.e., you can't use any POSIX or Solaris extensions).

Please specify theprecise error message nex ttime.

Motif core dumps if libXt is linked before Motif.


>From matt@uts.EDU.AU Sat Oct 21 03:29:09 1995
From: Jas (Matthew K) <matt@uts.EDU.AU>
Subject: Re: Motif development on Solaris 2.5
To: gibian@typhoon.HANSCOM.AF.MIL
Date: Sat, 21 Oct 1995 17:33:17 +1000 (EST)
In-Reply-To: <9510192122.AA09631@typhoon.forecast> from "Marc Gibian" at Oct 19, 95 05:22:55 pm
X-Gcb: Version: 3.1
X-Gcb: GAT/M/CS d-(++) s++:-- a-(?) C+++$ UVS++++$ P+++ L+ E++ W++ N++
X-Gcb: !o K+ w--- O+ M+ V-- PS+ PE+ Y+ PGP++ t+ 5+ X++ R tv- b++ DI+
X-Gcb: D+ e h- r !y
X-Gcb: ------END GEEK CODE BLOCK------
X-Ph: ph: +61 2 330 1390 fax: +61 2 330 1999 home: +61 2 9929 0717
X-Pager: +61 2 214 1111 #849482 or
X-Mailer: ELM [version 2.4 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 2109
X-Display-Position: 1321

use gcc 2.7.0, not sure about the Motif stuff, i used 3d athena
widgets (i hate motif). shold compile and run straight out of the
box. ./configure --with-gcc --prefix="<whatever>", make, make install.
oh and make sure your gcc has run fixincludes.


echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D3F204445524F42snlbxq'|dc;exit
Matthew Keenan   Systems Programmer   Information Technology Division
      University of Technology     Sydney Australia

It's nice to be in a position where people apologize because they assume there's humor in your work, based on past experience, but they're not sure where it is. -- Rob Pike ------------------------------------------------------------------------- >From Sun Oct 22 20:12:52 1995 X-Mailer: exmh version 1.6.4 10/10/95 To: gibian@typhoon.HANSCOM.AF.MIL (Marc Gibian) Subject: Re: Motif development on Solaris 2.5 In-Reply-To: gibian's message of Thu, 19 Oct 1995 17:22:55 -0400. <9510192122.AA09631@typhoon.forecast> From: Andrew J Cosgriff <> X-Attribution: ajc X-Uri: <URL:> X-Face: PBPJ+.AE`FBN4$}H<dIo+^`A-G%mJTXXP$^4bBox##5=oF{G\[:0|sNlr%~H1,> rwwEh<qq.dHRpu8ftJ\'14l]<x(nRD>J)x?-5$MQ%Z)svNR@Q\WG6[GDr,}a@8ULwGWBsk,Pqxm!Z<lnD(Skwwe$j+<0g6N6z}>- Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 23 Oct 1995 09:50:46 +1000 Sender: Content-Length: 860 X-Display-Position: 0 (Marc Gibian) wrote: > >Has anyone successfully built emacs on Solaris 2.5 with the Motif >toolkit? > >Has anyone successfully built emacs on Solaris 2.5 with in ANSI c?

Do you need to build emacs with the motif toolkit ? it doesn't buy you much.

XEmacs 19.13 has a motif-like scrollbar as well, so you have even less reason to link with motif.

It's known to be flaky (with GNU Emacs or XEmacs).

The only thing the toolkits (motif / xaw / xlib) provide is the menubars, scrollbars and dialog boxes. They don't differ in actual functionality as far as using Emacs or writing code in it goes.

Enjoy, Andrew. -- - Andrew J. Cosgriff - - "send file help" as subject SysAdmin / Support Dude, UNICO Computer Systems PGP & MIME ok and preferred Save the whales. Collect the whole set.

------------------------------------------------------------------------- >From Sun Oct 22 20:51:44 1995 Date: Sun, 22 Oct 1995 20:53:56 -0400 (EDT) From: Henry Katz <> To: Marc Gibian <gibian@typhoon.HANSCOM.AF.MIL> Subject: Re: Motif development on Solaris 2.5 In-Reply-To: <9510192122.AA09631@typhoon.forecast> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Length: 924 X-Display-Position: 0


I've build emacs 19.29 with x11r6 and the patch for X11 which unbreaks the dired hang in emacs. I've built both x and emacs with gcc 2.7 and sparcworks cc 3.0.1. If you really want I can dig up the makefiles off old tapes. This is 2.5 beta.


---------------------------------------------------------------- Henry Katz, M.S. | Email: (d) ISCS, Inc. | (e) (718) 263.5762 | currently on contract at: | Wang Software, Inc | Phone: (212) 476-6464 622 Third Ave 5th floor | Fax: (212) 476-6915 New York, NY 10016 | Pager: (917) 899-1420 ---------------------------------------------------------------- "The hereafter for all we know may be an eternal state of excruciating insanity" - V. I. Nabokov, Look at the Harlequins

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:52 CDT