Trouble with installation on Ubuntu 12.10

Linux (Theli bezogen), Theli, GUI und Hilfsprogramme.
Forumsregeln
Bitte die Beiträge kurz fassen, so kann man sie nachher besser finden. Sollte ein Problem gelöst sein, dann einen neuen Beitrag eröffnen. Ebenso wenn die Ursache eine ganz andere ist, oder es Offtopic wird.

Trouble with installation on Ubuntu 12.10

Beitragvon oleg » Sonntag 7. Oktober 2012, 16:05

Hello all,

I've a trouble with installation on Ubuntu 12.10

####################################################
# Installing the THELI GUI
####################################################

uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
uic: File generated with too old version of Qt Designer (3.3)
/usr/bin/uic-qt4 theliform.ui -o .ui/ui_theliform.h
uic: File generated with too old version of Qt Designer (3.3)
File 'theliform.ui' is not valid
make: *** [.ui/ui_theliform.h] Помилка 1



###################################################################
#
# Something went wrong!
# No 'theli' executable could be found in /home/oleg/gui-2.5.3 .
# Check the output above for errors.
#
###################################################################
#
#
oleg@oleg:~/gui-2.5.3$
Ubuntu 14.04 64-bit (CPU Intel® Core™ i7-3930K, RAM 64GB, RAID0: 6x1TB).
oleg
 
Beiträge: 85
Registriert: Samstag 1. Oktober 2011, 18:00
Wohnort: Portugal

Re: Trouble with installation on Ubuntu 12.10

Beitragvon moos » Sonntag 7. Oktober 2012, 18:57

Hi Oleg,
qt4 seems to be installed and theli is developed in qt3. theli setup requires qt3. I don't know if you can remove your qt4 but you should try to.
If not, you must be sure to let theli setup scripts call uic in older version.
Ciao Carsten
moos
 
Beiträge: 504
Registriert: Dienstag 18. Oktober 2011, 19:06

Re: Trouble with installation on Ubuntu 12.10

Beitragvon mischa » Montag 8. Oktober 2012, 00:25

moos hat geschrieben:Hi Oleg,
qt4 seems to be installed and theli is developed in qt3. theli setup requires qt3. I don't know if you can remove your qt4 but you should try to.
If not, you must be sure to let theli setup scripts call uic in older version.


simple. redirect the links for 'uic' and 'qmake' in /usr/bin to their qt3 versions.
of course that requires that qt3-dev is installed, but i assume that is the case.

mischa
mischa
Moderator
 
Beiträge: 1266
Registriert: Freitag 7. Oktober 2011, 14:07
Wohnort: Chile

Re: Trouble with installation on Ubuntu 12.10

Beitragvon woho » Sonntag 28. Oktober 2012, 15:34

Hi Oleg and Mischa,

I had the same problem. Since I'm using that computer for Qt4 development also, I left /usr/bin/qmake as is, but replaced the qmake call in Theli's gui/install.sh by an explicit qmake-qt3:
Code: Alles auswählen
cd gui-2.6.0
sed -i -e "s/qmake/qmake-qt3/g" install.sh
./install.sh

I don't know if that's distro-specific, but on Kubuntu 12.04 Qt3 and Qt4 tools do coexist quite nicely:
Code: Alles auswählen
woho@kristall:~$ ll /usr/bin/qmake*
lrwxrwxrwx 1 root root      23 Jul 25 14:53 /usr/bin/qmake -> /etc/alternatives/qmake*
-rwxr-xr-x 1 root root 1897392 Dec  3  2011 /usr/bin/qmake-qt3*
-rwxr-xr-x 1 root root 3477000 Jul 15 06:17 /usr/bin/qmake-qt4*

Mischa, could you include the change to install.sh in the next Theli Gui release? Or are there other environments that would break with that change?

Thanks,
Wolfgang
woho
 
Beiträge: 56
Registriert: Samstag 30. Juni 2012, 09:00
Wohnort: Bad Aibling

Re: Trouble with installation on Ubuntu 12.10

Beitragvon mischa » Sonntag 28. Oktober 2012, 15:40

woho hat geschrieben:Mischa, could you include the change to install.sh in the next Theli Gui release? Or are there other environments that would break with that change?


sure. i can test for the presence of qmake-qt3 and use it if it is available.

mischa
mischa
Moderator
 
Beiträge: 1266
Registriert: Freitag 7. Oktober 2011, 14:07
Wohnort: Chile

Re: Trouble with installation on Ubuntu 12.10

Beitragvon woho » Sonntag 28. Oktober 2012, 16:09

Cool, thanks :)
woho
 
Beiträge: 56
Registriert: Samstag 30. Juni 2012, 09:00
Wohnort: Bad Aibling

Re: Trouble with installation on Ubuntu 12.10

Beitragvon Stefan » Donnerstag 3. Januar 2013, 15:30

Hi, wollte mich hier zu Wort melden und die Lösung so wie die Installation für mich funktionier hat auch für andere zur Verfügung stellen.
Im Prinzip steht hier im Thread schon einiges, aber nochmal zusammenfassend::

libqt3 wird mit 12.10 nicht ausgeliefert, also muss man sich selbst behelfen. Dazu einfach unter "Software Sources" (einfach suchen, oder im deutschen das Äquvalent dazu) eine zusätzliche Quelle eintragen mit der Zeile:

deb http://de.archive.ubuntu.com/ubuntu precise main

danach sollte das qt3 Paket gefunden werden da dieses mit Precise noch ausgeliefert wurde. Die Zeile

sudo apt-get install gfortran csh g++ libqt3-mt-dev gawk gettext wget

aus der Installationsanleitung sollte damit keine Probleme machen. Nun muss man aber noch qt3 auswählen falls man schon qt4 installier hat. Man überprüft das mit

qmake -v
(man muss vielleicht erst qmake installieren mit sudo apt-get install qmake)

Falls man nicht v3.x.x hat einfach

sudo update-altneratives --config qmake

und man wählt sich die 3er Version aus. Danach sollte alles einwandfrei kompilieren. :)

lg
Stefan
Stefan
 
Beiträge: 13
Registriert: Donnerstag 3. Januar 2013, 14:31


Zurück zu Installation und Ubuntheli

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 14 Gäste

cron