Installation of avogadro 1.2 fails

I believe this to be a bug with Avogadro

Environment Information

Avogadro version:
1.2.0
Operating system and version:
NAME=“openSUSE Tumbleweed”

VERSION=“20200128”

ID=“opensuse-tumbleweed”
ID_LIKE=“opensuse suse”
VERSION_ID=“20200128”
PRETTY_NAME=“openSUSE Tumbleweed”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:tumbleweed:20200128”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://www.opensuse.org/
LOGO=“distributor-logo”

Expected Behavior

Actual Behavior

zypper in avogadro
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Problem: nothing provides libQtCore.so.4()(64bit) needed by avogadro-1.2.0-6.11.x86_64
Solution 1: do not install avogadro-1.2.0-6.11.x86_64
Solution 2: break avogadro-1.2.0-6.11.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):

or doing it manually

cmake …/
– The build type is RelWithDebInfo
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1314 (message):
Found unsuitable Qt version “” from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
CMakeLists.txt:226 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/eds00cv/Avogadro/avogadro-1.2.0/build/CMakeFiles/CMakeOutput.log”.
See also “/home/eds00cv/Avogadro/avogadro-1.2.0/build/CMakeFiles/CMakeError.log”.

Steps to Reproduce

Please upload files if appropriate here (or via file-sharing service like Dropbox or Pastebin)

There is no more Qt4 for this OS. Is there a version for Qt5?
Thx for any help

1 Like

I have the same problem in OpenSuse. Would be helpful someone had a solution

The Qt5 version is Avogadro v2. While it doesn’t provide all the features of Avogadro v1 yet, I’d much rather spend my limited coding time on finishing / cleaning up v2 than porting 1.2 to Qt5.

Hello,

openSUSE contributor here!

Qt4 was depreciated. Therefore Avogadro 1.2 failed to build on newer version of openSUSE like Tumbleweed.

It is recommend to use openSUSE Leap 15.1 for Avogadro 1.2.

I’m trying to build Avogadro 1.93.0 on openSUSE Tumbleweed at the moment. I could now make it build properly. But since I don’t really know how to use the software itself, I can’t properly test it if it is missing anything.

The repo for avogadro 1.93.0 is here: https://download.opensuse.org/repositories/home:/andythe_great/home_andythe_great_openSUSE_TW/

After adding the repo, refresh with
sudo zypper ref
sudo zypper in avogadroapp

1 Like

Thanks - I just spent yesterday getting GitHub build actions working for Avo 1.9x - are there some openSUSE docker images that I could use?

I’d ideally like to be able to:

  • prevent future packaging problems
  • help provide initial packages with upcoming releases

GitHub provides default builders for Ubuntu, but it should be fairly easy to adapt via Docker to other distros.

I don’t use docker, so I’m not sure if this is the right one.
https://hub.docker.com/r/opensuse/tumbleweed

Right now, I am targeting Tumbleweed instead of Leap 15.2 since msgpack on Leap 15.2 is too old and could not be be use to build mmtf-cpp.

I have create a spec file needed to build the package here:
https://build.opensuse.org/package/show/home:andythe_great/avogadrolibs
https://build.opensuse.org/package/show/home:andythe_great/Avogadro2

I have some problem with avogadrolibs at the moment. I encounter a bug which prevent it from being accept to semi-official repo.

Molequeue have been recently accept to official opensuse repo.

1 Like

Thanks, that’s helpful - should be able to adapt the Tumbleweed image.

As far as the bug, that seems like an openSUSE issue - I see another patch for a different package;
https://www.mail-archive.com/opensuse-commit@opensuse.org/msg166302.html