You are not logged in.

#1 2020-07-18 12:39:49

saikat
Member
Registered: 2020-07-18
Posts: 4

Avogadro installation [SOLVED]

Hello,

I am new to Arch. I had a very hard time installing Avogadro. I have tried AUR (all the repo) and also tried to compile from source but no luck. Can anyone help me out?

with regards,
saikat

Last edited by saikat (2020-07-19 08:15:52)

Offline

#2 2020-07-18 12:49:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Avogadro installation [SOLVED]

Welcome to the forums.  If you want help, you'll need to give a lot more information.  Post the actual commands and output from when you tried to build the AUR package.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2020-07-18 13:00:20

saikat
Member
Registered: 2020-07-18
Posts: 4

Re: Avogadro installation [SOLVED]

[saikat@archvb software]$ yay -si avogadro-git-eigen3

........

-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found lupdate: /usr/bin/lupdate-qt4
-- Found lrelease: /usr/bin/lrelease-qt4
-- Found lconvert: /usr/bin/lconvert-qt4
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Checking for module 'openbabel-2.0>=2.3.0'
--   Package 'openbabel-2.0', required by 'virtual:world', not found
CMake Error at cmake/modules/FindOpenBabel2.cmake:69 (message):
  Could NOT find OpenBabel 2.3 or later
Call Stack (most recent call first):
  CMakeLists.txt:237 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/saikat/.cache/yay/avogadro-git-eigen3/src/avogadro-git-eigen3/build/CMakeFiles/CMakeOutput.log".
See also "/home/saikat/.cache/yay/avogadro-git-eigen3/src/avogadro-git-eigen3/build/CMakeFiles/CMakeError.log".


But I have babel 3.1.0 installed

Offline

#4 2020-07-18 13:19:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Avogadro installation [SOLVED]

Please edit your post to add [ code ] tags (see the BBCode link below the text box as you are posting).

Also, post the *complete* output.  And always first try using makepkg directly rather than a helper like yay.

In this case, I suspect the PKGBUILD needs to be updated if the software actually requires openbable-2.0.  That is available in the AUR, the repo package for openbable is at version 3.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2020-07-18 13:20:23

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: Avogadro installation [SOLVED]

Not an installation issue, moving to AUR issues.

saikat, have you read the first comment on the AUR page for avogadro? https://aur.archlinux.org/packages/avog … ent-754634


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#6 2020-07-18 13:37:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Avogadro installation [SOLVED]

Maybe you could use avogadro v2 that consists of avogadroapp and avogadrolibs (last one is in repos) ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2020-07-18 20:00:44

saikat
Member
Registered: 2020-07-18
Posts: 4

Re: Avogadro installation [SOLVED]

Hello,
Thanks a lot for reply. I have tried avogadroapp from AUR but got this error

[saikat@archvb avogadroapp]$ ls
avogadroapp-1.93.0.tar.gz  pkg  PKGBUILD  src
[saikat@archvb avogadroapp]$ makepkg -si
==> Making package: avogadroapp 1.93.0-3 (Sun 19 Jul 2020 01:24:18 AM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found avogadroapp-1.93.0.tar.gz
==> Validating source files with sha256sums...
    avogadroapp-1.93.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting avogadroapp-1.93.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Could not use git to determine source version, using version 1.93.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/saikat/avogadroapp/src/build
[  6%] Automatic MOC for target avogadro
[  6%] Built target avogadro_autogen
[ 13%] Linking CXX executable ../bin/avogadro2
/usr/bin/ld: warning: libQt5X11Extras.so.5, needed by /usr/lib/libvtkGUISupportQt.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libvtkGUISupportQt.so.1: undefined reference to `QX11Info::display()@Qt_5'
collect2: error: ld returned 1 exit status
make[2]: *** [avogadro/CMakeFiles/avogadro.dir/build.make:271: bin/avogadro2] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: avogadro/CMakeFiles/avogadro.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#8 2020-07-18 20:10:40

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Avogadro installation [SOLVED]

Trya adding qt5-x11extras to depends

Offline

#9 2020-07-18 20:44:10

saikat
Member
Registered: 2020-07-18
Posts: 4

Re: Avogadro installation [SOLVED]

[SOLVED]

Thanks a lot. qt5-x11extras packages solved the problem (avogadroapp)

Offline

#10 2020-07-18 22:17:06

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: Avogadro installation [SOLVED]

Please mark your thread [SOLVED] by editing the title of your first post.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB