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 sourceforge.net . 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 vi Makefile.am
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:
./configure make sudo make install
And you are done…..
Related articles
- Quickly install most of the things that you need on Fedora. (amit-agarwal.co.in)
- Build EiskaltDC++ on Fedora 16 Lovelock 64-bit (k4rtik.wordpress.com)
- Linux – Ubuntu antialiasing on Fedora (or any other distro)? (stackoverflow.com)
Hi Amit,
I’m trying to compile on arch. I edited Makefile.am but src has no moc_toawr.cpp file. How can i get it?
Sorry for my noobness and thx a lot
Hi Escorponox,
What is the error that you are getting, if you do not add that file and use the downloaded src as is.
Thanks,
-aka
Hi Escorponox,
What is the error that you are getting, if you do not add that file and use the downloaded src as is.
Thanks,
-aka
Hi Amit,
I get the same error before and after editing Makefile.am
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
moc_toabout.cpp
moc_toalert.cpp
moc_toanalyze.cpp
tora-moc_toabout.o
tora-moc_toalert.o
tora-moc_toanalyze.o
This is my Makefile.am:
BUILT_SOURCES =
moc_toabout.cpp
moc_toalert.cpp
moc_toanalyze.cpp
moc_toawr.cpp
moc_tobackup.cpp
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 ./autogen.sh after the Makefile.am modification, as well as an appropiate ./configure command.
Thank you so much for the effort!
U gave me hope!!
I am glad that you were able to resolve it.
hi Amit
This guide works also with Fedora 16 X86_64??
I am not sure, but if you have all the development packages, then there is no reason for it not to work 🙂
Take a look on free tool Valentina Studio, is the best way to transform your data into meaningful information; create, administer, query and explore Valentina DB, MySQL, Postgre and SQLite databases for free on 32/64 bit Windows, Linux and Mac OS X. http://www.valentina-db.com/en/valentina-studio-overview
Windows user? Need a professional MySQL Manager? Use: http://www.devart.com/dbforge/mysql/studio/