Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Erro ao compilar a lib qt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
deusr
n00b
n00b


Joined: 25 Sep 2006
Posts: 12

PostPosted: Wed Sep 27, 2006 2:28 am    Post subject: Erro ao compilar a lib qt Reply with quote

Nunca vi esse erro antes e não sei como resolver, já que estou usando pacotes estáveis, acho que nao era para acontecer isso :/

Code:
i686-pc-linux-gnu-g++ -c -pipe -fno-exceptions -Wall -W -mcpu=i686 -pipe -O2 -fno-strict-aliasing -D_REENTRANT -fPIC  -DQT_INTERNAL_XML -DQ_TEMPLATE_EXTERN=extern -DRESOURCE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../../../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/moc_database2.o .moc/release-shared-mt/moc_database2.cpp
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
test -d ../../../lib/ || mkdir -p ../../../lib/
rm -f libqui.so.1.0.0 libqui.so libqui.so.1 libqui.so.1.0
i686-pc-linux-gnu-g++ -fno-exceptions -shared -Wl,-soname,libqui.so.1 -o libqui.so.1.0.0 .obj/release-shared-mt/qwidgetfactory.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/uib.o .obj/release-shared-mt/database.o .obj/release-shared-mt/moc_database2.o  -L/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
ln -s libqui.so.1.0.0 libqui.so
ln -s libqui.so.1.0.0 libqui.so.1
ln -s libqui.so.1.0.0 libqui.so.1.0
rm -f ../../../lib/libqui.so.1.0.0
rm -f ../../../lib/libqui.so
rm -f ../../../lib/libqui.so.1
rm -f ../../../lib/libqui.so.1.0
mv -f libqui.so.1.0.0 libqui.so libqui.so.1 libqui.so.1.0 ../../../lib/
make[3]: Saindo do diretório `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/uilib'
cd designer && make -f Makefile
make[3]: Entrando no diretório `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/designer'
/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/bin/uic -L /var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/plugins listboxeditor.ui -o listboxeditor.h
/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/bin/uic: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
make[3]: ** [listboxeditor.h] Erro 127
make[3]: Saindo do diretório `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer/designer'
make[2]: ** [sub-designer] Erro 2
make[2]: Saindo do diretório `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools/designer'
make[1]: ** [sub-designer] Erro 2
make[1]: Saindo do diretório `/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/tools'
make: ** [sub-tools] Erro 2

!!! ERROR: x11-libs/qt-3.3.6-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  qt-3.3.6-r2.ebuild, line 205:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Wed Sep 27, 2006 7:16 am    Post subject: Reply with quote

/var/tmp/portage/qt-3.3.6-r2/work/qt-x11-free-3.3.6/bin/uic: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory


corre o revdep-rebuild e espera umas horas ate compilar tudo
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
deusr
n00b
n00b


Joined: 25 Sep 2006
Posts: 12

PostPosted: Wed Sep 27, 2006 10:52 am    Post subject: Reply with quote

Eu fiz isso, ele vai mostrando que tudo em qt depende dessa lib, e algumas em gtk tb, aí chega no final ele nao consegue resolver o problema.

Quando chegar em casa, vou rodar o comando denovo e postar o que acontece!
Back to top
View user's profile Send private message
deusr
n00b
n00b


Joined: 25 Sep 2006
Posts: 12

PostPosted: Wed Sep 27, 2006 4:28 pm    Post subject: Reply with quote

Cara, dei uma atalizada na lista de pacotes e notei que tem qt nova, esteanho isso, agora tah tendo atualizacao todo dia praticamente !:/

Chegando em casa vou tertar arrumar, acho que agora vai dar certo !;)
Back to top
View user's profile Send private message
deusr
n00b
n00b


Joined: 25 Sep 2006
Posts: 12

PostPosted: Thu Sep 28, 2006 2:24 pm    Post subject: Reply with quote

Não deu certo, removi todo o KDE, estava com o 3.4.3 e 3.5.2 instalados, removi tudo e rodei o emerge -Dupv world, o primeiro pacote que aparece é o x11-libs/qt-3.3.6-r2, ele vai compilar e da o erro mostrado acima. Resolvi remover o pacote mais atigo e mandei compilar denovo, tb deu o mesmo erro, aí resolvi instalar a versão nova que tah no ACCEPT_KEYOWRDS que é a x11-libs/qt-4.1.4, compilou certinho, o problema eh que mesmo com a versão nova instalada, quando eu rodo o comando para a tualizar o sistema, ele fala que vai instalar a qt-3. Tem como ele não pedir para usar a 3 e utilizar a 4 no lugar da 3 ?
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Thu Sep 28, 2006 5:23 pm    Post subject: Reply with quote

Nao podes usar obrigatoriamnte o qt4 porque poucas aplicaçoes dependem dele e o KDE3.x e' todo baseado em qt3.
Em relação ao teu problema já te expliquei como tinhas que resolver. Até porque vem documentado qd fizeste o upgrade do expat.

Quote:

Please note that the soname of the library changed!
If you are upgrading from a previous version you need
to fix dynamic linking inconsistencies by executing:
revdep-rebuild --library libexpat.so.0

_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
deusr
n00b
n00b


Joined: 25 Sep 2006
Posts: 12

PostPosted: Thu Sep 28, 2006 8:58 pm    Post subject: Reply with quote

Na verdade eu tive que instalar uma vesão mais antiga do expat, uma versão abaixo da 2.0.

Quando chegar em casa vou testar e vê se deu certo!

Parece também que o qt-3.3.6-r2 está com um bug.
Back to top
View user's profile Send private message
deusr
n00b
n00b


Joined: 25 Sep 2006
Posts: 12

PostPosted: Fri Sep 29, 2006 12:25 pm    Post subject: Reply with quote

Consegui resolver !;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum