We are currently requesting that all contributions to the project are licenced under the MIT licence. Find out why? |
WARNING: THIS GUIDE IS FOR ADVANCED USERS FOR USE IN BUILDING AND PORTING.
Note: Compilation with system clang is now supported on FreeBSD 10 and later
Table of Contents
These instructions have been successfully tested on :
Install FreeBSD 12-RELEASE or FreeBSD 13-RELEASE and install/update your ports tree.
freebsd-update fetch
freebsd-update install
reboot.
Complete install documentation can be found in the FreeBSD Handbook.
If you plan to install the dependencies from source, fetch the current ports tree and build the portmaster utility:
portsnap fetch extract update
cd /usr/ports/ports-mgmt/portmaster
make -DBATCH install clean
the source packages can be built and installed using the following sequence
portmaster -C -D --no-confirm -y \
x11/xorg \
devel/git \
converters/iconv \
shells/ksh93 \
x11-toolkits/open-motif \
lang/tcl86
textproc/opensp
If you don't want to wade through the many configuration steps and build with the standard configuration instead, add the -G parameter to portmaster.
More information about ports and packages can be found in the FreeBSD Handbook Ports chapter. More information about X11 in FreeBSD can also be found in the X11 Chapter in the FreeBSD Handbook.
To install precompiled binary packages, make the following call
pkg install cde xorg
If you wish to track the CDE development branch,
pkg install cde-devel xorg
The development branch is updated monthly though it may be updated more frequently.
Add to /etc/rc.conf
rpcbind_enable="YES"
inetd_enable="YES"
Reboot
Use the git clone command here:
On most platform you can use HTTPS:
git clone https://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code
If that doesn't work (for instance some BSD distros) , use the native git protocol instead
git clone git://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code
Or download the latest source release:
Note: The source archive will become out of date. When you want the latest code, clone the git repository.
Version 2.5.0 and newer (autoconf)
For the BSD's, you must use gmake, and you must specify the location of the TCL install directory (the below example assumes TCL v8.6).
$ ./autogen.sh
$ ./configure --with-tcl=/usr/local/lib/tcl8.6 MAKE="gmake"
$ gmake
$ sudo gmake install
Version 2.4.0 and earlier (imake) - deprecated
cd cdesktopenv-code/cde
make World
admin/IntegTools/dbTools/installCDE -s `pwd`
You can now start CDE login manager as root:
/usr/dt/bin/dtlogin -nodaemon
Alternatively, you can start an X session as a normal user:
startx /usr/dt/bin/Xsession
Switch to the CDE build directory and copy and enable the rc-file
cp contrib/rc/freebsd/dtlogin /usr/local/etc/rc.d/
echo 'dtlogin_enable="YES"' >> /etc/rc.conf
echo "allowed_users=anybody" > /usr/local/etc/X11/Xwrapper.config
reboot
On Wed, 12 Mar 2014, Christopher Turkel wrote:
I think Dtinfo builds on all of the BSD's now, doesn't it?
--
Jon Trulson
This page needs a maintainer who uses FreeBSD :)
With 2.2.4 (to be released today) the section about building Motif with printing enabled should be removed. This should no longer be a requirement as printing via Xp is no longer supported by X11 anyway.
I'm using FreeBSD 10.3 and couldtake over maintainance of the page.
On 19 June 2016 at 20:22, Jon Trulson jon13@users.sf.net wrote:
On Wed, 7 Sep 2016, "Danilo Schöneberg" wrote:
I think you already have wiki edit rights, so go for it :)
[...]
--
Jon Trulson
"If we can hit that bull's-eye, the rest of the dominoes will fall
like a house of cards... Checkmate."
-- Zapp Brannigan
Using FreeBSD 10.3, I was able to complete the build of CDE. I hit a wall in step 10
./installCDE -s /path/to/cdesktopenv-code/cde
I tried tracking down the linkages for kde, but I could not find what I needed.
Would someone point me to the documentation I need to reference?
This should be the full path to where the source code was built. So, assuming I cloned it into my src directory as cdesktopenv-code, the path would be:
./installCDE -s /home/jon/src/cdesktopenv-code/cde
I discovered in FreeBSD 11.1 that CDE is in the ports.
Hi I install CDE 2.3.0 in freebsd it work good, but when i try enter using /usr/dt/bin/Xsession dont work and using X & /usr/dt/bin/Xsession i have a problem with AIGLX and swiching the resolution
I fixed, the simple way to do that is using a desktop manager, and I install lightdm
Hi, I would like to install CDE but ksh93 package is not ported to aarch64. However, there is another ksh2020 package and port which supports this architecture. I have tried to compile with the ksh2020 but it gives an error message ksh93 not found. Are there any walkarounds to use ksh2020 package?
Have you tried compiling the ksh package from the ports collection?
On Fri, 8 Jan 2021 at 20:32, Sebastian Tamon Hascilowicz
maselko@users.sourceforge.net wrote:
So, didn't the ksh93 package compile? You write it hasn't be ported,
which I take to mean there is no binary package for it, as the ports
tree is the same for all platforms. The source package in the port
tree might still compile. And if you tried, perhaps attach a log of
the compile process. I have painful experience in making it compile on
NetBSD until they finally fixed it in NetBSD 8.
On Sat, 9 Jan 2021 at 10:25, Danilo Pecher
fathippo@users.sourceforge.net wrote:
Thank you for your response. So there are several ports for ksh on FreeBSD. They are: shells/ksh93, shells/ksh93-devel and shells/ksh2020. The only one which I was able to compile was ksh2020. However, when I compile CDE, it shows that ksh93 is not found. Thus, I am asking is there any walk around? I will try to compile with ksh2020's ksh93 and record the compilation messages.
Last edit: Sebastian Tamon Hascilowicz 2021-01-09
Here is the make log.
the issue seems to be the same as listed here
https://sourceforge.net/p/cdesktopenv/mailman/message/35419561/
Last edit: Sebastian Tamon Hascilowicz 2021-01-09
Have you tried to soft-link the ksh2020 binary to ksh93? Not sure if
it works, but unless they've done major changes to it, it might be
worth a try.
On Sat, 9 Jan 2021 at 14:49, Sebastian Tamon Hascilowicz
maselko@users.sourceforge.net wrote:
The make log from the failed shells/ksh93 build would be more helpful.
On Sat, 9 Jan 2021 at 14:49, Sebastian Tamon Hascilowicz
maselko@users.sourceforge.net wrote:
It is marked as broken. Thus I cannot compile shells/ksh93.
Found the problem. ksh2020 port does not install libAST which is required for CDE to install. Thus, it cannot be installed. Well, hopefully ksh93 port will be supporting my architecture in the future. Thank you for your help!
ksh93
I have a script which creates a binary package for ksh93 for FreeBSD aarch64.
Last edit: Sebastian Tamon Hascilowicz 2021-01-27
Updated the page with added information about port builds and dtlogin.
CDE 2.4.0: i386 is now broken because it cannot bind to a temporary of type va_list.
I'll prepare a vm and have a look at it. What version are you using?
I've tried compiling CDE 2.4.0 several times, but the system hangs on a blue screen "Starting CDE. CDE 2.3.2 installed from previously saved packages CDE 2.3.2 txz from the / var / cache / pkg/ folder.
Vào 19:07:26 GMT+3, Thứ Ba, 2 tháng 11, 2021, Danilo Pecher fathippo@users.sourceforge.net đã viết:
I'll prepare a vm and have a look at it. What version are you using?
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cdesktopenv/wiki/FreeBSDBuild/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
FreeBSD 13.0 RELEASE, CDE 2.3.2. CDE is not currently available for i386.
I'll prepare a vm and have a look at it. What version are you using?
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/cdesktopenv/wiki/FreeBSDBuild/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/