Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Install] k3b e problemi con kdelibs [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Sun Oct 31, 2004 6:43 pm    Post subject: [Install] k3b e problemi con kdelibs [Risolto] Reply with quote

Ciao a tutti,

da buon gtklover, l'unica applicazione kde degna di essere installata è k3b. Utilizzo k3b da ormai qualche mese, e ho notato di recente che è disponibile un aggiornamento stabile nel portage:
Code:
[ebuild     U ] app-cdr/k3b-0.11.17 [0.11.12-r1] +arts -debug +dvdr -encode +flac -kde +mad +oggvorbis -xinerama 0 kB

Il problema è che lanciando il comando
Code:
USE="-kde -encode dvdr flac" emerge k3b

si blocca sul configure con questo errore:
Code:
checking for KDE... libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include
checking if UIC has KDE plugins available... no
configure: error: you need to install kdelibs first.

!!! ERROR: app-cdr/k3b-0.11.17 failed.
!!! Function kde_src_compile, Line 130, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.

strano le kdelibs sono installate... controllo e vedo che è disponibile un aggiornamento
Code:
bash-2.05b# emerge kdelibs -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.4.26-r9  -build -doc 31,156 kB
[ebuild  N    ] media-sound/alsa-driver-1.0.6a  -debug +oss 1,748 kB
[ebuild  NS   ] kde-base/kdelibs-3.3.0  +alsa +arts +cups -debug -doc -ipv6 -kerberos -ldap +ssl -tiff -xinerama 15,335 kB

ma perchè richiede gli alsa-driver e il kernel-2.4 ??
Ora provo ad installarle con il --nodeps vi farò sapere... cmq è abbastanza strano, no?


Last edited by luca82 on Mon Nov 01, 2004 1:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Oct 31, 2004 7:17 pm    Post subject: Reply with quote

no... secondo me tu hai 2 problemi:

1) hai aggiornato gcc ultimamente e uic riporta un errore per problemi con la libstdc++: soluzione usare fix_libtool_files.sh. cerca nel forum e trovi un post in cui spiego tutto.
per vedere se é cosi controlla il config.log sotto /var/tmp/portage/kdelibs/work/kdelibs-3..../


2) vuola alsa perché non hai installato almeno un kernel 2.6 tramite gli ebuild e quindi non é presente il virtual/alsa.
_________________
...
Back to top
View user's profile Send private message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Sun Oct 31, 2004 7:39 pm    Post subject: Reply with quote

grazie per la risposta velocissima.
Per il punto 1 ho provato
Code:
/sbin/fix_libtool_files.sh 3.3

ma continua a dare lo stesso errore quando provo ad emergere k3b...
Per quanto riguarda il punto 2... non mi ricordavo di aver fatto emerge -C gentoo-dev-sources perchè dovevo crearmi uno stage4 di backup...
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Oct 31, 2004 7:44 pm    Post subject: Reply with quote

che versione di gcc avevi prima?

per precisione puoi controllare il config.log. e magari postare il pezzo relativo a quell'errore.
_________________
...
Back to top
View user's profile Send private message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Sun Oct 31, 2004 8:01 pm    Post subject: Reply with quote

Come gcc avevo la 3.3.3-r6, ora ho la 3.3.4-r1.

nel file config.log di k3b ho trovato questo:
Code:
configure:29668: result: no
configure:29700: checking for rpath
configure:29728: result: yes
configure:29731: checking for KDE
configure: 29787: /usr/include/ksharedptr.h
configure: 29787: /usr/kde/3.2/include/ksharedptr.h
taking that
configure: 29817: /usr/lib/libkio.la
configure: 29817: ${exec_prefix}/lib/libkio.la
configure: 29817: /usr/kde/3.2/lib/libkio.la
taking that
configure: 29835: /usr/lib/kde3/plugins/designer/kdewidgets.la
configure: 29835: ${exec_prefix}/lib/kde3/plugins/designer/kdewidgets.la
configure: 29835: /usr/kde/3.2/lib/kde3/plugins/designer/kdewidgets.la
taking that
configure:29905: result: libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include
configure:29944: checking if UIC has KDE plugins available
configure:29971: /usr/qt/3/bin/uic -L /usr/kde/3.2/lib/kde3/plugins/designer -nounload -impl actest.h actest.ui > actest.cpp
configure:29974: $? = 0
configure:29988: result: no
configure:29991: error: you need to install kdelibs first.

Provando a compilare le kdelibs mi da questo errore:
Code:
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4.4/libstdc++.la' is not a valid libtool archive

la directory dovrebbe essere 3.3.4 e non 3.3.4.4...
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Oct 31, 2004 10:32 pm    Post subject: Reply with quote

strano questo 3.3.4.4.

prova a dare
Code:

fix_libtool_files.sh 3.3.4.4

_________________
...
Back to top
View user's profile Send private message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Mon Nov 01, 2004 9:16 am    Post subject: Reply with quote

ho provato con
Code:

fix_libtool_files.sh 3.3.4.4

ma continua a dare lo stesso errore...
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Nov 01, 2004 10:00 am    Post subject: Reply with quote

puoi postare cosa riporta

gcc -dumpversion

e magari anche l'output di 'fix_lib_toolsfiles 3.3.4.4'
_________________
...
Back to top
View user's profile Send private message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Mon Nov 01, 2004 10:17 am    Post subject: Reply with quote

gcc -dumpversion
Code:
bash-2.05b# gcc -dumpversion
3.3.4

fix_lib_toolsfiles 3.3.4.4
Code:
bash-2.05b# fix_libtool_files.sh 3.3.4.4
 * Scanning libtool files for hardcoded gcc library paths...
 *   Scanning /lib...
 *   Scanning /usr/lib...
 *   Scanning /opt/sun-jdk-1.5.0/jre/lib...
 *   Scanning /usr/X11R6/lib...
 *   Scanning /usr/games/lib...
 *   Scanning /usr/kde/3.3/lib...
 *   Scanning /usr/local/lib...
 *   Scanning /usr/qt/3/lib...
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Nov 01, 2004 10:26 am    Post subject: Reply with quote

sembra che fix_libtools_files.sh non trova nessun file .la contenente 3.3.4.4. inoltre non so nemmeno come abbia fatto a saltare fuori quel numero strano li...

Credo che la soluzione si cercare sull'harddisk i file *.la che contengono 3.3.4.4 e sostituirlo con 3.3.4.
_________________
...
Back to top
View user's profile Send private message
luca82
Guru
Guru


Joined: 22 Oct 2003
Posts: 306
Location: Somewhere Between Heaven and Hell

PostPosted: Mon Nov 01, 2004 11:10 am    Post subject: Reply with quote

Sono riuscito ad emergere kdelibs... non so per quale motivo, ma tra un fix_libtools_files.sh e l'altro sono riuscito a compilarle. Mistero...
Ora sembra che anche k3b vada (è riuscito a completare il configure).
Grazie.
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Nov 01, 2004 11:17 am    Post subject: Reply with quote

ottimo! non sapremo mai il perché ma almeno funziona :lol:

P.S. Metti il tag [Risolto] al titolo.
_________________
...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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