Hi All

Below is a proposed README-2.2.0-INSTALL file toincluded with the source. It's 
pretty much a straight copy of the wiki.

------------------

Before you start, check and see if your platform is supported. The most update 
list can be found on the wiki:
http://sourceforge.net/p/cdesktopenv/wiki/SupportedPlatforms/

********************************************************************************************
CDE IS ALPHA QUALITY AND MAY NOT BUILD AND/OR WORK PROPERLY.
********************************************************************************************

Not building yet:

Dtinfo - A program for displaying the guide series of books.
Dtksh - A version of the ksh shell with additions for creating GUI applications.
Documentation - Pages required for dtinfo.

Builds but doesn't work completely:

Dtcreate - Used for creating new action icons for menus etc, fails to startup 
with Tooltalk error - tt_ptype_declare (TT_ERR_PTYPE)

Dtmail - "Mailer has not been properly installed, and cannot run because the 
execution group is incorrectly set."

Dtcm/rpc.cmsd - calendar manager. There are a variety of problems with this.

Install dependencies for Debian and Ubuntu:

git (for downloading from source repository)
build-essentials or build-essential
libxp-dev
libxt-dev
libxmu-dev
libxft-dev
libmotif or libmotif3 or libmotif4 (openmotif)
libmotif-dev (openmotif)
libx11-dev
libfreetype6-dev
tcl-dev
ksh (required for database to any script, and probably dtksh building)
m4 (required for nsgmls building)
ncompress (old style unix 'compress' needed when building help files)
xfonts-100dpi (for nicer looking fonts)
xfonts-100dpi-transcode or xfonts-100dpi-transcoded
rpcbind (or portmap) requires running in insecure mode (-i) see below
bison
xbitmaps

On Debian Squeeze:
byacc

Do not install:
Lesstif
imake (xutils-dev)

Generate additional locale support:

sudo locale-gen de_DE
sudo locale-gen es_ES
sudo locale-gen fr_FR
sudo locale-gen it_IT

Modify rpcbind to run in insecure mode:

On Ubuntu
Edit /etc/init/portmap.conf
On Debian
Edit /etc/init.d/rpcbind
Find the line "OPTIONS="-w" and replace with "OPTIONS="-w -i"

Restart the service or reboot the machine.

Link in X11 headers:

cd cdesktopenv-code/cde
mkdir -p imports/x11/include
cd imports/x11/include
ln -s /usr/include/X11

Build:

cd /path/to/cdesktopenv-code/cde
make World

The build will terminate with a successfully built message.

After you've built World, it should have compiled up the libraries and quite a 
few of the apps.

To check look in /path/to/cdesktopenv-code/cde/exports/lib, there should be 10 
different CDE libraries.

Test run some applications:

export LD_LIBRARY_PATH=/path/to/cdesktopenv/cde/exports/lib 
cd cdesktopenv-code/cde/programs/dtcalc
./dtcalc

Install:

The install actions should only need to be done once on install, or on 
reinstall of later versions.

(Replace /path/to/ with the path to the location of your source tree.)

# Install CDE
cd cdesktopenv-code/cde/admin/IntegTools/dbTools
sudo ./installCDE -s /path/to/cdesktopenv-code/cde/

# Run the linux post install script (this does have a couple of errors reported)
cd cdesktopenv-code/cde/admin/IntegTools/post_install/linux
sudo ./configRun -e

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

# Directory required for calendar service
sudo mkdir -p /usr/spool/calendar

Running:

Switch to virtual terminal and log in as root

# kill off xserver.  For example, if you are running lightdm:
service lightdm stop

# note, you do not need to run rpc.ttdbserver.  If you *really* want to, 
# then start it with /usr/dt/bin/rpc.ttdbserver and confirm its running
# rpcinfo -p

You can log off root and into your regular user here

# add /usr/dt/bin to your PATH
export PATH=$PATH:/usr/dt/bin
export LANG=C
# Start CDE
startx /usr/dt/bin/Xsession

This should boot into the CDE desktop

(You can change the export LANG=C to LANG="fr_FR.ISO8859-1", 
LANG="de_DE.ISO8859-1", LANG="es_ES.ISO8859-1" or LANG="it_IT.ISO8859-1", for 
non English languages.)

Running from dtlogin:

# kill off xserver.  For example, if you are running lightdm:
service lightdm stop

# note, you do not need to run rpc.ttdbserver.  If you *really* want to, 
# then start it with /usr/dt/bin/rpc.ttdbserver and confirm its running
# rpcinfo -p

export PATH=$PATH:/usr/dt/bin
export LANG=C
cd /usr/dt/bin
./dtlogin

This should start the login screen.

(You can change the export LANG=C to LANG="fr_FR.ISO8859-1", 
LANG="de_DE.ISO8859-1", LANG="es_ES.ISO8859-1" or LANG="it_IT.ISO8859-1", for 
non English languages. Or choose a language from the dtlogin UI.)

Running from lightdm/gdm/mdm/kdm:

See this page on the wiki
http://sourceforge.net/p/cdesktopenv/wiki/Createxsession/






 

 
------------------------------------------------------------------------------
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