INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
Installing Orca on QNX Neutrino
These are detailed instructions for installing Orca on QNX Neutrino Real Time OS. They are known to work with OS version 6.3 SP3. See Download and Install Orca for general guidelines. OS and UtilitiesQNX standard installation includes a minimum set of UNIX utilities. If you are going to be doing some develepment in QNX it helps if you add some basics. Get the the 3rd party package CD, run the Installer (click on Launch in low-left corner) and install the following:
Set up environment variables by adding this to $HOME/.profile export CXX=QCC export CC=qcc export CXXFLAGS="-V3.3.5,gcc_ntox86_cpp" export CFLAGS="-V3.3.5,gcc_ntox86" export LDFLAGS="-lang-c++ -lm" export CVS_RSH=ssh Standard shell is ksh. If you prefer to use bash, you can, it is installed in /opt/bin. But the environment does not seem to be setup automatically. These environment variables must be defined for you to be able to compile stuff. export PATH=$PATH:/opt/X11R6/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/qnx630/host/qnx6/x86/usr/bin:\ /usr/qnx630/host/qnx6/x86/usr/sbin:/usr/qnx630/host/qnx6/x86/sbin:/usr/qnx630/host/qnx6/x86/bin:\ /usr/qnx630/host/qnx6/x86/usr/photon/appbuilde export QNX_HOST=/usr/qnx630/host/qnx6/x86 export QNX_TARGET=/usr/qnx630/target/qnx6 CMakeMinimum version required 2.4-patch 2 (latest tested: 2.4-patch 6). $ tar -xzf cmake-[VERSION].tar.gz $ cd cmake-[VERSION] $ ./bootstrap $ make # make install IceMinimum version required 3.2.0 (latest tested: 3.2.0). Ice packages for QNX do not exist, so we have to build from source. Following the instructions below will install Ice to the default location First, install Ice dependencies. You can download the ThirdPartySources archive from ZeroC but they tend to be a bit out of date. Below we point out where newer versions are required.
$ tar -xzf expat-[VERSION].tar.gz $ cd expat-[VERSION] $ ./configure --prefix=/opt/expat-[VERSION] $ make # make install # ln -s /opt/expat-[VERSION] /opt/expat
$ tar -xzf bzip2-[VERSION].tar.gz $ cd bzip2-[VERSION] $ make # make install PREFIX=/opt/bzip2-[VERSION] # ln -s /opt/bzip2-[VERSION] /opt/bzip2
$ tar -xzf db-4.5.20.NC.tar.gz $ cd db-4.5.20.NC/build_unix $ ../dist/configure --enable-cxx --prefix=/opt/db-4.5.20 $ make $ QCC -A libdb_cxx-4.5S.a .libs/*.o # make install # cp libdb_cxx-4.5S.a /opt/db-4.5.20/lib/. # ln -s /opt/db-4.5.20 /opt/db
$ tar -xzf openssl-[VERSION].tar.gz $ cd openssl-[VERSION] $ ./config --prefix=/opt/openssl-[VERSION] $ make # make install # ln -s /opt/openssl-[VERSION] /opt/openssl Now Ice itself.
OrcaBuild and install Orca2 distribution.
Make sure that the binaries and executables are in the path. You may want to add a snippet to your export ORCA_HOME=/opt/orca-[VERSION] export PATH=$ORCA_HOME/bin:$PATH export LD_LIBRARY_PATH=$ORCA_HOME/lib:$LD_LIBRARY_PATH These environment variables are optional but you may as well put them into your # uncomment to change the default location of Orca installation # export ORCA_INSTALL=/opt/orca-[VERSION] # uncomment to change the default location of the Orca global config file # export ORCA_GLOBAL_CONFIG=$HOME/.orcarc You are finished. |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)