Re: Building app, and compatibility of lesstif and motif



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

.



Relevant Pages

  • Re: trouble loading dll via cff:use-foreign-library
    ... cygwin ... (On cygwin, the shareable libraries (dll's) ... I can (probe-file and (probe-directory, so I think I am OK there. ... have over here includes any directory info. ...
    (comp.lang.lisp)
  • Re: installing NEDIT on Cygwin and unix in general
    ... > cygwin and I made sure I included the Xfree libraries, ... You need more than only the X libraries -- you need a whole X ... You can use Xfree as X server. ... you install it from cygwin. ...
    (comp.unix.programmer)
  • trouble loading dll via cff:use-foreign-library
    ... cygwin ... (On cygwin, the shareable libraries (dll's) ... but none of them could load the library. ... I can (probe-file and (probe-directory, so I think I am OK there. ...
    (comp.lang.lisp)
  • Re: Rough content share of XML files
    ... I *really* appreciate Open Source Software (however in compiled ... If you're using linux, compiling should be a breeze like ./configure ... If you're running windose, you should try cygwin. ...
    (comp.lang.awk)
  • Using MCF5272 libraries of codewarrior in cygwin or any equivalent is available ?
    ... I need to use MCF5272 libraries of codewarrior in cygwin or kindly ... I am porting a MCF5272embedded software from Codewarrior V5x ... The following libraries that come along with Codewarrior are being used ... require the same in cygwin environment. ...
    (comp.sys.m68k)