Cannot compile Avogadro

Moin moin

I cannot compile Avo, getting stuff like

make[3]: Leaving directory /home/kde4/build/avogadro/src/engines' make -f Makefile.ResidueSphereEngine make[3]: Entering directory/home/kde4/build/avogadro/src/engines’
make[3]: Für das Ziel »first« ist nichts zu tun.
make[3]: Leaving directory /home/kde4/build/avogadro/src/engines' make[2]: Leaving directory/home/kde4/build/avogadro/src/engines’
make -f Makefile.avogadro
make[2]: Entering directory /home/kde4/build/avogadro/src' make[2]: *** Keine Regel vorhanden, um das Target »../../qt-copy/mkspecs/linux-g++/qmake.conf«, benötigt von »Makefile.avogadro«, zu erstellen. Schluss. make[2]: Leaving directory/home/kde4/build/avogadro/src’
make[1]: *** [sub-avogadro_pro-make_default] Fehler 2
make[1]: Leaving directory `/home/kde4/build/avogadro/src’
make: *** [sub-src-make_default] Fehler 2

That means “no rule to create the target …” No idea what that means. I
wonder of all those .pro-files are really needed or not… They contain
things like

######################################################################

Automatically generated by qmake (2.00a) Fri Apr 28 04:18:28 2006

###################################################################

Autogenereted file don’t belong in svn because they can be autogenerated. So
what is the default compilation path? The README doesn’t contain any
information…


Gruß,
Carsten Niehaus

I got similar error first time I compiled, have you another copy of qt
installed? if it is the case try to uninstall the devel package

Armando

Moin moin

I cannot compile Avo, getting stuff like

make[3]: Leaving directory /home/kde4/build/avogadro/src/engines' make -f Makefile.ResidueSphereEngine make[3]: Entering directory/home/kde4/build/avogadro/src/engines’
make[3]: Für das Ziel »first« ist nichts zu tun.
make[3]: Leaving directory /home/kde4/build/avogadro/src/engines' make[2]: Leaving directory/home/kde4/build/avogadro/src/engines’
make -f Makefile.avogadro
make[2]: Entering directory /home/kde4/build/avogadro/src' make[2]: *** Keine Regel vorhanden, um das Target »../../qt-copy/mkspecs/linux-g++/qmake.conf«, benötigt von »Makefile.avogadro«, zu erstellen. Schluss. make[2]: Leaving directory/home/kde4/build/avogadro/src’
make[1]: *** [sub-avogadro_pro-make_default] Fehler 2
make[1]: Leaving directory `/home/kde4/build/avogadro/src’
make: *** [sub-src-make_default] Fehler 2

That means “no rule to create the target …” No idea what that means. I
wonder of all those .pro-files are really needed or not… They contain
things like

######################################################################

Automatically generated by qmake (2.00a) Fri Apr 28 04:18:28 2006

###################################################################

Autogenereted file don’t belong in svn because they can be autogenerated.
So what is the default compilation path? The README doesn’t contain any
information…


Dr. Armando Navarro-Vázquez
RIAIDT. Univdade de Resonancia Magnetica
Universidade de Santiago de Compostela
http://desoft03.usc.es/armando/index.html

Well, the error just means there’s something it’s trying to compile but
there is no target in the Makefile. I’m not sure what target it can’t
find.

the .pro files are generated by qmake but then we modified them. they
don’t get regenerated everytime. What you might be having a problem
with is that you might have old makefiles in that structure. Just do a
’make distclean’ then ‘qmake’ and then ‘make’ and that should do it.

when we modify build stuff or any .pro file you need to re-run qmake.

maybe at some point we’ll upgrade to cmake but who knows. i am still
busy with lots of other stuff.

-Donald

(Sat, Sep 16, 2006 at 04:13:15PM +0200) Carsten Niehaus cniehaus@gmx.de:

Moin moin

I cannot compile Avo, getting stuff like

