Detailed installation instructions
Installation instruction for special system requirements.
.tcshrc file (Solaris) or maybe your .bashrc file (Linux). You do not need to set CVSROOT if you download a release version of PACLib..tcshrc file version:Here is the# PACLib settings... setenv PAC_HOME $HOME/PACLib setenv PAC_MODULEPATH $PAC_HOME/lib setenv PAC_CXXFLAGS -DPAC_DEBUG setenv PKG_CONFIG_PATH $PAC_HOME/lib/pkgconfig
.bashrc file version:# PACLib settings... export PAC_HOME=$HOME/PACLib export PAC_MODULEPATH=$PAC_HOME/lib export PAC_CXXFLAGS=-DPAC_DEBUG export PKG_CONFIG_PATH=$PAC_HOME/lib/pkgconfig
/opt/gnome/lib/pkgconfig to the PKG_CONFIG_PATH!
cd PACLib) and execute the following commands... ...in the following directories:SETUP BUILD
Should this cause any problems it might be due to incorrectly set paths or uninstalled packages. Sometimes the resource files are not readed, then you can try the following:
This should set the correct paths but it will also overwrite yoursource /home/paclib/.tcshrc
PAC_HOME and PAC_MODULEPATH variables. Please reset them to the correct values as detailed above before carrying on. Also tell Christian or Oliver about the problem so that your path settings can be rectified.-D__linux__, because this enables some special linux parts in the PACLib source files. The define is usually specified in the linux gcc configuration files by default.
PAC_HOME is set correctly. PAC_HOME also needs to be set if your are working under Windows. This command creates a new subdirectory calledbin/PACCreateModuleFiles PACTools/PACCreateModuleFiles/module.config
MyModule which contains the module source and makefiles. Change into this directory and execute: Now the module installed inSETUP BUILD
PAC_HOME/lib.
PACCreateProgramFiles. Make sure you are in the main PACLib path and execute the following command: This creates a new directory calledbin/PACCreateProgramFiles MyProg
MyProg. Change to this directory and execute the following two commands: The program executable is now installed underSETUP BUILD
PAC_HOME/bin.
This runs the test program. You can now edit the module sources inbin/MyProg
MyModule/source and the program source in MyProg/source.
configure.in and Makefile.am). Each subproject includes its own Makefile.am file which specify the source and header files for the project. The configure.in is used to create a configure script with the autoconf tool. This script (configure) will determine your system setup and create system specific Makefiles.SETUP script. This script will call some programs that create a configure script. This configure script can be used to create platform specific makefiles.SETUP script you will find a BUILD script. This script will call the configure script and execute the make command. After this call you should have the binaries in the PACLib/bin and the libraries in PACLib/lib directory.Attention
The environment variable PAC_HOME should be set to your PACLib directory before calling BUILD.
If you want to have more control over the installation process, you should call the configure script yourself. You can get more informations about the supported options with the command: configure --help
|
Perception-Action Components Library - PACLib developed by the Cognitive Systems Group |