Ubuntu 16.04 buld failing

Post Reply
brylie
Posts: 7
Joined: Tue Jan 17, 2017 3:55 pm

Ubuntu 16.04 buld failing

Post by brylie »

Hello,
I cannot build OpenViBE on Ubuntu 16.04. I have run the linux-install-dependencies script successfully, after manually installing its dependencies. Now, when running the linux-build script, I am getting the following output:

Code: Select all

$ sudo ./linux-build 

_______________________________________________________________________________

~/BCI/openvibe-1.3.0-src/local-tmp/linux-Release ~/BCI/openvibe-1.3.0-src/scripts

Creating makefiles...

-- Appending compilation flags...
-- Compilation flags used at source root: 
--   COMPILE_DEFINITIONS = 'OV_PROJECT_NAME="OpenViBE";OV_VERSION_MAJOR="1";OV_VERSION_MINOR="3";OV_VERSION_PATCH="0";TARGET_OS_Linux_Debian'
--   CMAKE_CXX_FLAGS = ' -fopenmp -Wall -msse2'
--   CMAKE_CXX_FLAGS_RELEASE = '-O3 -DNDEBUG'
--   CMAKE_CXX_FLAGS_DEBUG = '-g'
-- Note: Disabling Matlab plugin compilation by default
--   Found boost includes...
--   Found openvibe-common...
--   Found dl...
--   Found pthread...
--   Found OpenViBE...
--   Found OpenViBE module FS...
--   Found OpenViBE module System...
--   Found OpenViBE module XML...
--   FAILED to find GTK+ or its components...
--   FAILED to find Ogre3D/OIS...
--   Found boost thread...
--     [  OK  ] lib /usr/lib/x86_64-linux-gnu/libboost_thread.so
--   Found pthread...
--   Found rt...
--   FAILED to find X11...
--   Found dl...
--   Found pthread...
--   Found expat...
--     [  OK  ] lib /usr/lib/x86_64-linux-gnu/libboost_system.so
--   Found boost FileSystem...
--     [  OK  ] lib /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
--   Found boost chrono includes...
--     [  OK  ] lib /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--   Found rt...
--   Found OpenViBE module EBML...
--   Found openvibe-toolkit...
--   Found OpenViBE module TCPTagging...
--   Found OpenViBE module Socket...
--   Found VRPN...
--     [  OK  ] lib /home/brylie/BCI/openvibe-1.3.0-src/dependencies/lib/libvrpnserver.a
--     [  OK  ] lib /home/brylie/BCI/openvibe-1.3.0-src/dependencies/lib/libquat.a
-- Note: /home/brylie/BCI/openvibe-1.3.0-src/plugins/processing/matlab has been skipped by setting SKIP_PLUGINS_PROCESSING_MATLAB
--     Found Boost regex...
--     [  OK  ] lib /usr/lib/x86_64-linux-gnu/libboost_regex.so
--   FAILED to find eigen3...
--   FAILED to find fftw3...
--   FAILED to find it++...
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.5/Modules/FindLua51.cmake:94 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake-modules/FindThirdPartyLua.cmake:15 (FIND_PACKAGE)
  plugins/processing/stimulation/CMakeLists.txt:21 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/home/brylie/BCI/openvibe-1.3.0-src/local-tmp/linux-Release/CMakeFiles/CMakeOutput.log".

Why aren't these missing dependencies installed by the linux-install-dependencies script?

brylie
Posts: 7
Joined: Tue Jan 17, 2017 3:55 pm

Re: Ubuntu 16.04 buld failing

Post by brylie »

For reference, here is the output when I run

Code: Select all

./linux-install_dependencies

Code: Select all

./linux-install_dependencies 
Setting target folder to [/home/brylie/BCI/openvibe-1.3.0-src/scripts/../dependencies]...

Creating target tree structure...

Checking native dependencies...

Checking software script dependencies...
  Using as sh           : [/bin/sh]...
  Using as subversion   : [/usr/bin/svn]...
  Using as wget         : [/usr/bin/wget]...
  Using as tar          : [/bin/tar]...
  Using as gzip         : [/bin/gzip]...
  Using as bzip2        : [/bin/bzip2]...
  Using as unnzip       : [/usr/bin/unzip]...
  Using as make         : [/usr/bin/make]...
  Using as gcc          : [/usr/bin/gcc]...
  Using as g++          : [/usr/bin/g++]...
  Using as g77/gfortran : [/usr/bin/gfortran]...
  Using as sed          : [/bin/sed]...
  Using as find         : [/usr/bin/find]...
  Using as uname        : [/bin/uname]...
  Using as true         : [/bin/true]...
  Using as false        : [/bin/false]...
  Using as tail         : [/usr/bin/tail]...
  Using as automake     : [/usr/bin/automake]...
  Using as autoconf     : [/usr/bin/autoconf]...

Building packages that may not be available natively...

Package [itpp_external] is already built, skipped...
Package [itpp] is already built, skipped...
Package [liblsl] is already built, skipped...
Package [vrpn] is already built, skipped...
Install linux dependencies done

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Ubuntu 16.04 buld failing

Post by jtlindgren »

Hi Brylie, I posted some thoughts to the bug tracker.

http://openvibe.inria.fr/tracker/view.p ... 6#bugnotes

I'm not sure what could be done without debugging the script on your particular system. If you know linux scripting you could try to take a look if there's some obvious way why the detection fails. Possibly the expression

Code: Select all

        [[ -z `grep -E 'Ubuntu' /etc/lsb-release 2> /dev/null` ]] ; is_ubuntu=$?
inserts false to the 'is_ubuntu' variable for some reason. What does 'cat /etc/lsb-release' output with your system?


Cheers,
Jussi

brylie
Posts: 7
Joined: Tue Jan 17, 2017 3:55 pm

Re: Ubuntu 16.04 buld failing

Post by brylie »

jtlindgren wrote: What does 'cat /etc/lsb-release' output with your system?
I am running KDE Neon, so 'cat /etc/lsb-release' gives the following ourput:

Code: Select all

DISTRIB_ID=neon
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="KDE neon User Edition 5.9"

brylie
Posts: 7
Joined: Tue Jan 17, 2017 3:55 pm

Re: Ubuntu 16.04 buld failing

Post by brylie »

I changed DISTRIB_ID to Ubuntu and now the installer is working!

brylie
Posts: 7
Joined: Tue Jan 17, 2017 3:55 pm

Re: Ubuntu 16.04 buld failing

Post by brylie »

Alas, the build still fails... :(

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Ubuntu 16.04 buld failing

Post by jtlindgren »

We can easily fix the script to accept 'neon' as an option. But since the build fails, a bit more information would be needed to do anything about it. :)


J.

brylie
Posts: 7
Joined: Tue Jan 17, 2017 3:55 pm

Re: Ubuntu 16.04 buld failing

Post by brylie »

I added details in the bug report. Thanks for your quick response :)

Post Reply