make[3]: Leaving directory /home/kde4/build/avogadro/src/engines' make -f Makefile.ResidueSphereEngine make[3]: Entering directory/home/kde4/build/avogadro/src/engines’
make[3]: Für das Ziel »first« ist nichts zu tun.
make[3]: Leaving directory /home/kde4/build/avogadro/src/engines' make[2]: Leaving directory/home/kde4/build/avogadro/src/engines’
make -f Makefile.avogadro
make[2]: Entering directory /home/kde4/build/avogadro/src' make[2]: *** Keine Regel vorhanden, um das Target »../../qt-copy/mkspecs/linux-g++/qmake.conf«, benötigt von »Makefile.avogadro«, zu erstellen. Schluss. make[2]: Leaving directory/home/kde4/build/avogadro/src’
make[1]: *** [sub-avogadro_pro-make_default] Fehler 2
make[1]: Leaving directory `/home/kde4/build/avogadro/src’
make: *** [sub-src-make_default] Fehler 2

That means “no rule to create the target …” No idea what that means. I
wonder of all those .pro-files are really needed or not… They contain
things like

######################################################################

Automatically generated by qmake (2.00a) Fri Apr 28 04:18:28 2006

###################################################################

Autogenereted file don’t belong in svn because they can be autogenerated. So
what is the default compilation path? The README doesn’t contain any
information…


Gruß,
Carsten Niehaus


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


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

Moin

I am using Avo trunk and OB 2.2 trunk. Any clue?

Carsten

[ 0%] Building CXX object
libavogadro/src/CMakeFiles/avogadro-lib.dir/primitiveitemmodel.o
/usr/lib/icecc/bin/c++ -Davogadro_lib_EXPORTS -Wnon-virtual-dtor
-Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new
-fno-common -fPIC -I/usr/lib/qt4/include
-I/usr/lib/qt4/include/QtOpenGL -I/usr/lib/qt4/include/QtGui
-I/usr/lib/qt4/include/QtCore
-I/home/kde-devel/kde/src/avogadro/libavogadro/include
-I/home/kde-devel/kde/src/avogadro
-I/home/kde-devel/kde/build/avogadro/libavogadro/src
-I/home/kde-devel/kde/build/avogadro/libavogadro/src/…
-I/usr/include/openbabel-2.0 -D_BSD_SOURCE -DQT_SHARED
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -o
libavogadro/src/CMakeFiles/avogadro-lib.dir/primitiveitemmodel.o -c
/home/kde-devel/kde/src/avogadro/libavogadro/src/primitiveitemmodel.cpp
/home/kde-devel/kde/src/avogadro/libavogadro/src/primitiveitemmodel.cpp:
In member function ‘virtual QVariant
Avogadro::PrimitiveItemModel::data(const QModelIndex&, int) const’:
/home/kde-devel/kde/src/avogadro/libavogadro/src/primitiveitemmodel.cpp:258:
error: ‘class Avogadro::Residue’ has no member named ‘GetNumString’
ICECC[17587] 12:23:05: Compiled on 192.168.10.127
make[2]: *** [libavogadro/src/CMakeFiles/avogadro-lib.dir/primitiveitemmodel.o]
Error 1
make[2]: Leaving directory /home/kde-devel/kde/build/avogadro' make[1]: *** [libavogadro/src/CMakeFiles/avogadro-lib.dir/all] Error 2 make[1]: Leaving directory/home/kde-devel/kde/build/avogadro’
make: *** [all] Error 2
makeobj[0]: Leaving directory
`/home/kde-devel/kde/build/avogadro/libavogadro/src’

I am using Avo trunk and OB 2.2 trunk. Any clue?

Are you sure you’ve installed OB-2.2 HEAD including all headers? This
change in OB-2.2 was made a few weeks ago.

<openbabel/residue.h>

98- //! \return The residue name
99- std::string GetName(void) const;
100- //! \return The residue number (in the sequence)
101- unsigned int GetNum(void);
102: std::string GetNumString(void);
103- //! \return The number of atoms in this residue
104- unsigned int GetNumAtoms() const;
105- //! \return The ID of the chain which includes this residue
106- char GetChain(void) const;

Cheers,
-Geoff

Indeed, it was a local issues. Thanks.

Carsten

2007/12/1, Geoffrey Hutchison geoff.hutchison@gmail.com:

I am using Avo trunk and OB 2.2 trunk. Any clue?

Are you sure you’ve installed OB-2.2 HEAD including all headers? This
change in OB-2.2 was made a few weeks ago.

<openbabel/residue.h>

98- //! \return The residue name
99- std::string GetName(void) const;
100- //! \return The residue number (in the sequence)
101- unsigned int GetNum(void);
102: std::string GetNumString(void);
103- //! \return The number of atoms in this residue
104- unsigned int GetNumAtoms() const;
105- //! \return The ID of the chain which includes this residue
106- char GetChain(void) const;

Cheers,
-Geoff