I installed each package by hand individually so as to not miss any. I followed the Red Hat build instructions above by making the host.def change. I turned off firewalld and stopped the service (as F20 uses systemd now), so there are no firewall rules. I disabled SELinux. I used make World.dev as it also instructs.
CDE builds and I can run it via command-line, but I can't run dtlogin yet.
In the cdesktopenv-code/cde/programs directory, I see binary executables in their respective program directories except dtlogin.
In my build.log, the only things that show errors are
make[4]: Leaving directory `/home/griffinm/cdesktopenv-code/cde/programs/dtlogin/config'
gcc -g -pipe -O2 -fno-strict-aliasing -Wno-write-strings -ansi -I/usr/include/freetype2 -I../.. -I../../exports/include -I../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DUSE_XINERAMA -DFUNCPROTO=15 -DNARROWPROTO -DUNIXCONN -DTCPCONN -DBINDIR=\"/usr/bin\" -DXDMDIR=\"/var/dt\" -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/etc/dt\" -D_NO_PROTO -c -o access.o access.c
In file included from access.c:59:0:
dm.h:85:24: fatal error: X11/Xdmcp.h: No such file or directory
# include <x11 xdmcp.h="">
^
compilation terminated.
make[3]: *** [access.o] Error 1</x11>
There are dtappbuilder errors too, but I am not yet concerned with those.
I did some google-ing and found a thread that suggested I needed to symlink my motif libraries in the motif/include directory, but I am not sure I have the same issue.
Let me say thank you to all of the team that has made this possible. I have wanted to use CDE on Linux for as long as I have been using it. I am now very close.
Sorry for the long post.
Thanks for any and all help.
Regards,
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to ask for help regarding the build of CDE on Fedora 20. Specifically, I am having trouble discovering why dtlogin is not building.
For reference, I am using the following documentation:
https://sourceforge.net/p/cdesktopenv/wiki/LinuxBuild/
and
https://sourceforge.net/p/cdesktopenv/wiki/Red_HatBuild/
I installed each package by hand individually so as to not miss any. I followed the Red Hat build instructions above by making the host.def change. I turned off firewalld and stopped the service (as F20 uses systemd now), so there are no firewall rules. I disabled SELinux. I used make World.dev as it also instructs.
CDE builds and I can run it via command-line, but I can't run dtlogin yet.
In the cdesktopenv-code/cde/programs directory, I see binary executables in their respective program directories except dtlogin.
In my build.log, the only things that show errors are
...
make[5]: Leaving directory `/home/griffinm/cdesktopenv-code/cde/lib/tt/lib/tttk'
gcc -g -pipe -E -MM -MG -I. -I../../.. -I../../../exports/include -I../../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DFUNCPROTO=15 -DNARROWPROTO > .depend
gcc: fatal error: no input files
compilation terminated.
make[4]: [.depend] Error 4 (ignored)
...
make[4]: Leaving directory `/home/griffinm/cdesktopenv-code/cde/lib/DtTerm/TermView'
gcc -g -pipe -E -MM -MG -I. -I./TermPrim -I./Term -I./TermView -I../.. -I../../exports/include -I../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DFUNCPROTO=15 -DNARROWPROTO > .depend
gcc: fatal error: no input files
compilation terminated.
make[3]: [.depend] Error 4 (ignored)
...
make[5]: Leaving directory `/home/griffinm/cdesktopenv-code/cde/programs/dtinfo/DtMmdb/utility'
gcc -g -pipe -E -MM -MG -I../../.. -I../../../exports/include -I../../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DDtinfoClient -DUseMotifXpm -DUseTooltalk -DUseSessionMgmt -DUseWideChars -DInternationalize -DDTSEARCH -DOLIAS_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO > .depend
gcc: fatal error: no input files
compilation terminated.
make[4]: [.depend] Error 4 (ignored)
...
make[5]: Leaving directory `/home/griffinm/cdesktopenv-code/cde/programs/dtinfo/mmdb/dti_cc'
gcc -g -pipe -E -MM -MG -I../../.. -I../../../exports/include -I../../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DDtinfoClient -DUseMotifXpm -DUseTooltalk -DUseSessionMgmt -DUseWideChars -DInternationalize -DDTSEARCH -DOLIAS_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO > .depend
gcc: fatal error: no input files
compilation terminated.
make[4]: [.depend] Error 4 (ignored)
...
make[6]: Entering directory `/home/griffinm/cdesktopenv-code/cde/programs/dtinfo/dtinfo/src/cgm'
gcc -g -pipe -E -MM -MG -I../../../../../exports/include/DtI -I/X11/include -I../../../../.. -I../../../../../exports/include -I../../../../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DDtinfoClient -DUseMotifXpm -DUseTooltalk -DUseSessionMgmt -DUseWideChars -DInternationalize -DDTSEARCH -DOLIAS_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO cgmcmds.c cgmcommon.c cgmio.c cgmtext.c getcgm.c > .depend
gcc -g -pipe -E -MM -MG -I../../../../../exports/include/DtI -I/X11/include -I../../../../.. -I../../../../../exports/include -I../../../../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DDtinfoClient -DUseMotifXpm -DUseTooltalk -DUseSessionMgmt -DUseWideChars -DInternationalize -DDTSEARCH -DOLIAS_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO testcgm.c >> .depend
gcc -g -pipe -E -MM -MG -I../../../../../exports/include/DtI -I/X11/include -I../../../../.. -I../../../../../exports/include -I../../../../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DDtinfoClient -DUseMotifXpm -DUseTooltalk -DUseSessionMgmt -DUseWideChars -DInternationalize -DDTSEARCH -DOLIAS_LITTLE_ENDIAN -DFUNCPROTO=15 -DNARROWPROTO >> .depend
gcc: fatal error: no input files
compilation terminated.
make[6]: [.depend] Error 4 (ignored)
...
make[4]: Leaving directory `/home/griffinm/cdesktopenv-code/cde/programs/dtlogin/config'
gcc -g -pipe -O2 -fno-strict-aliasing -Wno-write-strings -ansi -I/usr/include/freetype2 -I../.. -I../../exports/include -I../../imports/motif/include -I/usr/include -Dlinux -D__x86_64__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DUSE_XINERAMA -DFUNCPROTO=15 -DNARROWPROTO -DUNIXCONN -DTCPCONN -DBINDIR=\"/usr/bin\" -DXDMDIR=\"/var/dt\" -DOSMAJORVERSION=3 -DOSMINORVERSION=15 -DCDE_INSTALLATION_TOP=\"/usr/dt\" -DCDE_CONFIGURATION_TOP=\"/etc/dt\" -D_NO_PROTO -c -o access.o access.c
In file included from access.c:59:0:
dm.h:85:24: fatal error: X11/Xdmcp.h: No such file or directory
# include <x11 xdmcp.h="">
^
compilation terminated.
make[3]: *** [access.o] Error 1</x11>
There are dtappbuilder errors too, but I am not yet concerned with those.
I did some google-ing and found a thread that suggested I needed to symlink my motif libraries in the motif/include directory, but I am not sure I have the same issue.
Let me say thank you to all of the team that has made this possible. I have wanted to use CDE on Linux for as long as I have been using it. I am now very close.
Sorry for the long post.
Thanks for any and all help.
Regards,
Michael
Your last message looks like something is missing on your system.
You may try to install the package libXdmcp-devel
The other messages come from the depend stage. They are not nice,
but can be ignored at the moment.
Looks like that was the package I didn't have. I rebuilt and now see dtlogin.
Thanks.
-- Michael