EDE 2.0 Beta Installation Howto

/!\ This is beta release and is meant for those who would like to contribute to EDE with some code, suggestions and early tests. It is not completed product and some things will be changed in future releases.

Prerequisites

Make sure you have listed requirements or EDE will not compile. If required packages has given version, please use that (or greater) release.

Required programs and libraries

This is the list of must-have programs and libraries or EDE and edelib (EDE Library) compilation will fail. All these programs and libraries already comes with your distribution as package (or as opt-in from package repository), and if they are not installed, please use your distribution specific installation procedure to install it.

Optional programs and libraries

This is the list of programs and libraries, used by EDE and edelib, we would like you have, but are not mandatory. If they are not present, certain features will be disabled.

edelib

EDE

There is known issue (Bug #156) with python >= 2.6.2 and building EDE documentation. If you get into the problems as described in bug report, please use the solution given in the comment of that report.

EDE programs and libraries

This is the list of EDE related programs and libraries you should download from our download pages:

If you are using Ubuntu, check out the the Ubuntu installation guide for a more exact list of dependencies for eFLTK.

Note

If you are going to install EDE on default location (/usr/local), make sure you uninstall previous EDE version or use different prefix (like: ./configure --prefix=/opt/ede).

If you had previously installed EDE 2.0 Alpha, make sure you uninstall it completely, no matter where it has been installed.

Compiling EDE

After you extracted each of EDE related programs, compile them in given order.

Building jam

Jam is make replacement we are using to compile EDE and edelib. Some distributions comes with jam package and make sure it is official jam or ftjam. Today common is Boost jam, but EDE can't be compiled with it!

To see if it official jam, execute:

 jam -v

and if you get something like:

 Jam 2.5. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.

or

 FT-Jam 2.5.3. OS=LINUX. (C) 1993-2003 Christopher Seiwald, see www.freetype.org/jam/

then is ok. If you are not sure what jam version you have (but have already some), let edelib's configure script detects it and report if can be used. You can always download jam we are using from our download pages is you are not sure.

If you downloaded jam source, it already comes with Makefile, so running:

 make

will compile it.

Installation is done by copying jam binary at the common binary location, like /usr/local/bin. Jam binary will be compiled in bin.YOUROS location, where YOUROS is operating system you are running, e.g. on Linux, jam will be in bin.linuxx86 and on FreeBSD will be in bin.freebsdx86. If you are using ftjam, binary directory will be bin.unix.

Copying is done with:

 cp bin.YOUROS/jam /usr/local/bin

Compiling eFLTK

eFLTK compilation procedure is much the same as described on InstallationHowTo, so here is the quick reference:

 cd efltk/
 ./configure --disable-mysql --disable-unixODBC && make

and as superuser:

 make install

Compiling edelib

The similar commands are used to compile edelib. In case you downloaded edelib from repository, make sure to run:

./autogen.sh

first and it will create correct configure script. If you downloaded official source release, this step is not needed because configure script is already created. The rest is:

 ./configure

and run jam (not make!):

 jam

and as superuser:

 jam install

Compiling ede

Compiling ede is the same as for edelib. Also, if you downloaded ede sources from repository, make sure to run:

./autogen.sh

first, then:

 ./configure

then:

 jam

and as superuser:

 jam install

(!) Note: if you downloaded ede source code from repository (ede2 module) default icon theme is not built, so you must do it manually. This is really simple procedure where you should pass only one parameter to jam tool (you have to have librsvg installed too). So, instead jam and jam install as given above, you should run:

 jam -sBUILD_ICON_THEMES=1

and

 jam -sBUILD_ICON_THEMES=1 install

This will build ede and icon theme, installing both.

Starting EDE

If you are display or login manager (like gdm or kdm), EDE installation procedure will setup needed things and you will be able to choose it directly as session from the manager menu. On other hand, if you are starting desktop with startx command, put startede at the end of .xinitrc file (found in your home directory, like /home/your_username/.xinitrc, but make sure you comment previous window managers or desktop starting scripts if they exists.

If you do not have .xinitrc file in your home directory or you are not sure how things should be modified, here is a working sample you can copy and paste:

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# Comment your previously used window managers or desktops
# /usr/bin/cool-window-manager
# /usr/local/bin/cool-desktop

# Start EDE
startede

Conclusion

That would be it. Happy using and let us know what you are thinking, like and dislike :). Please report any issues at http://bugs.equinox-project.org.

InstallationHowTo2.0b (last edited 2010-01-12 15:32:10 by SanelZukan)