Results 1 to 10 of 10

Thread: Need help building Avogadroapp (Could not find a package configuration file)

  1. #1
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    87

    Default Need help building Avogadroapp (Could not find a package configuration file)

    https://build.opensuse.org/package/s...at/avogadroapp

    Hello, I am trying to get Avogadroapp to build.

    I have difficultly building this because I can't find the same software in Fedora so I can't steal spec file from them.
    I do find a PKGBUILD on AUR. https://aur.archlinux.org/cgit/aur.g...=avogadro2-git
    Which I find the list of dependencies from.


    Code:
    CMake Error at avogadro/CMakeLists.txt:1 (find_package):
    [   16s]   Could not find a package configuration file provided by "AvogadroLibs" with
    [   16s]   any of the following names:
    [   16s] 
    [   16s]     AvogadroLibsConfig.cmake
    [   16s]     avogadrolibs-config.cmake
    [   16s] 
    [   16s]   Add the installation prefix of "AvogadroLibs" to CMAKE_PREFIX_PATH or set
    [   16s]   "AvogadroLibs_DIR" to a directory containing one of the above files.  If
    [   16s]   "AvogadroLibs" provides a separate development package or SDK, be sure it
    [   16s]   has been installed.
    [   16s] 
    [   16s] 
    [   16s] -- Configuring incomplete, errors occurred!
    [   16s] See also "/home/abuild/rpmbuild/BUILD/avogadroapp-1.93.0/CMakeFiles/CMakeOutput.log".
    [   16s] error: Bad exit status from /var/tmp/rpm-tmp.vnxtN7 (%build)
    [   16s] 
    [   16s] 
    [   16s] RPM build errors:
    [   16s]     Bad exit status from /var/tmp/rpm-tmp.vnxtN7 (%build)
    I believe it is looking for AvogadroLibsConfig.cmake or avogadrolibs-config.cmake which it doesn't find.

    Which I believe I have to use this build flag
    Code:
    -DAvogadroLibs_DIR=%{_prefix} \
    but it does not work, likely that the directory to the libs are wrong, but I am not sure where or how to find out.
    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,823
    Blog Entries
    15

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Hi
    The libs are a separate package you need to build first.... https://github.com/OpenChemistry/avogadrolibs then once this is built add as a dependancy....
    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!

  3. #3
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    87

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Quote Originally Posted by malcolmlewis View Post
    Hi
    The libs are a separate package you need to build first.... https://github.com/OpenChemistry/avogadrolibs then once this is built add as a dependancy....
    Hello,

    avogadrolibs is available in opensuse official repo, but strangely not avogadroapp.

    Anyway, I did add it to my spec file as
    Code:
    BuildRequires:  avogadrolibs
    I believe my path that I set for cmake to find it might not be correct. I'm not sure how to go about looking for it.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,823
    Blog Entries
    15

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Quote Originally Posted by andythe_great View Post
    Hello,

    avogadrolibs is available in opensuse official repo, but strangely not avogadroapp.

    Anyway, I did add it to my spec file as
    Code:
    BuildRequires:  avogadrolibs
    I believe my path that I set for cmake to find it might not be correct. I'm not sure how to go about looking for it.
    Hi
    You need the development package;

    cmake(AvogadroLibs) or avogadrolibs-devel
    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!

  5. #5
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    87

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You need the development package;

    cmake(AvogadroLibs) or avogadrolibs-devel
    Thanks,

    I recently found out I need to have Molequeue package as well for avogadro to build, this gonna be tough.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,823
    Blog Entries
    15

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Quote Originally Posted by andythe_great View Post
    Thanks,

    I recently found out I need to have Molequeue package as well for avogadro to build, this gonna be tough.
    Hi
    Is molequeue python3 ready?

    I see https://build.opensuse.org/package/s...n809/molequeue
    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!

  7. #7
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    87

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    I will just ask fusion809 to submit their package to science repo.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,823
    Blog Entries
    15

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Quote Originally Posted by andythe_great View Post
    I will just ask fusion809 to submit their package to science repo.
    Hi
    Problem is it's old code, there has not been an updated in a number of years and it doesn't seem to be python3, in saying that it may be declined and won't build for Tumbleweed.
    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!

  9. #9
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    87

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)


  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,823
    Blog Entries
    15

    Default Re: Need help building Avogadroapp (Could not find a package configuration file)

    Quote Originally Posted by andythe_great View Post
    Hi
    Looks good and using python3.....
    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!

Posting Permissions

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