[Unix-internet] problemowe qt

Piotr Niemirowski niemirowski w stud.umk.pl
Pią, 7 Gru 2007, 23:30:43 CET


Chce zainstalowac qt (potrzebny mi jest do qtiplot) Wpisuje wiec w konsoli:

./configure --enable-shared

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators  
-Igenerators/unix -Igenerators/win32 -Igenerators/mac  
-I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/src/corelib/arch/generic -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/include -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/include/QtCore -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/include -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/include/QtCore -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/src/corelib/global -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/src/script -DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/home/piotr/instalacje/01/qt-x11-opensource-src-4.3.2/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT   
project.cpp
gmake: g++: Polecenie nie znalezione
gmake: *** [project.o] Błąd 127


mam zainstalowane gcc. Po wpisaniu komendy:

gcc -v

otrzymuje:

Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib  
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info  
--enable-shared --enable-threads=posix --enable-checking=release  
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java  
--host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib  
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu  
--disable-libunwind-exceptions --enable-java-awt=gtk  
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre  
--enable-gtk-cairo --enable-ssp --disable-libssp
Thread model: posix
gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)


pomyslalem wiec ze moze uaktualnienie wersji pomoze. probuje wiec z gcc-4.2.2

po wpisaniu ./configure (i dodatki jest ok)
problem pojawia sie po make otrzymuje


...
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[3]: *** [java/parse-scan.o] Błąd 1
make[3]: Opuszczenie katalogu  
`/home/piotr/instalacje/gcc-4.2.2/host-i686-pc-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Błąd 2
make[2]: Opuszczenie katalogu `/home/piotr/instalacje/gcc-4.2.2'
make[1]: *** [stage1-bubble] Błąd 2
make[1]: Opuszczenie katalogu `/home/piotr/instalacje/gcc-4.2.2'
make: *** [all] Błąd 2


Dziekuje z gory za jakies wsparcie sa to moje pierwsze kroki w linuxie  
i jest mi ciezko. Dodam jeszcze ze moja dystrybucja to Mandriva 2007.  
W takich chwilach milo wspominam windowsa ;p hahaha

zobaczymy jak dziala ta lista mailingowa

-- 
Z powazaniem,
Piotr Niemirowski
niemirowski w stud.umk.pl
gg - brak
http://internat.zse.bydgoszcz.pl
http://zse.bydgoszcz.pl/~orkiestra




Więcej informacji o liście Unix-internet