Strona 1 z 1

Instalacja Vidalia(program do Tor)i Qt 4.1.0

: 09 czerwca 2007, 22:00
autor: gucio.org
Witam
Mam nastepujace zadanie do rozwiazania:
Do zainstalowania programu Vidalia potrzebuje bibliotek Qt 4.1.0.
Zainstalowalem je zgodnie z opisem ze strony ftp.
Tzn napisalem jako root: ./configure potem make i makeinstall
Nie dotarlem do 4 punktu z tego opisu, tzn nie dodalem zadnej sciezki PATH.

Wchodze do katalogu z src Vidalia i wpisuje ./configure
Wypisuje sie:

Kod: Zaznacz cały

debian:/home/gucio/src/vidalia-0.0.12# ./configure
configure: Configuring vidalia 0.0.12...
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for Qt >= 4.1.0... no
configure: error: Vidalia requires Qt 4.1.0 or greater. You may need to install
  Qt development packages, or you can specify an explicit path using --with-qt-dir
Jak to zrobic, aby Vidalia widziala tego Qt?
Nie rozumiem jak dodac ta sciezke PATH, czy ktos moglby mi to wytlumaczyc po polsku?

Pozdrawiam

: 09 czerwca 2007, 23:05
autor: brz
Nie, zebym sie znal, ale

#1

Kod: Zaznacz cały

aptitude install qt4-dev-tools
#2

Kod: Zaznacz cały

./configure
i jesli dalej nie dziala to

#3

Kod: Zaznacz cały

whereis qt4-dev-tools
#4

Kod: Zaznacz cały

./configure --with-qt-dir /sciezka_podana_przez_#3
????
;]

: 10 czerwca 2007, 12:45
autor: gucio.org
Solved! :-)

: 10 czerwca 2007, 13:51
autor: brz
No prosze, wyglada na to, ze cos jednak wiem. ;]

Maly hint: paczki potrzebne do kompilacji to z reguly paczki z '-dev' w nazwie. ;]