This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: lesstif mwm bug


> From: "Harold Hunt" <huntharo@msu.edu>

> I'd like you to do two things for me so that I can correct the lesstif
> package:
> 
> 1) Please recompile lesstif and write down the exact set of configure flags
> that allow lesstif to function correctly.  Try compiling without
> the --enable-static --disable-shared flags and see if the result still
> works.

The flags mentioned by me were those I have used. First I had omitted
--enable-static --disable-shared, but building failed. Also the file
"Install" says:
   On windows using Cygwin, U/WIN or Interix, LessTif must be built as
   static libraries.
   Because, one of the biggest issues with X on Win32 is the moronic DLL
   format. Specifically - it is not possible to export data from a Win32
   DLL in a form that can be used to statically initialize another global
   variable. Data access from a DLL requires at least one pointer
   indirection, and hence executable code. This is why X11R6 doesn't have
   DLLs for Xt/Xmu/Xaw (and Motif) on Win32.
Unfortunately, configure does not force --enable-static --disable-shared
automatically for Cygwin.

> 2) Download the lesstif binary distribution for Cygwin from
> http://prdownloads.sourceforge.net/lesstif/lesstiif-cygwin-0.93.18.tar.bz2.
> See if their package works, then figure out if they built static or shared
> libs.

They built static libs only; but it will take some days before I can install
and test their package on my PC (I just unpacked it on a Solaris host for
looking at it.)
They obviously used --prefix=/usr/X11R6, whereas you seem to have used /usr
and I have used none (=/usr/local). Their libraries are very large (libXm.a
is 18.8 MB), thus seem to contain debugging information.

*** Here another correction to my previous mail which stated:
> In my case, it says that ~/.mwmrc is missing. Are system.mwmrc and Mwm in the
> right places (/usr/X11R6/lib/X11/mwm/system.mwmrc,
> /usr/X11R6/lib/X11/app-defaults/Mwm)?

system.mwmrc is in ${prefix}/lib/X11/mwm/, thus in /usr/lib/X11/mwm/ for
your package. For app-defaults, however, my statement was correct.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]