I am working on moving my systems from Solaris 10 to FreeBSD, and am using a test machine running FreeBSD 10.2 amd64 Stable to get a baseline configuration to do this replacement. I, too, would like to run the CDE desktop on FreeBSD.
Over the past week I have followed what appear to be fairly recent directions on Sourceforge to compile from source:
https://sourceforge.net/p/cdesktopenv/wiki/FreeBSDBuild/
I followed those directions, and got what appeared to be a clean build and install. However, CDE will not come up.
The problem is that
ttsession
(compiled in
./cdesktopenv-code/cde/lib/tt/bin/ttsession crashes on a SIGSEGV.
I have recompiled
mp_server.C with -g in place of -O2 to get debug code, and begun to look at the
ttsession.core being generated
with gdb. It appears that the problem is at line 387, with an invalid address.
Code:
383 // Call the s_init method for _tt_mp. This will
384 // cause the initial server session to be initiated
385 // (ie. setup for rpc servicing and advertising our
386 // address to tooltalk clients).
387 status = _tt_s_mp->s_init();
388
This is as far as I have gotten. I thought I'd post on the FreeBSD forums, as it appears that others have been able to install CDE successfully.
I did the compiles with the default
clang
(version 3.4.1). The install is from
FreeBSD-10.2-STABLE-amd64-20160106-r293242-disc1.iso on a stock Sun Ultra 27 Intel Xeon machine.
While I am still new to FreeBSD specifics, I'm certainly not new to porting software to a new system. But, I am 15 years retired and am
knocking a lot of rust off old skills that haven't been used in a decade or more. I don't know how the FreeBSD team identifies and puts together a community of interest for getting a project like CDE into the ports tree, but if there is one, I'd like to join it.
(edits) OK, I give up. I've tried ten times now to straighten out the formatting on this post. Can some moderator straighten this out for me. I keep getting errors that I have changed when I save.