Results 1 to 3 of 3

Thread: Install software manually via ./configure?

  1. #1
    Join Date
    Sep 2014
    Beans
    2

    Install software manually via ./configure?

    Hello all,
    I am actually not a new Ubuntu user but this seemed to be the appropriate category to create the topic.
    How to install .deb packages and .sh installation is obviously very easy.
    For the last 2 or so years I always had trouble to install from a .tar.gz source.
    The procedure to install via ./configure and so on and so forth is obvious but most times there are dependencies missing.
    For example I was about to install a program (cinepaint) today and got this output

    Configuration Results

    GTK CinePaint Version 1.0-4


    General dependencies:
    Gtk2 toolkit yes
    DnD support no
    littleCMS no !! CinePaint will not build without !!
    Oyranos no

    Plug-ins with external dependencies:
    Python plug-in: no
    OpenEXR plug-in: no !! CinePaint will not build without !!
    Tiff plug-in: no !! CinePaint will not build without !!
    PNG plug-in: no
    Jpeg plug-in: no !! CinePaint will not build without !!
    Print plug-in: no
    FLTK dependent plug-ins: no !! CinePaint will not build without !!
    Thread dependent plug-ins: no !! ICC Examin will not build !!
    Flex dependent plug-ins: no
    ================================================== ===============

    configure: error: !!! An ERROR occured !!!
    Please check the above messages to see why.
    For bug reports please include the complete above output.
    It does not say which names the dependency packages have and also the INSTALL file does not always help. This Program Cinepaint now was just an example so I do not need an explicit explanation how to install it, I want to know in general what do I have to do if the worst case happens -> ./configure tells you dependencies are missing and the INSTALL file does not help you.
    What do I have to do in that case?

    This bothers me for many years and I have never been able to find a solution :/

    Thank you all in advance

  2. #2
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,981
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Install software manually via ./configure?

    About how to install cinepaint from source, fixing missing dependencies, I have found this thread:
    http://ubuntuforums.org/showthread.php?t=2156330 where there is a complete and clear explanation on how to resolve missing dependencies with cinepaint, please, pay special attention to comments #2 and #13.

    About solving missing dependencies when trying to install other software from source, each case is different, dependency software packages are differente but after running ./configure you obtain clues about what software is needed and as mc4man points, to search it with synaptic and trying to install. In comment number #2 of forementioned thread is given also a procedure which can work for other packages.

  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Install software manually via ./configure?

    Quote Originally Posted by Sword90 View Post
    This Program Cinepaint now was just an example so I do not need an explicit explanation how to install it, I want to know in general what do I have to do if the worst case happens -> ./configure tells you dependencies are missing and the INSTALL file does not help you.
    What do I have to do in that case?
    You search the repositories using the search terms given you by the terminal output you showed us, for example, given
    Code:
    General dependencies:
       Gtk2 toolkit                 yes    
       DnD support                  no
       littleCMS                    no     !! CinePaint will not build without !!
       Oyranos                      no
    I would run
    Code:
    apt-cache search littleCMS
    which gives me
    Code:
    liblcms2-2 - Little CMS 2 color management library
    liblcms2-dev - Little CMS 2 color management library development headers
    liblcms-utils - Little CMS color management library utilities
    liblcms1 - Little CMS color management library
    liblcms1-dev - Litle CMS color management library development headers
    liblcms2-utils - Little CMS 2 olor management library
    python-liblcms - Python bindings for Little CMS color management library
    Knowing I need -dev files in order to compile, I would then install liblcms2-dev, rerun ./configure and see if it works. Repeat this process for each dependency.

    Sometimes dependencies will be listed in a README file distributed with the source code, or they will be shown on the program's home page if it has one.

    More info: https://help.ubuntu.com/community/CompilingEasyHowTo

    https://help.ubuntu.com/community/CompilingSoftware

    There's also a specific subforum for help with compiling software, since it's not an activity that's popular with most "new to Ubuntu" folks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •