I've found a better solution to our LessTif problems.  There is no need
to compile xfree86 with -flat_namespace, so long as every package which
depends on LessTif is compiled with a new LDFLAG, -force_flat_namespace .

I've checked this with five packages: ddd, geomview, mgv, nedit, xephem.
(I have put modified versions of these packages on the package submission
tracker under an item called "LessTif-dependent packages" if anyone
else would like to test.)  My testing conditions are: XFree86 4.2
installed with the installer from XonX, together with the latest lesstif 
from unstable recompiled after installation.  (I'm not sure if it was
necessary to recompile lesstif.) 

These modified packages should work fine, even if you have compiled xfree86
with -flat_namespace.  See the explanation of -force_flat_namespace below.

I also expect that this new flag will fix the problems which Finlay was
having when he tried to compile a new version of Amaya which has been on
the tracker since November.

If this solution works for everyone, we will be able to go back to the
default options for fink's xfree86 packages, which will then be
functionally equivalent to the XonX installation.

Here's an excerpt from man ld:

       -force_flat_namespace
              Specifies the executable output  to  be  built  and
              executed treating all its dynamic libraries as flat
              namespace images.  This  marks  the  executable  so
              that  the  dynamic  link  editor  know to treat all
              dynamic libraries as flat namespace images when the
              program is executed.


  -- Dave


_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to