On 06/08/2018 03:32 PM, Peter Tribble wrote:
I think OI still ships the legacy Motif from Solaris/OpenSolaris, rather
than building current Motif from source. (The two aren't binary compatible.)

On Tribblix (also illumos) the motif libraries are built from source (2.3.8 now)
and contain those symbols; CDE builds fine against them.


So, are you saying that on these systems, you must build Motif from source? There's no way to install a modern version on these systems? It seems odd they would ship with old binaries from Solaris without bothering to build their own...

Is the only binary compatibility issue related to these Xpm -> XmeXpm defines?

-jon


On Fri, Jun 8, 2018 at 10:09 PM, Matthew R. Trower <d...@blackshard.net <mailto:d...@blackshard.net>> wrote:

    Jon Trulson <j...@radscan.com <mailto:j...@radscan.com>> writes:

    >
    > The main reason for requiring that people build Motif was for printing
    > (XPRINT) support.  Xorg removed this support some time ago, and
    > 'default' motif installations do not enable it anymore either.
    >
    > Starting in 2.2.4, CDE removed this support as well, and with other
    > fixes in 2.2.4a, there really should be no need to build Motif
    > anymore. Just install the developer versions of your system's motif
    > and that should work now.
    >
    > If it does not, let see if we can figure out why.  The same goes for
    > any of the BSD's, or any other OS we support.
    >
    > -jon
    >
    > [...]

    Sounds good to me.  It should greatly simplify packaging.
    Unfortunately, when trying to build with system motif on OI, I encounter
    this (full log attached):

    ---
    LD_RUN_PATH=/usr/dt/lib:/usr/lib:/usr/X11/lib
    /opt/solarisstudio/bin/cc -o dthelpview -O2 -Xa     -L/usr/X11/lib -L
    ../../../exports/lib  -L../../../imports/motif/lib
    -L../../../imports/x11/lib Main.o ManPage.o Util.o version.o -lD
    tHelp -lDtSvc -ltt -lXm -lXt -lSM -lICE -lXext -lX11 -L/usr/X11/lib
    -L/usr/lib  -ldl  -lgen -lm -L/opt/solarisstudi
    o/lib -lCrun -lsocket -lnsl
    Undefined                       first referenced
      symbol                             in file
    XmeXpmReadFileToPixmap              ../../../exports/lib/libDtSvc.so
    XmeXpmFreeAttributes                ../../../exports/lib/libDtSvc.so
    XmeXpmCreatePixmapFromData          ../../../exports/lib/libDtSvc.so
    XmeXpmCreateImageFromBuffer         ../../../exports/lib/libDtHelp.so
    XmeXpmReadFileToImage               ../../../exports/lib/libDtSvc.so
    XmeXpmWriteFileFromPixmap           ../../../exports/lib/libDtSvc.so
    XmeXpmWriteFileFromImage            ../../../exports/lib/libDtSvc.so
    ld: fatal: symbol referencing errors. No output written to dthelpview
    ---

    This seems relevant:

    
http://opensolaris-discuss.opensolaris.narkive.com/IyXuzCAO/vim-7-0-sxcr-56-build-problems
    
<http://opensolaris-discuss.opensolaris.narkive.com/IyXuzCAO/vim-7-0-sxcr-56-build-problems>

    Perhaps motif-2.3.6 (which is what I seem to have in /opt) still
    includes this 'private copy' of Xpm?  I'll look into this further...




    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    cdesktopenv-devel mailing list
    cdesktopenv-devel@lists.sourceforge.net
    <mailto:cdesktopenv-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
    <https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel>




--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


--
Jon Trulson

"Fire all weapons and open a hailing frequency for my victory yodle."

                              - Zapp Brannigan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to