Results 1 to 5 of 5

Thread: Dependency issues when trying to build KeePassXC from Source.

  1. #1
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Dependency issues when trying to build KeePassXC from Source.

    Hello

    I thought i'd have a go at building the latest version [2.2.1] of KeePassXC from source. I've struck a problem i've not yet been able to solve, regarding some dependencies not met. Would anyone pls have some suggestions?

    I downloaded the tarball https://github.com/keepassxreboot/ke...2.1-src.tar.xz from the site https://github.com/keepassxreboot/keepassxc/releases

    I tried to use the methodology per these pages:
    1. https://github.com/keepassxreboot/keepassxc
    2. https://github.com/keepassxreboot/ke...ding-KeePassXC
    3. https://github.com/keepassxreboot/ke...nment-on-Linux

    As you can see, there's no oS-specific instructions there, so doubtless that's why i've gotten some dependency names wrong.


    Summary of the problem dependencies:
    Code:
    Reading installed packages...'qt5-linguist' not found in package names. Trying capabilities.
    No provider of 'qt5-linguist' found.
    'qt5-qtbase-devel' not found in package names. Trying capabilities.
    No provider of 'qt5-qtbase-devel' found.
    'qt5-qttools' not found in package names. Trying capabilities.
    No provider of 'qt5-qttools' found.
    
    Reading installed packages...                                                                  
    Package 'ykpers-devel' not found.                                                                          
    'qt5-qtx11extras' not found in package names. Trying capabilities.                                                         
    No provider of 'qt5-qtx11extras' found.                                                                                    
    'qt5-qtx11extras-devel' not found in package names. Trying capabilities.                                                   
    No provider of 'qt5-qtx11extras-devel' found.

    Complete Konsole transcript:



    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,006
    Blog Entries
    14

    Default Re: Dependency issues when trying to build KeePassXC from Source.

    libqt5-linguist-devel ?
    libqt5-qtbase-devel ?
    and so on ?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,132
    Blog Entries
    15

    Default Re: Dependency issues when trying to build KeePassXC from Source.

    Hi
    If you also look at the OBS spec file, it shows what is needed and what is used to build (as in build options etc)...
    https://build.opensuse.org/package/v....spec?expand=1
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Dependency issues when trying to build KeePassXC from Source.

    Quote Originally Posted by Knurpht View Post
    libqt5-linguist-devel ?
    libqt5-qtbase-devel ?
    and so on ?
    Genius - thanks! :-)

  5. #5
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Dependency issues when trying to build KeePassXC from Source.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    If you also look at the OBS spec file, it shows what is needed and what is used to build (as in build options etc)...
    https://build.opensuse.org/package/v....spec?expand=1
    Oh wow, that link's info is brilliant - thank you. It turned out that the missing package, identified via that link, was [in addition to the great clue that Knurpht gave me, which fixed most of the missing things as follows]
    Code:
    libqt5-linguist-devel
    
    . After installing that, the rest of the building process went well... but with a big caveat**

    **Here's what i did, after getting all the prerequisites & dependencies resolved [Point #6 shows the caveat]:
    Code:
    I did this:
    
    1. Launch Konsole from the directory extracted from the downloaded sourcecode tarball, ie, ~/Downloads/keepassxc-2.2.1
    
    
    2. mkdir build                             #Success.
    3. cd build                                 #Success.
    
    
    4. cmake -DWITH_XC_AUTOTYPE=ON -DWITH_XC_HTTP=ON -DWITH_XC_YUBIKEY=ON -DWITH_TESTS=OFF -DWITH_ASAN=ON -DCMAKE_BUILD_TYPE=Release ..                                                        #Success.
    
    
    5. make -j8                            #Success.
    
    
    6. sudo make DESTDIR=/opt/keepassxc install                           #Success.
            # --> Will NOT run from here. 
            # --> It DOES run direct from ~/Downloads/keepassxc-2.2.1/build> via command "./src/keepassxc", but to my shock the extras clipboard copying [ie,manually-added attributes] STILL fails***, just like the Repo versions of 2.2.0 & 2.2.1. Yet this cool function works fine in the AppImages, for both 2.2.0 & 2.2.1, AND works fully in non-openSUSE distros. Huh?
    
    
    7. make DESTDIR=~/.local install                                          #Success.
            # --> Will NOT run from here either.
    Seems to be no point in troubleshooting & fixing the non-launches [i assume it's a trivial PATH error], given the bigger problem is the ongoing lack of full functionality. Looks like i need to continue using the AppImage. Rats.

    *** This refers to the thread i created previously, https://forums.opensuse.org/showthre...y-partly-works


    Today, as well as "successfully" building my own v2.2.1 from source, i also upgraded my Repo one i had already installed months ago, given the Repo also now has v2.2.1. Sadly it also still fails to copy any manually-added attribute to the clipboard. That, & my own sourcecode-build's same-outcome, might make one think that the sourcecode itself is faulty. But as i pointed out in my previous thread https://forums.opensuse.org/showthre...y-partly-works ,
    I know for a fact that this is not a basic coding error in the actual package Dev's work, because performing this identical test in a non-openSUSE distro [eg, Maui Linux] works perfectly.
    Today i also downloaded the new v2.2.1 AppImage, & just like the v2.2.0 AI i've been using up til now, it does have FULL functionality.

    I don't really know which way to turn now... but will continue further correspondence on this problem in my other thread, as it's off-topic for this one.

Posting Permissions

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