On Sun, 19 Aug 2012, Jubal Skaggs wrote: > Here we go, after applying Marcin's patches, I can bring up Xsession using > these notes - can we make a wiki page for FreeBSD? :-)
Thanks for writing this up! > 1. Install freebsd9-amd64, get lib32 and ports > > 2. Add your hostname to the localhost line in /etc/hosts (I have a dhcp > address) > > 3. Update your ports tree with portsnap > > 4. install packages > pkg_add -r xorg > pkg_add -r git > pkg_add -r iconv > pkg_add -r bdftopcf > cd /usr/ports/shells/ksh93; make; make install > > 4. build openmotif from ports, fix the Makefile first (fixes a problem > building dtpad and dtmail related to XmPrintCallbackStruct) > cd /usr/ports/x11-toolkits/open-motif > vi Makefile > change the line > CPPFLAGS+= -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI > to: > CPPFLAGS+= -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI > -I${LOCALBASE}/include > > make > make install > > 5. add to /etc/rc.conf > hald_enable="YES" > dbus_enable="YES" > rpcbind_enable="YES" > rpc_lockd_enable="YES" > rpc_statd_enable="YES" Do we really need dbus if we have ToolTalk? :) (My X.org server works without hal as well but you are right about the package) > 6. reboot your machine. > > 8. clone the source from the git repository (I'm doing all of this as root > on an expendable machine.) > cd ~ > git clone git://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code > 9. make symlinks > cd ~/cdesktopenv-code/cde/imports > mkdir -p x11 > cd x11 > ln -s /usr/X11R6/bin . > ln -s /usr/local/include . > ln -s /usr/local/lib . > cd ~/cdesktopenv-code/cde/imports/motif > mkdir -p include > cd include > ln -s /usr/local/include/Xm . Until everything is fixed I would say you have to do ln -s /usr/local/bin/ksh93 /bin/ksh > 10. pull down sapers patches from the news server (hopefully these will be > fit to be merged into the mainline soon.) > cd ~/cdesktopenv-code/cde > git apply patch from: > http://sourceforge.net/mailarchive/forum.php?thread_name=1345083730-60762-1-git-send-email-saper%40saper.info&forum_name=cdesktopenv-devel > git apply patch from > http://sourceforge.net/mailarchive/forum.php?thread_name=1345334660-16345-1-git-send-email-saper%40saper.info&forum_name=cdesktopenv-devel > make World > 11. do the installation > # Install CDE > cd ~/cdesktopenv-code/cde/admin/IntegTools/dbTools > ./installCDE -s /path/to/cdesktopenv-code/cde/ I am using sudo ksh93 ./installCDE -s /path/to/cdesktopenv-code/cde/ > > # It seems this dir needs to be writable by every user of CDE > chmod -R a+rwx /var/dt Works for me as is : here's my ls -ld /var/dt: drwxr-xr-x 4 bin bin 512 19 sie 23:05 /var/dt > # Directory required for calendar service > mkdir -p /usr/spool/calendar My personal preference based on old UNIX experience: mkdir /var/spool/calendar ln -s /var/spool /usr/spool > mkdir -p /etc/tt > cp ~/cdesktopenv-code/cde/programs/tttypes/types.xdr /etc/tt > > 12. Fire it up :-) > export LD_LIBRARY_PATH=/usr/dt/lib:$LD_LIBRARY_PATH or ldconfig -m /usr/dt/lib > export PATH=/usr/dt/bin:$PATH > export LANG=C > startx /usr/dt/bin/Xsession I was still using my hacked up Xsession but you are right - this one works. //Marcin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel