Menu

Unable to install 3DTK on Bionic; dpkg: dependency problems

Help
2019-02-14
2019-02-14
  • Swiss-Knight

    Swiss-Knight - 2019-02-14

    I checkout the code by following the readme (is a git version available aswell?)

    Then:

    $ equivs-build doc/equivs/control.ubuntu.bionic 
    dh_testdir
    dh_testroot
    dh_prep
    dh_testdir
    dh_testroot
    dh_install
    dh_installdocs
    dh_installchangelogs
    dh_compress
    dh_fixperms
    dh_installdeb
    dh_gencontrol
    dh_md5sums
    dh_builddeb
    dpkg-deb: building package '3dtk-build-deps' in '../3dtk-build-deps_1.0_all.deb'.
    
    The package has been created.
    Attention, the package has been created in the current directory,
    not in ".." as indicated by the message above!
    

    But the install goes wrong:

    $ sudo dpkg -i 3dtk-build-deps_1.0_all.deb 
    Selecting previously unselected package 3dtk-build-deps.
    (Reading database ... 498941 files and directories currently installed.)
    Preparing to unpack 3dtk-build-deps_1.0_all.deb ...
    Unpacking 3dtk-build-deps (1.0) ...
    dpkg: dependency problems prevent configuration of 3dtk-build-deps:
     3dtk-build-deps depends on cmake-curses-gui; however:
      Package cmake-curses-gui is not installed.
     3dtk-build-deps depends on libboost-date-time-dev; however:
      Package libboost-date-time-dev is not installed.
     3dtk-build-deps depends on libboost-filesystem-dev; however:
      Package libboost-filesystem-dev is not installed.
     3dtk-build-deps depends on libboost-graph-dev; however:
      Package libboost-graph-dev is not installed.
     3dtk-build-deps depends on libboost-program-options-dev; however:
      Package libboost-program-options-dev is not installed.
     3dtk-build-deps depends on libboost-python-dev; however:
      Package libboost-python-dev is not installed.
     3dtk-build-deps depends on libboost-regex-dev; however:
      Package libboost-regex-dev is not installed.
     3dtk-build-deps depends on libboost-system-dev; however:
      Package libboost-system-dev is not installed.
     3dtk-build-deps depends on libboost-thread-dev; however:
      Package libboost-thread-dev is not installed.
     3dtk-build-deps depends on libcgal-dev; however:
      Package libcgal-dev is not installed.
     3dtk-build-deps depends on libcgal-qt5-dev; however:
      Package libcgal-qt5-dev is not installed.
     3dtk-build-deps depends on libopencv-calib3d-dev; however:
      Package libopencv-calib3d-dev is not installed.
     3dtk-build-deps depends on libopencv-dev; however:
      Package libopencv-dev is not installed.
    
    dpkg: error processing package 3dtk-build-deps (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     3dtk-build-deps
    

    Boost 1.68 is already manually installed in /usr/local
    Same for the cmake suite; compiled from sources.

    I'm using ubuntu 18.04 64 bits (4.15.0-45-generic x86_64 GNU/Linux)
    Thanks for your help.

    And 2 more questions;
    · Would it be possible to use git instead of svn?
    · Would it be possible to configure the build directly with cmake?

     
    • JoSch

      JoSch - 2019-02-14

      Hi,

      Quoting Swiss-Knight (2019-02-14 15:16:38)

      I checkout the code by following the readme (is a git version available aswell?)

      no, we only develop using subversion right now.

      Then:
      ~~~
      $ equivs-build doc/equivs/control.ubuntu.bionic
      dh_testdir
      dh_testroot
      dh_prep
      dh_testdir
      dh_testroot
      dh_install
      dh_installdocs
      dh_installchangelogs
      dh_compress
      dh_fixperms
      dh_installdeb
      dh_gencontrol
      dh_md5sums
      dh_builddeb
      dpkg-deb: building package '3dtk-build-deps' in '../3dtk-build-deps_1.0_all.deb'.

      The package has been created.
      Attention, the package has been created in the current directory,
      not in ".." as indicated by the message above!
      ~~~

      But the install goes wrong:
      ~~~
      $ sudo dpkg -i 3dtk-build-deps_1.0_all.deb
      Selecting previously unselected package 3dtk-build-deps.
      (Reading database ... 498941 files and directories currently installed.)
      Preparing to unpack 3dtk-build-deps_1.0_all.deb ...
      Unpacking 3dtk-build-deps (1.0) ...
      dpkg: dependency problems prevent configuration of 3dtk-build-deps:
      3dtk-build-deps depends on cmake-curses-gui; however:
      Package cmake-curses-gui is not installed.
      3dtk-build-deps depends on libboost-date-time-dev; however:
      Package libboost-date-time-dev is not installed.
      3dtk-build-deps depends on libboost-filesystem-dev; however:
      Package libboost-filesystem-dev is not installed.
      3dtk-build-deps depends on libboost-graph-dev; however:
      Package libboost-graph-dev is not installed.
      3dtk-build-deps depends on libboost-program-options-dev; however:
      Package libboost-program-options-dev is not installed.
      3dtk-build-deps depends on libboost-python-dev; however:
      Package libboost-python-dev is not installed.
      3dtk-build-deps depends on libboost-regex-dev; however:
      Package libboost-regex-dev is not installed.
      3dtk-build-deps depends on libboost-system-dev; however:
      Package libboost-system-dev is not installed.
      3dtk-build-deps depends on libboost-thread-dev; however:
      Package libboost-thread-dev is not installed.
      3dtk-build-deps depends on libcgal-dev; however:
      Package libcgal-dev is not installed.
      3dtk-build-deps depends on libcgal-qt5-dev; however:
      Package libcgal-qt5-dev is not installed.
      3dtk-build-deps depends on libopencv-calib3d-dev; however:
      Package libopencv-calib3d-dev is not installed.
      3dtk-build-deps depends on libopencv-dev; however:
      Package libopencv-dev is not installed.

      dpkg: error processing package 3dtk-build-deps (--install):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      3dtk-build-deps
      ~~~

      If you are using Ubuntu, did you enable the universe and multiverse
      repositories?

      Boost 1.68 is already manually installed in /usr/local
      Same for the cmake suite; compiled from sources.

      If you have custom compiled libraries I'm afraid we cannot help you more. We
      only know that it works without issues with the libraries distributed by Ubuntu
      because we regularly test Ubuntu Bionic on Travis:

      https://travis-ci.org/3DTK/3DTK/

      As you can see we run daily tests and it works perfectly.

      I'm using ubuntu 18.04 64 bits (4.15.0-45-generic x86_64 GNU/Linux)
      Thanks for your help.

      And 2 more questions;
      · Would it be possible to use git instead of svn?

      In the future, we may switch but we are still stuck with svn.

      · Would it be possible to configure the build directly with cmake?

      What makes you think that it's not possible? You can configure it like any
      other cmake project.

      Thanks!

      cheers, josch

       

Log in to post a comment.