I'm try to build CDE git on DragonFly (BSD) 6.4.2, and I'm encountering some issues at least due to CSRG_BASED not getting set, as CDE isn't setting $bsd in ./configure as DragonFly isn't recognized...
FYI '$build_os' seems to resolve to 'dragonfly6.4' so it should probably match to 'dragonfly*'
And it seems that lib/tt/lib/tt_options.h is lacking a elif defined(DragonFly) line as well, though this may be less problematic... I'm not quite sure if OPT_CONST_CORRECT needs to be set? This depends on the compiler??? which happens to be gcc 8.3 on current DragonFly.
With the attached patch applied, the build gets stuck at:
Any hints?
So the
UNIXbindingsissue was just me not usinggmake...I've managed to make some further progress, see attached patch...
Now I'm stuck at :
./configure --with-libiconv-prefix=/usr/localfixed that issue.I solved a few more minor issues, see v3 patch attached.
However
dtcodegenis segfaulting now...See attached backtrace... I'm unsure what's happening here...
@jon13 I'm a bit at a loss with regard to the
dtcodegenissue, any insights on your end?Last edit: Pascal de Bruijn 2026-01-16
And this is still reproducible with gcc 13.4...
So after removing
dtappbuilderandttsnoopfromprograms/Makefileand compiling with my v3 patch applied the rest of CDE builds just fine.without
dtappbuilderandttsnoop,startx /usr/dt/bin/dtsessionstarts just fine.@jon13 would you please consider applying my v3 patch, given that those changes seem to be fine, even if they don't solve all issues yet.
The plot thickens, when executing
dtcodegenwithoutNLSPATH=it seems to work just fine...Unrelated Sidenote:
programs/dtimsstart/main.ccontains a reference toENV_NLSPATH, wonder if that actually intentional?!?!?The attached v4.2 patch also fixes 'dtlogin' so that works now too...
Last edit: Pascal de Bruijn 2026-01-22
with regard to
dtcodegenany calls toCATGETSseem to trigger a Segmentation Fault...