Copyright © 2008-2010,2015-2017 Oliver Hamann. Homepage: http://eaglemode.sourceforge.net/
This text describes the installation from source code. You may first check the download page if it has another way of installation for you operating system (http://eaglemode.sourceforge.net/download.html).
For installing Eagle Mode from source code, please first download the source package (it is named eaglemode-version.tar.bz2), unpack it, and then cd into the unpacked directory.
After that, the project has to be compiled (built) and then it can be installed. Here are the basic commands for doing that:
perl make.pl build
perl make.pl install
This would build the project using the GNU compiler, and it would install to a default directory (on UNIX-like systems it is /usr/local/eaglemode). There are some options you can give to the commands. For example, if you want to install to another directory, and if you want a desktop menu entry, say something like:
perl make.pl install dir=/opt/eaglemode menu=yes
A full description of all the options can be seen with:
perl make.pl help
Hints:
If you wonder about the files in the bin directory: Most of these executables require special environment variables and cannot be run directly.
perl make.pl build
perl make.pl install dir=/usr/lib/eaglemode
cd /usr/lib/eaglemode
mv -T doc ../../share/doc/eaglemode
ln -s ../../share/doc/eaglemode doc
mv -T res ../../share/eaglemode
ln -s ../../share/eaglemode res
mv -T etc /etc/eaglemode
ln -s /etc/eaglemode etc
cd /usr/bin
ln -s ../lib/eaglemode/eaglemode.sh eaglemode
cd /usr/lib
ln -s eaglemode/lib/*.so .
cd /usr/include
ln -s ../lib/eaglemode/include/* .
After installing Eagle Mode on Cygwin, and before starting it for the first time, you must rebase all Cygwin DLLs including those of Eagle Mode. Please get familiar with the rebaseall program. The basic steps are as follows (remember to replace the paths according to your installation):
Quit all programs, stop the "CYGWIN cygserver" service (if running), open a Windows Command box and type these commands:
# set PATH=c:\cygwin\bin
# ash
# bash
# ls -1 --indicator-style=none /usr/local/eaglemode/lib/*.dll > /tmp/extra.lst
(At this point you could add further non-standard DLLs to /tmp/extra.lst)
# cat /tmp/extra.lst
(Check that the Eagle Mode DLLs are shown by the above command)
# exit
(Back in ash, never do the following in bash or while any other Cygwin program is running)
# rebaseall -T /tmp/extra.lst -v
You have the choice: emX11 or emWnds
If you want Eagle Mode to use the Windows API directly instead of X11, set the environment variable EM_GUI_LIB=emWnds before starting. But note that the file manager commands require X11 in any case.
Flaws
Next Reading: General User Guide |