To see available configuration options run:
   ./configure --help=recursive


To install Cube just run:
   ./configure --prefix=<install_dir>
   make
   make install

After installing you might add <install_dir>/bin to your path:
   export PATH=$PATH:<install_dir>/bin
or
   setenv PATH=$PATH <install_dir>/bin

"<install_dir>/bin/cube-config"  provides a list options for easy usage of 
cube libraries in third party applications. 

To see available options invoke "<install_dir>/bin/cube-config --help"




NOTICE:

Cube GUI requires installed Qt development kit. The Qt library should be builded with the same compiler you are using to build Cube GUI.

"configure" script tries to determine if the compilers are different and gives a message in the case they are not. 
Nevertheless it tries to build the GUI with the selected (or automatically detected compiler) and "default" Qt specifications.

If it fails, one can specify the proper compiler suite for the frontend compilation by setting an option --with-frontend-compiler-suite=[suite] and setting 
a proper Qt specification via "--with-qt-specs"


One can specify used Qt library with an option --with-qt=[PATH to Qt'q qmake tool].
With the option "--with-qt-specs" one can specify the specification for given compiler. 


For example:
  ./configure --with-frontend-compiler-suite=gcc CXXFLAGS_FOR_BUILD="-m64"  CFLAGS_FOR_BUILD="-m64" --with-qt-specs=linux-gcc
  
  

To see more "configure" options run
   ./configure --help=recursive 