https://build.opensuse.org/package/show/home:andythe_great/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.git/tree/PKGBUILD?h=avogadro2-git
Which I find the list of dependencies from.
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
-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.