Here we go, after applying Marcin's patches, I can bring up Xsession using
these notes - can we make a wiki page for FreeBSD?  :-)

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"

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 .

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/

# It seems this dir needs to be writable by every user of CDE
chmod -R a+rwx /var/dt

# Directory required for calendar service
mkdir -p /usr/spool/calendar
 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
export PATH=/usr/dt/bin:$PATH
 export LANG=C
startx /usr/dt/bin/Xsession

-- 
Jubal Skaggs
Finsight, LLC
P.O. Box 23361
Juneau, AK 99802
Phone: (206) 905-9437
Cell: (907) 957-1762
------------------------------------------------------------------------------
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

Reply via email to