Dodaj do ulubionych

Instalacja PSI - brak QT3

13.12.03, 20:34
Witam. Jestem poczatkujacym uzytkownikiem Mandrake 9.1. Chialem zainstalowac
sobie klienta Jabbera PSi-0.9 ale pojawia mi sie komunikat, z ktorego moge
zrozumiec jedynie, ze jest jakis problem z biblioteka QT.

Oto ten komunikat:

-----------------------------------------------------
krystian@localhost krystian]$ su
Password:
[root@localhost krystian]# cd psi-0.9
[root@localhost psi-0.9]# ./configure
Configuring Psi ...
Warining: qmake not in $QTDIR/bin/qmake
trying to find it in $PATH

Sorry, you seem to have a very unusual setup,
or I missdetected $QTDIR=/usr/local/qt3

Please set $QTDIR manually and make sure that
$QTDIR/bin/qmake exists.

=================================
[root@localhost psi-0.9]# whereis qt3
qt3: /usr/lib/qt3
[root@localhost psi-0.9]#
.
[root@localhost psi-0.9]#

---------------------------------------------------------------------
Jak widać biblioteke QT3 mam chyba zainstalowana. Czy ktos bedzie laskawy i mi
cos podpowie ?
Obserwuj wątek
    • campus_s I jeszcze 13.12.03, 20:50
      To jest chyba jakiś grubszy problem, bo podczas konfiguracji innego proigramu
      GNUGadu2.wystapil jeszcze inny problem. Przyznam, ze nierozumiem jeszcze tych
      bledow wiec mam nadzieje ze jestescie przychylnie nastawieni do takich osob jak
      ja. Podam przebieg konfiguracji

      [root@localhost gg2-2.0pre3]# ./configure
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for awk... awk
      checking whether make sets $(MAKE)... yes
      checking for gcc... gcc
      checking for C compiler default output... 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 ANSI C... none needed
      checking for style of include used by make... GNU
      checking dependency style of gcc... gcc3
      checking how to run the C preprocessor... gcc -E
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether ln -s works... yes
      checking for perl... /usr/bin/perl
      checking for gmake... /usr/bin/gmake
      checking build system type... i686-pc-linux-gnu
      checking host system type... i686-pc-linux-gnu
      checking for egrep... grep -E
      checking for ld used by GCC... /usr/bin/ld
      checking if the linker (/usr/bin/ld) is GNU ld... yes
      checking for /usr/bin/ld option to reload object files... -r
      checking for BSD-compatible nm... /usr/bin/nm -B
      checking for a sed that does not truncate output... /bin/sed
      checking how to recognise dependent libraries... pass_all
      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 dlfcn.h usability... yes
      checking dlfcn.h presence... yes
      checking for dlfcn.h... yes
      checking for g++... no
      checking for c++... no
      checking for gpp... no
      checking for aCC... no
      checking for CC... no
      checking for cxx... no
      checking for cc++... no
      checking for cl... no
      checking for FCC... no
      checking for KCC... no
      checking for RCC... no
      checking for xlC_r... no
      checking for xlC... no
      checking whether we are using the GNU C++ compiler... no
      checking whether g++ accepts -g... no
      checking dependency style of g++... none
      checking how to run the C++ preprocessor... /lib/cpp
      checking for g77... no
      checking for f77... no
      checking for xlf... no
      checking for frt... no
      checking for pgf77... no
      checking for fl32... no
      checking for af77... no
      checking for fort77... no
      checking for f90... no
      checking for xlf90... no
      checking for pgf90... no
      checking for epcf90... no
      checking for f95... no
      checking for fort... no
      checking for xlf95... no
      checking for lf95... no
      checking for g95... no
      checking whether we are using the GNU Fortran 77 compiler... no
      checking whether accepts -g... no
      checking the maximum length of command line arguments... 32768
      checking command to parse /usr/bin/nm -B output from gcc object... ok
      checking for objdir... .libs
      checking for ranlib... ranlib
      checking for strip... strip
      checking if gcc static flag works... yes
      checking if gcc supports -fno-rtti -fno-exceptions... yes
      checking for gcc option to produce PIC... -fPIC
      checking if gcc PIC flag -fPIC works... yes
      checking if gcc supports -c -o file.o... yes
      checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
      checking whether -lc should be explicitly linked in... no
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking dynamic linker characteristics... GNU/Linux ld.so
      checking for shl_load... no
      checking for shl_load in -ldld... no
      checking for dlopen... no
      checking for dlopen in -ldl... yes
      checking whether a program can dlopen itself... yes
      checking whether a statically linked program can dlopen itself... yes
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      configure: creating libtool
      appending configuration tag "CXX" to libtool
      checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
      libtool.m4: error: problem compiling CXX test program
      checking for g++ option to produce PIC...
      checking if g++ supports -c -o file.o... no
      checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking dynamic linker characteristics... ./configure: line 1: g++: command not
      found
      GNU/Linux ld.so
      checking for shl_load... (cached) no
      checking for shl_load in -ldld... (cached) no
      checking for dlopen... (cached) no
      checking for dlopen in -ldl... (cached) yes
      checking whether a program can dlopen itself... (cached) yes
      checking whether a statically linked program can dlopen itself... (cached) yes
      appending configuration tag "F77" to libtool
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      checking for option to produce PIC... -fPIC
      checking if PIC flag -fPIC works... no
      checking if supports -c -o file.o... no
      checking whether the linker (/usr/bin/ld) supports shared libraries... no
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking dynamic linker characteristics... ./configure: line 1:
      -print-search-dirs: command not found
      GNU/Linux ld.so
      checking whether /usr/bin/gmake sets $(MAKE)... yes
      checking for ranlib... (cached) ranlib
      checking for awk... (cached) awk
      checking for ANSI C header files... (cached) yes
      checking for ANSI C header files... (cached) yes
      checking for an ANSI C-conforming const... yes
      checking whether struct tm is in sys/time.h or time.h... time.h
      checking whether byte ordering is bigendian... no
      checking return type of signal handlers... void
      checking for strftime... yes
      checking for vprintf... yes
      checking for _doprnt... no
      checking for memset... yes
      checking for mkdir... yes
      checking for strcasecmp... yes
      checking for strchr... yes
      checking locale.h usability... yes
      checking locale.h presence... yes
      checking for locale.h... yes
      checking for LC_MESSAGES... yes
      checking libintl.h usability... yes
      checking libintl.h presence... yes
      checking for libintl.h... yes
      checking for dgettext in libc... yes
      checking for bind_textdomain_codeset... yes
      checking for msgfmt... no
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for pkg-config... no
      *** The pkg-config script could not be found. Make sure it is
      *** in your path, or set the PKG_CONFIG environment variable
      *** to the full path to pkg-config.
      *** Or see www.freedesktop.org/software/pkgconfig to get pkg-config.
      configure: error:

      ============================================================

      O co moze chodzic ?
      • campus_s Czy to juz koniec ? 13.12.03, 21:14
        Zainstalowalem pkg_config. Dalem configuracje w GnuGadu2, wykazalo ze nie ma
        glib2.2. Zainstalowalem glib2.2.
        Pojawily sie problemy ze w konsoli niedzialaly zadne polecenia.
        Zrestartowalem system i moje oczy spoczely na czym takim:

        Kernel panic: No init found. Try passing init = option to kernel.

        Tak wiec niewyglada to dobrze. Poradzcie czy mozna to jeszcze zrobic, czy lepsza
        bedzie reinstalka ?
        • kell99 Re: Czy to juz koniec ? 13.12.03, 21:55
          ehh glib devel! glib to czesc gtk, a nie glibc, ktore pewnie zainstalowales tak
          na prawde? pewnie ruszyles glibc i rozsypales sobie system...
          mozesz sprobowac uruchomic z plyty, albo z dyskietki ratunkowej, podmontowac
          partycje i ruszyc lilo z opcja -C sciezka do partycji z twoim lilo
          napisz cos wiecej, moze pomoze
          • campus_s Re: Czy to juz koniec ? 13.12.03, 22:24
            To najgorsze co moglo mi sie dzisiaj przytrafic. Sprobuje tak jak mowisz, no ale
            watpie czy niezchrzanie tego bardziej. Mam nadzieje, ze nie zrabie przy okazji
            Lilo bo niebede mial juz okazji nic napisac pozbawiajac sie dostepu do Windowsa.
            Postaram sie napisac o przebiegu akcji jak tylko cos sie zmieni.
    • kell99 Re: Instalacja PSI - brak QT3 13.12.03, 21:09
      potrzebujesz pkgconfig : ftp://ftp.gnome.org/pub/GNOME/sources/pkgconfig/
      albo paczka z dystrybucji. hmm, o ile nie instalowales naglowkow do gtk2, to
      mozesz miec spore problemy z kompilacja tego. bo wiele programow wymaga roznych
      bibliotek do kompilacji, do tego dochodza zaleznosci miedzy nimi, tak wiec
      oplaci sie czasem instalacja wszystkich zrodel np do gnome2 by miec spokoj z
      kompilacja.
      a qt3 tez musisz zainstalowac (interesuja ciebie pakiety z -dev albo -devel w
      nazwie).
      nie prosciej sciagnac "gotowca"? poszukaj na rpmfind.net
      • campus_s Re: Instalacja PSI - brak QT3 13.12.03, 21:42
        Teraz to juz nic chyba nie moge zrobic. Siadlem sobie dzisiaj, zeby to sobie
        porobic i takie problemy od razu. No niezle. No ale, mam pytanie. Czy jest sens
        to naprawiac w moim przpadku, bo jak mowie dopiero zaczynam ?
        • campus_s Wróciło do normy ale.... 14.12.03, 20:38
          Witam, poradziłem sobie i przywrocóilem sprawnośc systemu. Przynajmniej odnosze
          takie wrazenie. Zrobilem juz SDI, zainstalowalem Mozille 1.5 i chialbym wrzucici
          jeszce tego PSI-0.9. No ale prosze co sie dzieje :
          [root@localhost psi-0.9]# ./configure
          Configuring Psi ...

          $QTDIR not set... trying to find qt manually
          Checking for Qt (Multithreaded) >= 3.1 ... yes
          Checking for zlib ... yes
          Checking for the XScreenSaver extension ... yes
          Checking for Linux DNOTIFY ... yes
          Checking for KDE ... no
          WARNING: Failure to find: cutestuff/util/base64.h
          WARNING: Failure to find: cutestuff/util/sha1.h
          WARNING: Failure to find: cutestuff/util/showtextdlg.h
          WARNING: Failure to find: cutestuff/network/ndns.h
          WARNING: Failure to find: cutestuff/util/base64.cpp
          WARNING: Failure to find: cutestuff/util/sha1.cpp
          WARNING: Failure to find: cutestuff/util/showtextdlg.cpp
          WARNING: Failure to find: cutestuff/network/ndns.cpp

          Good, your configure finished. Now run 'QTDIR=/usr/lib/qt3 make'.

          [root@localhost psi-0.9]#

          Napisze co juz zrobilem.
          Sciaglem qt-x11-free-3.2.3
          Rozpakowalem i dałem ./configure
          Skonczyl wiec dalem make. Trawalo to jakies 30 minut zanim skonczyl i dalem make
          install.
          SKonczyl takze poi uplywie 25 minut.
          Zaczolem instalowac PSI no i ten problem co powyzej.

          Poradzi mi ktos co robie zle ?

Nie masz jeszcze konta? Zarejestruj się


Nakarm Pajacyka