BALL-Project / ball

The Biochemical Algorithms Library
GNU Lesser General Public License v2.1
72 stars 31 forks source link

Error during installation #614

Closed ayanrc closed 7 years ago

ayanrc commented 7 years ago

Have the following error while installing on Ubuntu 16.04. Please help fixing...

> make
> Scanning dependencies of target tbb
> [  1%] Creating directories for 'tbb'
> [  3%] No download step for 'tbb'
> [  4%] No patch step for 'tbb'
> [  6%] No update step for 'tbb'
> [  7%] No configure step for 'tbb'
> [  9%] Performing build step for 'tbb'
> -- tbb build command succeeded.  See also /home/ayan/ball_contrib/build/src/tbb-stamp/tbb-build-*.log
> [ 10%] Performing install step for 'tbb'
> -- tbb install command succeeded.  See also /home/ayan/ball_contrib/build/src/tbb-stamp/tbb-install-*.log
> [ 12%] Completed 'tbb'
> [ 12%] Built target tbb
> Scanning dependencies of target sip
> [ 13%] Creating directories for 'sip'
> [ 15%] No download step for 'sip'
> [ 16%] No patch step for 'sip'
> [ 18%] No update step for 'sip'
> [ 20%] Performing configure step for 'sip'
> -- sip configure command succeeded.  See also /home/ayan/ball_contrib/build/src/sip-stamp/sip-configure-*.log
> [ 21%] Performing build step for 'sip'
> -- sip build command succeeded.  See also /home/ayan/ball_contrib/build/src/sip-stamp/sip-build-*.log
> [ 23%] Performing install step for 'sip'
> -- sip install command succeeded.  See also /home/ayan/ball_contrib/build/src/sip-stamp/sip-install-*.log
> [ 24%] Completed 'sip'
> [ 24%] Built target sip
> Scanning dependencies of target qt5
> [ 26%] Creating directories for 'qt5'
> [ 27%] No download step for 'qt5'
> [ 29%] No patch step for 'qt5'
> [ 30%] No update step for 'qt5'
> [ 32%] Performing configure step for 'qt5'
> CMake Error at /home/ayan/ball_contrib/build/src/qt5-stamp/qt5-configure-Release.cmake:16 (message):
>   Command failed: 1
> 
>    './configure' '-prefix' '/home/ayan/ball_contrib/build/install' '-opensource' '-confirm-license' '-shared' '-nomake' 'examples' '-no-nis' '-no-harfbuzz' '-skip' 'qt3d' '-skip' 'qtcanvas3d' '-skip' 'qtconnectivity' '-skip' 'qtdoc' '-skip' 'qtgraphicaleffects' '-skip' 'qtimageformats' '-skip' 'qtquickcontrols2' '-skip' 'qtsensors' '-skip' 'qtserialbus' '-skip' 'qtserialport' '-skip' 'qtwayland' '-skip' 'qtwebview' '-release' '-qt-xcb'
> 
>   See also
> 
>     /home/ayan/ball_contrib/build/src/qt5-stamp/qt5-configure-*.log
> 
> 
> CMakeFiles/qt5.dir/build.make:105: recipe for target 'src/qt5-stamp/qt5-configure' failed
> make[2]: *** [src/qt5-stamp/qt5-configure] Error 1
> CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/qt5.dir/all' failed
> make[1]: *** [CMakeFiles/qt5.dir/all] Error 2
> Makefile:83: recipe for target 'all' failed
> make: *** [all] Error 2
> 
philthiel commented 7 years ago

Hi,

obviously, this is the ball_contrib installation and the Qt5 configuration fails. Qt5 has lots of dependencies in order to be built on Ubuntu (essentially everywhere). Please have a look here for packages needed to build ball_contrib on Ubuntu 16.04

https://abibuilder.informatik.uni-tuebingen.de/archive/contrib/os_support/ubuntu_1604/dependencies_ball.sh

This is the script we use to perform build testing.

Best, Philipp

ayanrc commented 7 years ago

Thanks! But the build step for 'qt5' never stops. It's been 10 mins now.

~/ball_contrib/build$ make
[ 12%] Built target tbb
[ 24%] Built target sip
[ 26%] Performing configure step for 'qt5'
-- qt5 configure command succeeded.  See also /home/ayan/ball_contrib/build/src/qt5-stamp/qt5-configure-*.log
[ 27%] Performing build step for 'qt5'
philthiel commented 7 years ago
  1. Fine
  2. Depending on your machine Qt5 can build easily for hours.

You can speed up the ball_contrib Qt build if you do not need Web/HTML support from BALL by using -DSKIP_QTWEBENGINE=TRUE for the cmake configuration run. If you you want to do that now you first have to clean up your build directory and re-run the stuff.

Qt build will be faster then but still takes a lot of time!

ayanrc commented 7 years ago

Thanks! :)

philthiel commented 7 years ago

Perfect!

If you have further questions, may I redirect you to our user mailing list? (This is the issue tracker ; )

https://groups.google.com/forum/#!forum/ball-user-list