Strona 1 z 2
kydpdict i qt
: 12 marca 2008, 16:22
autor: zomer
Kydpdict to mały i użyteczny program. W 32bit-owym debianie instalowałem go poprzez
Wcześniej musiałem zrobić coś takiego
ale teraz to nie działa.
Kod: Zaznacz cały
checking whether byte ordering is bigendian... no
checking for moc... /usr/share/qt4/bin/moc
checking for uic... /usr/share/qt4/bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
Alien też nie potrafi tego przetworzyć zwraca mi jakieś błędy że ma niezgodną architektóre amd-64. Dziwne bo instalowałem z tego rpm-u na 64-bit Fedorze i architektóra paczki była zgodna.
: 12 marca 2008, 16:42
autor: Yampress
Kod: Zaznacz cały
./configure --with-qt-dir=/usr/lib/qt3
lub
./configure --with-qt-dir=/usr/include/qt3
: 12 marca 2008, 16:59
autor: zomer
Z tym parametrem
nie przeszło. W readme.txt pisze coś że
Konieczne jest posiadanie biblioteki Qt w wersji >=3.1, je�li kompilujemy
program konieczny b�dzie tak�e pakiet Qt-devel.
1.2 KOMPILACJA
Wykonaj
./configure
ewentualnie (zobacz ni�ej komu mog�oby si� to przyda�
:
./configure --without-x
Nie wiem czy dobrze kombinuje, ale to chyba ma być qt4, ale
też nie przeszło.
: 12 marca 2008, 17:13
autor: Yampress
a pakiet zainstalowałes ten co wyżej podałem ?
: 12 marca 2008, 21:55
autor: zomer
Kod: Zaznacz cały
qt3-dev-tools jest już w najnowszej wersji.
The following packages were automatically installed and are no longer required:
libcupsys2-dev libqt3-compat-headers
Polecenie
zwraca mi
Kod: Zaznacz cały
> ./configure --with-qt-dir=/usr/share/qt3"
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether make sets $(MAKE)... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
checking for moc... /usr/bin/moc
checking for uic... /usr/bin/uic
checking for Qt library name... cat: confdefs.h: No such file or directory
cat: confdefs.h: No such file or directory
failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
./configure: line 6421: unset: BASH_ARGV: cannot unset
configure: WARNING: Cache variable qt_cv_dir contains a newline.
configure: WARNING: Cache variable qt_cv_includes contains a newline.
configure: WARNING: Cache variable qt_cv_libraries contains a newline.
Szkoda bo to fajny słownik do angielskiego Widziałem że na stronie z paczkami jest w trakcie budowy.
: 12 marca 2008, 22:33
autor: michlord
Jedziesz z tym
Kod: Zaznacz cały
./configure --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib/qt3
: 13 marca 2008, 10:31
autor: zomer
Tak tego użyłem i dostaję coś takiego
Kod: Zaznacz cały
checking whether byte ordering is bigendian... no
checking for moc... /usr/bin/moc
checking for uic... /usr/bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right $QTDIR !
: 13 marca 2008, 10:50
autor: fnmirk
A może, porównaj z Ydpdict --- jest w repozytorium Debiana.
: 13 marca 2008, 11:04
autor: zomer
Kod: Zaznacz cały
apt-get install ydpdict
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Reading state information... Gotowe
The following packages were automatically installed and are no longer required:
libcupsys2-dev libqt3-compat-headers qt3-dev-tools ==> też kożysta z qt3-dev-tools, ale gdzie je znalazł?
Use 'apt-get autoremove' to remove them.
Zostaną zainstalowane następujące dodatkowe pakiety:
libydpdict1
Zostaną zainstalowane następujące NOWE pakiety:
libydpdict1 ydpdict
0 aktualizowanych, 2 nowo instalowanych, 0 usuwanych i 21 nieaktualizowanych.
Konieczne pobranie 36,2kB archiwów.
After this operation, 217kB of additional disk space will be used.
Czy chcesz kontynuować [T/n]? t
Pob: 1 [url]http://ftp.pl.debian.org[/url] lenny/contrib libydpdict1 0.99.1-2 [9330B]
Pob: 2 [url]http://ftp.pl.debian.org[/url] lenny/contrib ydpdict 0.99.2-2 [26,8kB]
Pobrano 36,2kB w 0s (49,2kB/s)
Zaznaczenie poprzednio niezaznaczonego pakietu libydpdict1.
(Odczytywanie bazy danych ... 180509 plików i katalogów obecnie zainstalowanych.)
Rozpakowanie libydpdict1 (z .../libydpdict1_0.99.1-2_amd64.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu ydpdict.
Rozpakowanie ydpdict (z .../ydpdict_0.99.2-2_amd64.deb) ...
Konfigurowanie libydpdict1 (0.99.1-2) ...
Nie mogłem znaleźć ydpdict bo miałem stare wpisy poinstalacyjne
Kod: Zaznacz cały
deb [url]http://ftp.pl.debian.org/debian/[/url] lenny main
deb-src [url]http://ftp.pl.debian.org/debian/[/url] lenny main
deb [url]http://security.debian.org/[/url] lenny/updates main
deb-src [url]http://security.debian.org/[/url] lenny/updates main
Dopiero zmiana na te
http://debian.linux.pl/viewtopic.php?t=1515 dało porządany efekt, ydpdict się zainstalował.
Trudno jednak porównać ydpidict z kydpdict bo ten drugi jako że jest graficzny i napisany chyba w Qt4 wymaga innych bibliotek, ale dzięki najważniejsze że mam słownik.
: 13 marca 2008, 11:14
autor: fnmirk
Nie instaluj go od razu --- tylko porównaj. Podany pakiet ydpdict, spełnia podobną rolę do kydpdict.
Ja nie wiem czy on będzie odpowiedni do twoich wymagań i zadziała w środowisku 64-bitowym. Musisz poszukać. Mam system 32-bitowy.