#223 installation on UBUNTU 15.10 fails

v2.1
open
None
5
2016-12-14
2016-10-31
No

I am installing on UBUNTU 15.10
The precompiled .deb version for Ubuntu 14.4+ gives
librubberband2 not satisfiable

So I try to compile from source:
georgid@georgiDesktop:~/Downloads/sonic-visualiser-cf639a91f945$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for qmake-qt5... no
checking for qt5-qmake... no
checking for qmake... no
checking for qmake.exe... no
checking for qmake-qt5... no
checking for qt5-qmake... no
checking for qmake... qmake
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for bz2... no
configure: Failed to find required module bz2 using pkg-config, trying again by old-fashioned means
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzReadOpen in -lbz2... yes
checking for fftw3... yes
checking for fftw3f... yes
checking for sndfile... yes
checking for libsamplerate... yes
checking for rubberband... yes
checking for sord... yes
checking for serd... yes
checking for capnp... no
configure: Failed to find required module capnp using pkg-config, trying again by old-fashioned means
checking capnp/common.h usability... no
checking capnp/common.h presence... no
checking for capnp/common.h... no
configure: error: Failed to find header capnp/common.h for required module capnp

I did
georgid@georgiDesktop:~/Downloads/sonic-visualiser-cf639a91f945$ sudo apt-get install capnproto
Reading package lists... Done
Building dependency tree
Reading state information... Done
capnproto is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

but still get the same problem...
Any ideas?

