Database Fedora

tora on Fedora 16 for mysql and Oracle.

Sometime back I had posted a article on Tora on Fedora. But that was a while back and things have progressed and we already have Fedora 16 (aka Verne).

So, awhile back I installed Tora on my Fedora 16 and here are the steps to do so:

First get the Tora sources from . Download the source tar file and extract the same.

Install the delel for some of the packages that you will need:

sudo yum install qt-devel postgresql-devel qscintilla-devel

Also download and install the instantclient and the relevant devel package. You can download the same from the oracle site.

Now go to the directory where you extracted tora.

cd src

Search for BUILT_SOURCES in that file and add moc_toawr.cpp in that section. This is what was required for tora version 2.3.1, not sure if you would need that…But there would be no harm in adding that anyways 🙂

After this the step is straightforward:

sudo make install

And you are done…..

Enhanced by Zemanta

12 replies on “tora on Fedora 16 for mysql and Oracle.”

Hi Amit,

I get the same error before and after editing

tora-toawr.o: In function `toAWR’:
/home/escor/Descargas/tora-2.1.3/src/toawr.cpp:265: undefined reference to `vtable for toAWR’
/home/escor/Descargas/tora-2.1.3/src/toawr.cpp:265: undefined reference to `vtable for toAWR’
/home/escor/Descargas/tora-2.1.3/src/toawr.cpp:265: undefined reference to `vtable for toAWR’
/home/escor/Descargas/tora-2.1.3/src/toawr.cpp:265: undefined reference to `vtable for toAWR’
tora-toawr.o: In function `~toAWR’:
/home/escor/Descargas/tora-2.1.3/src/toawr.cpp:381: undefined reference to `vtable for toAWR’
tora-toawr.o:/home/escor/Descargas/tora-2.1.3/src/toawr.cpp:381: more undefined references to `vtable for toAWR’ follow
tora-toawr.o: In function `toAWR::tr(char const*, char const*)’:
/home/escor/Descargas/tora-2.1.3/src/toawr.h:57: undefined reference to `toAWR::staticMetaObject’
collect2: ld returned 1 exit status
make[3]: *** [tora] Error 1
make[3]: se sale del directorio `/home/escor/Descargas/tora-2.1.3/src’
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/escor/Descargas/tora-2.1.3/src’
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/escor/Descargas/tora-2.1.3′
make: *** [all] Error 2

The moc_toawr.cpp is missing:

>ls src/ | grep moc_toa

This is my


Thank you so much.

 Actaully there will be no moc_toawr.cpp file in the tar file. However when you run make, the file moc_toawr.cxx should get created. This file gets created with command moc-qt4. Can you check that this command is present in your system. Currently I do not have access to the system where I had compiled tora, will check that and get back to you with more details.

I got it!!!

The hidden step in almost all webs is executing ./ after the modification, as well as an appropiate ./configure command.

Thank you so much for the effort!

U gave me hope!!

This site uses Akismet to reduce spam. Learn how your comment data is processed.