Re: Building app, and compatibility of lesstif and motif
- From: Mister.Fred.Ma@xxxxxxxxx
- Date: Sun, 15 Jul 2007 16:11:10 -0000
On Jul 8, 5:14 pm, Andre Majorel <che...@xxxxxxxxxxxxxxx> wrote:
On 2007-07-04, Mister.Fred...@xxxxxxxxx <Mister.Fred...@xxxxxxxxx>
wrote:
I'm not an X-windows programmer, but I am compiling an application
that uses X-windows. It was meant for a specific breed of linux,
and I'm seeing if I can get away with compiling it under Cygwin.
However, the application INSTALL file says that it assumes the
host system has OpenMotif. Cygwin only has lesstif, which I read
up on in Wikipedia (thus learning that it doesn't actually deal
with tiff files). Apparently, it is binary compatible with Motif.
However, when I run the application's configure file to build the
application, it complains that OpenMotif is not present.
It's probably just a configure problem. Which Lesstif package did
you install ? For libraries, there are typically two packages ;
libfoo and libfoo-dev. The former contains libfoo.so.x.y, the latter
contains the headers and libfoo.so which is a symlink to
libfoo.so.x.y. The former only lets you run existing binaries that
need libfoo.so.x.y. To compile and link, you need libfoo-dev or
whatever Cygwin calls it.
Hi, Andre,
Sorry for the delay in replying. After speaking to people much more
knowledgable than myself, it turns out that there are much deeper
dependencies that make it unwise to try and move forward with cygwin
rather than linux. So I won't be pushing this approach further.
For completeness, however, I looked up which of the two forms of
libraries above comes with cygwin. From
http://cygwin.com/cgi-bin2/package-cat.cgi?file=lesstif%2Flesstif-0.94.4-1&grep=lesstif
it seems like the libraries are of the form:
libDtPrint.dll.a
libDtPrint.la
libMrm.dll.a
libMrm.la
libUil.dll.a
libUil.la
libXm.dll.a
libXm.la
All the files are located in /usr/X11R6/lib, which is actually c:/
cygwin/usr/X11R6/lib. An actual listing of that directory shows
additionally the files:
libXaw3d-7.dll.a
libXaw3d.dll.a
libglut.a
libglut.dll.a
libglut.la
It looks like the form of the libraries differs from the 2 forms you
put forth because of the windows environment.
Thanks for your contribution, anyway!
Fred
.
- References:
- Building app, and compatibility of lesstif and motif
- From: Mister . Fred . Ma
- Re: Building app, and compatibility of lesstif and motif
- From: Andre Majorel
- Building app, and compatibility of lesstif and motif
- Prev by Date: Re: Xlib _NET_CLIENT_LIST
- Next by Date: events when minimzing or closing window ?
- Previous by thread: Re: Building app, and compatibility of lesstif and motif
- Next by thread: Changing the "Zoom" from Ctrl-Alt-Keypad plus/minus
- Index(es):
Relevant Pages
|