Pagina 1 di 1

[RISOLTO] Compilare le Qt3 (3.3.8b)

Inviato: lun 10 ott 2011, 23:26
da michele.p
Holà,

qualcuno di voi ha provato a compilare di recente le "vecchie" Qt3 versione 3.3.8b? ...ho scaricato "tutto il materiale" da Slackbuilds.org, ma se provo a compilare ottengo questo errore:

Codice: Seleziona tutto

...snip...
[...]
make[4]: Leaving directory `/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/tools/designer/designer'
cd app && make -f Makefile
make[4]: Entering directory `/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/tools/designer/app'
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../designer -I../../../include -I/usr/include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp
In file included from ../../../include/qdragobject.h:50:0,
                 from ../designer/actiondnd.h:38,
                 from ../designer/formwindow.h:40,
                 from main.cpp:42:
../../../include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
../../../include/qimage.h:61:61: warning: suggest parentheses around '&&' within '||'
test -d ../../../bin/ || mkdir -p ../../../bin/
g++ -fno-exceptions  -Wl,-rpath,/home/micha/Prove/qt3/lib -o ../../../bin/designer .obj/release-shared-mt/main.o    -L/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/lib -L/usr/X11R6/lib -ldesignercore -lqui -lqassistantclient -lqt-mt -lmng -ljpeg -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
.obj/release-shared-mt/main.o: In function `main':
main.cpp:(.text+0x3ab): undefined reference to `qInitImages_designercore()'
/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/lib/libdesignercore.a(mainwindow.o): In function `MainWindow::MainWindow(bool, bool, QString const&)':
mainwindow.cpp:(.text+0xf93a): undefined reference to `qInitImages_designercore()'
collect2: ld returned 1 exit status
make[4]: *** [../../../bin/designer] Errore 1
make[4]: Leaving directory `/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/tools/designer/app'
make[3]: *** [sub-app] Errore 2
make[3]: Leaving directory `/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/tools/designer'
make[2]: *** [sub-designer] Errore 2
make[2]: Leaving directory `/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b/tools'
make[1]: *** [sub-tools] Errore 2
make[1]: Leaving directory `/home/micha/Pacchetti/DA_FARE/EL/qt3/qt-x11-free-3.3.8b'
make: *** [init] Errore 2
Eppure "il materiale" è per Slackware 13.37... ...succede anche a voi? ...a chi ha provato, naturalmente...
E' stato rilasciato qualche aggiornamento e/o patch che mi è sfuggito/a?

Thanks & Bye 8)

Re: Compilare le Qt3 (3.3.8b)

Inviato: mar 11 ott 2011, 7:44
da gohanz
Io, partendo dallo script di SBO, ho ricreato il pacchetto per la 13.37 senza particolari problemi.
http://www.slacky.eu/asche/pkgs/index.p ... 5&pkg=2690

Re: Compilare le Qt3 (3.3.8b)

Inviato: mar 11 ott 2011, 14:35
da michele.p
...è lo stesso che ho usato io... ..però a me da quell'errore... :?

Riproverò in giornata/serata. :roll:

Bye 8)

Re: Compilare le Qt3 (3.3.8b)

Inviato: mar 11 ott 2011, 23:38
da michele.p
Ora sembra andare a buon fine (al di là degli errori indicati nello slackbuild per il quale occorre il "make -i") ...forse il problema era dovuto al fatto che vi fosse installato il pacchetto (qt3-3.3.8b) per la Slakcware 13.1 che avevo dimenticato di rimuovere. #-o

Bye 8)