Build avogadro under suse

I have been using avogadro for a few weeks now on a netbook under unbuntu, where
it instlled with no errors using the ubuntun software tool, and under windows
which installed fine from the sourceforge files.

But I also would like to install it under suse linux (openSUSE 11) on an older
dell machine (using suse here since I can get molden to install on it and I need
molden to look at cfour output). I am having trouble with avogadro on this machine:
I looked at the install directions and installed

  1. cmake (which suse tools found and installed readily)
  2. Qt (found on Qt site with lots of different versions and options… I
    installed the license free version, qt_everywhere_opensource, 4.6.2) This
    install took a LONG time for configure, make and make install.
  3. opnebabel 2.2.3 (did not take nearly as long for configure, make, make install)
  4. eigen 2.0.12 (no configure, make, or make install here, I just unzipped and
    untarred…)

BUT when I then tried to install avogadro I got the following error at the cmake
…/ step:

willsd@ip-152010140075:~/downloads/avogadro-1.0.1/build> cmake …/
– The build type is Release
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1584 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:126 (find_package)

– Configuring done

SO… maybe I guessed wrong on the version of Qt, or messed up its install, or
something else…?

I must admit that I found the painless and sucessful install with unbuntu a
pleasure… Are there other similar packages for other linux distributions that
will find and install what they need without depending on (barely competent)
user guesswork?

Thanks,
Steve WIlliams

Hi Steve,

I don’t have any experience with Suse personally, but I ran into this
problem yesterday when trying to compile Avogadro from source. The ubuntu
solution is to install the package “qt4-qmake” perhaps there is a similar
package for your distro?

-Yung-Jin

On Fri, May 21, 2010 at 8:29 AM, willsd@appstate.edu wrote:

I have been using avogadro for a few weeks now on a netbook under unbuntu,
where
it instlled with no errors using the ubuntun software tool, and under
windows
which installed fine from the sourceforge files.

But I also would like to install it under suse linux (openSUSE 11) on an
older
dell machine (using suse here since I can get molden to install on it and I
need
molden to look at cfour output). I am having trouble with avogadro on this
machine:
I looked at the install directions and installed

  1. cmake (which suse tools found and installed readily)
  2. Qt (found on Qt site with lots of different versions and options… I
    installed the license free version, qt_everywhere_opensource, 4.6.2) This
    install took a LONG time for configure, make and make install.
  3. opnebabel 2.2.3 (did not take nearly as long for configure, make, make
    install)
  4. eigen 2.0.12 (no configure, make, or make install here, I just unzipped
    and
    untarred…)

BUT when I then tried to install avogadro I got the following error at the
cmake
…/ step:

willsd@ip-152010140075:~/downloads/avogadro-1.0.1/build> cmake …/
– The build type is Release
CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1584 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
CMakeLists.txt:126 (find_package)

– Configuring done

SO… maybe I guessed wrong on the version of Qt, or messed up its install,
or
something else…?

I must admit that I found the painless and sucessful install with unbuntu a
pleasure… Are there other similar packages for other linux distributions
that
will find and install what they need without depending on (barely
competent)
user guesswork?

Thanks,
Steve WIlliams



Avogadro-Discuss mailing list
Avogadro-Discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-discuss

Maybe, as you install Qt manually, you need to add the folder of qmake in
your PATH. To be sure, verifies if qmake works in a terminal.

Mickaël Gadroy