Discussion

  • Chris Cannam

    Chris Cannam - 2016-11-01

    Hi there -- looks like you're trying to build from the 3.0-integration branch?

    That isn't likely to work on Ubuntu 15.10 at the moment as it currently relies on very new versions of some libraries.The package you would need to install to support it is "libcapnp-dev" rather than "capnproto", but the version in 15.10 is too old for the current 3.0-integration code.

    A build from the default branch should probably work.

     
  • Georgi Dzhambazov

    georgid@georgiDesktop:~/Downloads/sonic-visualiser-default$ ./configure checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking whether g++ supports C++11 features by default... no
    checking whether g++ supports C++11 features with -std=c++11... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for qmake-qt5... no
    checking for qt5-qmake... no
    checking for qmake... no
    checking for qmake.exe... no
    checking for qmake-qt5... no
    checking for qt5-qmake... no
    checking for qmake... qmake
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for bz2... no
    configure: Failed to find required module bz2 using pkg-config, trying again by old-fashioned means
    checking bzlib.h usability... yes
    checking bzlib.h presence... yes
    checking for bzlib.h... yes
    checking for BZ2_bzReadOpen in -lbz2... yes
    checking for fftw3... yes
    checking for fftw3f... yes
    checking for sndfile... yes
    checking for samplerate... yes
    checking for vamp... yes
    checking for vamphostsdk... yes
    checking for rubberband... yes
    checking for sord... yes
    checking for serd... yes
    checking for liblo... yes
    checking for portaudio_2_0... yes
    checking for JACK... yes
    checking for libpulse... yes
    checking for lrdf... yes
    checking for oggz... yes
    checking for fishsound... yes
    checking for mad... yes
    checking for id3tag... yes
    checking for X11... yes
    configure: creating ./config.status
    config.status: creating config.pri
    Reading /home/georgid/Downloads/sonic-visualiser-default/dataquay/lib.pro
    Cannot read /home/georgid/Downloads/sonic-visualiser-default/lib.pro: No such file or directory
    MAKEFILE_GENERATOR variable not set as a result of parsing : lib.pro. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    Reading /home/georgid/Downloads/sonic-visualiser-default/svcore
    Cannot read /home/georgid/Downloads/sonic-visualiser-default/svcore: No such file or directory
    MAKEFILE_GENERATOR variable not set as a result of parsing : svcore. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    Reading /home/georgid/Downloads/sonic-visualiser-default/svgui
    Cannot read /home/georgid/Downloads/sonic-visualiser-default/svgui: No such file or directory
    MAKEFILE_GENERATOR variable not set as a result of parsing : svgui. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    Reading /home/georgid/Downloads/sonic-visualiser-default/svapp
    Cannot read /home/georgid/Downloads/sonic-visualiser-default/svapp: No such file or directory
    MAKEFILE_GENERATOR variable not set as a result of parsing : svapp. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    Reading /home/georgid/Downloads/sonic-visualiser-default/sv.pro
    Reading /home/georgid/Downloads/sonic-visualiser-default/svcore/base/test
    Cannot read /home/georgid/Downloads/sonic-visualiser-default/test: No such file or directory
    MAKEFILE_GENERATOR variable not set as a result of parsing : test. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    Reading /home/georgid/Downloads/sonic-visualiser-default/svcore/data/fileio/test
    MAKEFILE_GENERATOR variable not set as a result of parsing : test. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    Reading /home/georgid/Downloads/sonic-visualiser-default/svcore/data/model/test
    MAKEFILE_GENERATOR variable not set as a result of parsing : test. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    configure: error: qmake failed: Command was "qmake -r"

     
  • Georgi Dzhambazov

    Compiling from default branch did not work either.
    Supposedly due to not found includes, maybe a problem with qmake itself:

    MAKEFILE_GENERATOR variable not set as a result of parsing : test. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.
    configure: error: qmake failed: Command was "qmake -r

    I have upgraded qmake by
    sudo apt-get upgrade qt5-qmake
    but still it does not work.
    Any ideas?

     
  • Georgi Dzhambazov

    On UBUNTU 16.04, x64 intel
    I did download latest source sonic-visualizer-2.5.tar.gz
    then ./configure and make did not complain.

    When I run ./sonic-visualiser I get segmentation fault.

    gdb run gives: 
    

    Thread 1 "sonic-visualise" received signal SIGSEGV, Segmentation fault.
    strlen () at ../sysdeps/x86_64/strlen.S:106
    106 ../sysdeps/x86_64/strlen.S: No such file or directory.

    and

    gdb thread apply all backtrace
    

    gives :

    Thread 8 (Thread 0x7fffc963c700 (LWP 26394)):

    0 0x00007ffff2ed375d in nanosleep () at ../sysdeps/unix/syscall-template.S:84

    1 0x00007ffff2f051a4 in usleep (useconds=<optimized out="">) at ../sysdeps/posix/usleep.c:32

    2 0x000000000061a71d in alsaMidiHandler ()

    3 0x00007ffff3a796ba in start_thread (arg=0x7fffc963c700) at pthread_create.c:333

    4 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 7 (Thread 0x7fffcb7fe700 (LWP 26393)):

    0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

    1 0x00007ffff0cc2d4a in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    2 0x00007ffff0c52999 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    3 0x00007ffff0ca5536 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    4 0x00007ffff0ca4bc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    5 0x00007ffff3a796ba in start_thread (arg=0x7fffcb7fe700) at pthread_create.c:333

    6 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 6 (Thread 0x7fffcbfff700 (LWP 26392)):

    0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

    1 0x00007ffff0cc2d4a in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    2 0x00007ffff0c52999 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    3 0x00007ffff0ca5536 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    4 0x00007ffff0ca4bc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    5 0x00007ffff3a796ba in start_thread (arg=0x7fffcbfff700) at pthread_create.c:333

    6 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 5 (Thread 0x7fffd37fe700 (LWP 26390)):

    0 0x00007ffff2f02b5d in poll () at ../sysdeps/unix/syscall-template.S:84

    1 0x00007ffff0c7e39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    2 0x00007ffff0c7e722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    3 0x00007fffe01e0916 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0

    4 0x00007ffff0ca4bc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    5 0x00007ffff3a796ba in start_thread (arg=0x7fffd37fe700) at pthread_create.c:333

    6 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 4 (Thread 0x7fffd3fff700 (LWP 26389)):

    0 0x00007ffff2f02b5d in poll () at ../sysdeps/unix/syscall-template.S:84

    1 0x00007ffff0c7e39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    2 0x00007ffff0c7e4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    3 0x00007ffff0c7e4e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    4 0x00007ffff0ca4bc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    5 0x00007ffff3a796ba in start_thread (arg=0x7fffd3fff700) at pthread_create.c:333

    6 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 3 (Thread 0x7fffd8ce3700 (LWP 26388)):

    0 0x00007ffff2f02b5d in poll () at ../sysdeps/unix/syscall-template.S:84

    1 0x00007ffff0c7e39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    2 0x00007ffff0c7e4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    3 0x00007fffd8ceb28d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so

    4 0x00007ffff0ca4bc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

    5 0x00007ffff3a796ba in start_thread (arg=0x7fffd8ce3700) at pthread_create.c:333

    6 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 2 (Thread 0x7fffe298d700 (LWP 26387)):

    0 0x00007ffff2f02b5d in poll () at ../sysdeps/unix/syscall-template.S:84

    1 0x00007fffef370c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1

    2 0x00007fffef3728d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1

    3 0x00007fffe4f60629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5

    4 0x00007ffff3d347be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

    ---Type <return> to continue, or q <return> to quit---

    5 0x00007ffff3a796ba in start_thread (arg=0x7fffe298d700) at pthread_create.c:333

    6 0x00007ffff2f0e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

    Thread 1 (Thread 0x7ffff7e0b900 (LWP 26386)):

    0 strlen () at ../sysdeps/x86_64/strlen.S:106

    1 0x00007ffff38101f4 in std::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> >::assign(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6

    2 0x00007fffc87d4288 in essentia::EssentiaFactory<essentia::standard::Algorithm>::Registrar<essentia::standard::RhythmExtractor2013, essentia::standard::RhythmExtractor2013="">::Registrar() () from /usr/local/lib/vamp/libvamp_essentia.so

    3 0x00007fffc872c9b2 in essentia::standard::registerAlgorithm() () from /usr/local/lib/vamp/libvamp_essentia.so

    4 0x00007fffc86e5b34 in essentia::init() () from /usr/local/lib/vamp/libvamp_essentia.so

    5 0x00007ffff7de74ea in call_init (l=<optimized out="">, argc=argc@entry=1, argv=argv@entry=0x7fffffffdd48, env=env@entry=0x7fffffffdd58) at dl-init.c:72

    6 0x00007ffff7de75fb in call_init (env=0x7fffffffdd58, argv=0x7fffffffdd48, argc=1, l=<optimized out="">) at dl-init.c:30

    7 _dl_init (main_map=main_map@entry=0x115b8f0, argc=1, argv=0x7fffffffdd48, env=0x7fffffffdd58) at dl-init.c:120

    8 0x00007ffff7dec712 in dl_open_worker (a=a@entry=0x7fffffffbfc0) at dl-open.c:575

    9 0x00007ffff7de7394 in _dl_catch_error (objname=objname@entry=0x7fffffffbfb0, errstring=errstring@entry=0x7fffffffbfb8, mallocedp=mallocedp@entry=0x7fffffffbfaf,

    operate=operate@entry=0x7ffff7dec300 <dl_open_worker>, args=args@entry=0x7fffffffbfc0) at dl-error.c:187
    

    10 0x00007ffff7debbd9 in _dl_open (file=0x1159fb0 "/usr/local/lib/vamp/libvamp_essentia.so", mode=-2147483647,

    caller_dlopen=0x630d90 <FeatureExtractionPluginFactory::getPluginIdentifiers()+496>, nsid=-2, argc=<optimized out>, argv=<optimized out>, env=0x7fffffffdd58)
    at dl-open.c:660
    

    11 0x00007ffff69a6f09 in dlopen_doit (a=a@entry=0x7fffffffc1f0) at dlopen.c:66

    12 0x00007ffff7de7394 in _dl_catch_error (objname=0xc155e0, errstring=0xc155e8, mallocedp=0xc155d8, operate=0x7ffff69a6eb0 <dlopen_doit>, args=0x7fffffffc1f0) at dl-error.c:187

    13 0x00007ffff69a7571 in _dlerror_run (operate=operate@entry=0x7ffff69a6eb0 <dlopen_doit>, args=args@entry=0x7fffffffc1f0) at dlerror.c:163

    14 0x00007ffff69a6fa1 in __dlopen (file=<optimized out="">, mode=<optimized out="">) at dlopen.c:87

    15 0x0000000000630d90 in FeatureExtractionPluginFactory::getPluginIdentifiers() ()

    16 0x000000000062ea4b in FeatureExtractionPluginFactory::getAllPluginIdentifiers() ()

    17 0x000000000066b3c1 in TransformFactory::populateFeatureExtractionPlugins(std::map<QString, TransformDescription,="" std::less<QString="">, std::allocator<std::pair<QString const,="" TransformDescription=""> > >&) ()

    18 0x000000000066f7eb in TransformFactory::populateTransforms() ()

    19 0x00000000006715dc in TransformFactory::getAllTransformDescriptions() ()

    20 0x000000000045b546 in MainWindow::setupTransformsMenu() ()

    21 0x00000000004483e8 in MainWindow::setupMenus() ()

    22 0x000000000046db23 in MainWindow::MainWindow(bool, bool) ()

    23 0x000000000043e66c in main ()

     
    • sildeag

      sildeag - 2017-01-07

      Has this issue been fixed? I initially tried sudo apt-get install sonic-visualiser on Ubuntu 16.04 64bit and the program worked very well. I made the mistake of building from source and everything seemed to work perfectly except ./sonic-visualiser generated a Segmentation fault (core dumped). Am I missing something like a environment variable? How would I get the trace messages? Or run in debug mode?

       
  • Chris Cannam

    Chris Cannam - 2016-12-14

    This last stack trace shows a crash in the Essentia Vamp plugin (see the bit starting from "thread 1").

     
    • Georgi Dzhambazov

      Thanks, Chris,
      I have essentia installed, correct. But I dont need to use the plugin. How come SV breaks on installation given that it does not have essentia VAMP by default? What should I do to disable it.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks