Obtaining source code
Get tar file and extract:
Open up a Shell console...
Use KDE Konqueror (My computer on the Desktop) to create a new folder: /use/local/src/ACE+TAO and copy the extracted
"ACE_wrappers" directory into the newly created one.
Set envirenment variables
Use KDE Konqueror to go to some /home/'user' directory. Copy the .bashrc file (this is hidden!!) and past it into the
/root directory..
Open this file with KWrite (using the right mouse button and Open With) and add the following lines to the end of this
file...
- export ACE_ROOT=/usr/local/src/ACE+TAO/ACE_wrappers
- export TAO_ROOT=$ACE_ROOT/TAO
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ACE_ROOT/lib
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- export PATH=$PATH:/usr/local/pgsql/bin
Close and reopen the Shell console. Check with the "export -p" command if the variables are set correctly..
Create config files...
Create a file "$ACE_ROOT/ace/config.h" containing:
#include "ace/config-linux.h" (with newline=return at the end!)
Create a file "$ACE_ROOT/include/makeinclude/platform_macros.GNU containing:
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU (plus newline)
(No # before include!!)
Build
Open up a Shell console...
- cd $ACE_ROOT/ace
- make ACE
- cd $ACE_ROOT/apps/gperf
- make gperf
- cd $TAO_ROOT
- make Naming_Service
If you have any problems during build, check if the config files are created correctly!!!!