Compiling GRASS 4.1 on Sun Ultra
Mon Dec 2 04:27:17 EST 1996
On Nov 29, 11:23am, Sandra Archilli wrote:
> Subject: Compiling GRASS 4.1 on Sun Ultra
> - During the compilation of $GIS/src/xgrass/libes/Xgi directory, the
> following types are unknown: XmMangerClassPart, XmPrimitiveClassPart, etc.
> Shuold I include in the involved source files, the corrisponding
> Xm/ManagerP.h, Xm/PrimitiveP.h, etc?
-- End of excerpt from Sandra Archilli
Sorry I can't help you with the other problems but the Xm problem above is one
that I had as well. It seems as though you have Motif 2.0 installed in which
the XmManagerClassPart etc are no longer defined. I contacted the Open Software
Foundation (OSF - the creators of Motif) regarding this problem and I've
included their reply below (along with my original question). Unfortunately,
priorities of my projects changed shortly after I ran into this problem and I
haven't had a chance to try their suggestion, however I don't see why it
wouldn't work. I posted messages to this list concerning this problem and
future implications in general but didn't get much of a response.
Another option is to look into using Grasslands at
Although the software is not free for windowsNT or windows95, it is free for
unix workstations (at least it was the last time I looked) and they may have a
version for your platform.
The message I sent to OSF -----
--- Forwarded mail from <jhickey at impact1.hpcc.nectec.or.th> ("Justin Hickey")
From: "Justin Hickey" <jhickey at impact1.hpcc.nectec.or.th>
Date: Fri, 6 Sep 1996 10:51:06 +0000
To: helpdesk at opengroup.org
Subject: Motif 2.0 - Motif 1.2.x compatibility
First of all, I have previously posted a similar message to this one to the
comp.windows.x.motif newsgroup but have not received a reply in almost 2 weeks,
therefore I am contacting OSF directly.
I am trying to install a public domain GIS system called GRASS on several
machines. One machine (an SGI) has Motif 1.2.4 installed while another machine
(a PC with LINUX) has Motif 2.0 installed. My problem is that an X interface to
the GIS program contains code that uses the _Xm refereneces that are found in
the XmP.h file of Motif 1.2.4 (for example _XmManagerEnter, _XmGadgetArm, etc).
However, the XmP.h file in Motif 2.0 no longer contains these definitions and
therefore, the code will not compile.
I have checked the Motif FAQ, in particular question 22, which mentions the
following about the _Xm references:
But then there is a source compatibility problem that you may need to
include the obsolete modules for the _Xm functions. Proper 2.0
subclasses use Xme functions, and there is even a document.
I checked for corresponding Xme functions (eg XmeManagerEnter) in Motif 2.0 but
found none. The above quote says I need to include the obsolete modules for the
_Xm functions, but where are they in Motif 2.0? Also, what is the document
mentioned in the quote and where can I find it?
Unfortunately, I am not familiar with the subclasses of Motif so any
suggestions or procedures for porting the Motif 1.2.4 code to Motif 2.0 code
would be greatly appreciated.
Thank you for your time.
--- End of forwarded mail from <jhickey at impact1.hpcc.nectec.or.th> ("Justin
The OSF reply ------
--- Forwarded mail from dbl at osfsun.osf.org
From: dbl at osfsun.osf.org
Date: Mon, 9 Sep 1996 11:21:54 -0500
Your query was forwarded to the Motif support group.
>>I am trying to install a public domain GIS system called GRASS on several
The software is in error. It should not be using these functions. The best
solution is to write to the person maintaining the software so that you can
get a copy of the software which uses portable functions.
>>the XmP.h file of Motif 1.2.4 (for example _XmManagerEnter, _XmGadgetArm,
As a temporary workaround, you can take advantage of the fact that these
functions probably still exist (these two above definitely do), so you
can copy the function signatures from the 1.2 XmP.h into a GRASS header
file that is included by the modules using the functions, then recompile
on Motif 2.0. Of course, I can't guarantee that this gets you any further
than a clean compilation.
David B. Lewis Temporarily at but not speaking for OSF (Cambridge, MA)
d.lewis at opengroup.org The Open Group http://www.opengroup.org
dbl at osf.org Open Software Foundation http://www.osf.org
d.lewis at xopen.co.uk X/Open http://www.xopen.org
--- End of forwarded mail from dbl at osfsun.osf.org
Jazzman (a.k.a. Justin Hickey)
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
More information about the grass-user