Now That the patch is accepted, I will make a wiki page :)


-----Original Message-----
From: Jon Trulson <j...@radscan.com>
To: Peter Tribble <peter.trib...@gmail.com>
Cc: cdesktopenv-devel <cdesktopenv-devel@lists.sourceforge.net>
Sent: Sat, Mar 22, 2014 7:31 pm
Subject: Re: [cdesktopenv-devel] Patch for initial illumos port


On Fri, 21 Mar 2014, Peter Tribble wrote:

> Attached is an updated patch for initial illumos support.
>
> I've built against a current checkout, and nothing has broken
>

I applied your patch, though I did need to make a fix to
tt_xdr_utils.h -- the linux's and BSD's need the full:

struct XDR::xdr_ops ops;

> This differs from the previous patch I sent only slightly. The
> patch doesn't remove libtt.elist, it tweaks INSTALL, and some
> of the line numbers have changed due to other patches being
> applied in the meantime.
>
> To build on illumos, once I have openmotif installed and
> a copy of the Sun compiler in /opt/SUNWspro, I just:
>
> cd cde
> rm lib/tt/lib/libtt.elist
> mkdir -p imports/x11/include
> ln -s /usr/include/X11 imports/x11/include
> make World.dev
> # fails; edit programs/Imakefile so as to remove
> # dtinfo, dtksh, dtappbuilder, ttsnoop from SUBDIRS
> make World.dev
> make -k install DESTDIR=/tmp/foo
> make -k install.man DESTDIR=/tmp/foo
>

I think Chris Turkel can create/add a wiki page for this :)

If you have a list of prerequisites for building, that would probably
help others too.

> Handling libtt.elist properly still needs to be fixed, but
> that looks like the script that takes the elist file and
> combines it with c++filt output to create the linker mapfile
> needs to be fixed.
>

Is there a way you can just have your compiler suite ignore these
files completely?

We could also just remove them entirely from CDE, though I'd like to
get some input from others on that first.

As for myself, I don't see a use for them on reasonably modern
compilers and would be fine with removing them.

Linux at least builds just fine without them, and I imagine the
BSD's would too.


> So far, I haven't managed to get dtinfo, dtksh, dtappbuilder,
> or ttsnoop to build (although I've made a fair amount of
> progress with dtinfo).
>
> Applications such as dtpad, dtcalc, and dtterm start and
> appear to function correctly. There's no help, because
> creating that requires dtinfo. There's a problem with dtlogin,
> if you select any menu options it block keyboard input, and

Wonder if it's competing for keyboard input with something...

> dtwm doesn't really work. But actually having things build
> in the first place is a necessary first step for further work.
>

Yay :)

> One comment on the code. Many of the changes I've needed
> to make (and attempts to fix other areas have the same
> problem), basically involve an #if to guard against
> #include <osfcn.h>
> Are there any platforms in existence for which osfcn.h is
> actually relevant?

No, nothing we care about needs this file.

>From 
http://bytes.com/topic/c/answers/540397-i-am-not-able-include-header-file-std-h-osfcn-h

"The <std.h> and <osfcn.h> headers are obsolete. They were part of
  libg++ back in the day. All they do is duplicate the standard C
  headers. They were originally around because they date back to the
  day when most people didn't have standard ANSI C headers on their
  systems.

  Use the standard C headers instead (ie. <stdlib.h>, <string.h>, etc). 
"

Thanks!

-- 
Jon Trulson

     Last day, Capricorn fifteens. Year of the city, 2274.
     Carousel begins.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

 
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to