Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[libggi]n'emerge plus avec gcc4.1 ( résolu )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Sat Apr 01, 2006 7:02 pm    Post subject: [libggi]n'emerge plus avec gcc4.1 ( résolu ) Reply with quote

changement de titre : ancien titre [off]modification d'un ebuild

Bonsoir,
j'ai un petit problème avec libggi :
Code:
!!! ERROR: media-libs/libggi-2.0.1-r1 failed.
!!! Function src_compile, Line 52, Exitcode 2

en lorgnant du côtè de l'ebuild il y a :
Quote:

src_compile() {
elibtoolize

local myconf=""

use X \
|| myconf="--without-x"

use svga \
|| myconf="${myconf} --disable-svga --disable-vgagl"

use fbcon \
&& myconf="${myconf} --enable-fbdev"

use directfb \
&& myconf="${myconf} --enable-fbdev --enable-directfb-renderer" \

(use fbcon || use directfb) \
|| myconf="${myconf} --disable-fbdev"

use aalib \
|| myconf="${myconf} --disable-aa"

econf ${myconf} || die
emake || die
}

n'étant pas codeur j'y pige pas grand chose mais la ligne suivante m'a attirée l'oeil :
Code:
        use directfb \
                && myconf="${myconf} --enable-fbdev --enable-directfb-renderer" \   <----------- ICI 8O


1) le \ n'est-il pas de trop par rapport aux autres lignes ,
2) si je le supprime pour tenter ma chance dois-je faire autre chose avant de faire emerge libggi ?
( genre creer un "portage overlay" ? )
voili-voilà.
un avis avisé ..serait le bien-venu :cry:


Last edited by nemo13 on Wed Apr 05, 2006 9:05 pm; edited 2 times in total
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sat Apr 01, 2006 7:17 pm    Post subject: Reply with quote

Un emerge --sync regle pas le problème ?

Sinon oui, ca a bien l'air d'être le \ l'erreur.

Si tu modifie l'ebuild, il faut metre a jour le Manifest. (cf doc portage)

Et si tu le laisse a ce place, un emerge --sync detrura tes modif.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Sat Apr 01, 2006 7:29 pm    Post subject: Reply with quote

oui, il y a une doc sur les ebuilds ("soumettre un ebuild" et "guide du développeur gentoo")

en gros il faut:
- créer un overlay
- y placer les ebuilds modifiés
- faire "ebuild --manifest <nom_de_l_ebuild> ou lors de l'emerge
- et hop, emerge, eix & co le verront ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Sat Apr 01, 2006 7:49 pm    Post subject: Reply with quote

Merci pour vos réponses :D
pour le moment ( après que -e world soit fini ) je vais donc , virer juste le \ puis tenter ma chance.

BuBuaBu > depuis hier emerge --sync marche plus chez moi
XavierMiller > pour l'overlay je vais y aller doucement , j'ai le 1/2 neurone fatigué.

A+
Back to top
View user's profile Send private message
bibi.skuk
Guru
Guru


Joined: 01 Aug 2005
Posts: 425

PostPosted: Sat Apr 01, 2006 7:52 pm    Post subject: Reply with quote

tu peut aussi l'enlever... faire un ebuild mon_ebuild digest, et l'emerger direct, de toute maniere, ca sera remodifié au prochain sync...
Back to top
View user's profile Send private message
Darkael
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1321
Location: France

PostPosted: Sat Apr 01, 2006 9:23 pm    Post subject: Re: [off]modification d'un ebuild Reply with quote

nemo13 wrote:
Bonsoir,
j'ai un petit problème avec libggi :
Code:
!!! ERROR: media-libs/libggi-2.0.1-r1 failed.
!!! Function src_compile, Line 52, Exitcode 2


Il y n'y a que ça qui apparait? Tu n'as pas de message d'erreur au dessus pour la compilation? Le \ à la fin de cette ligne est inoffensif normalement, il mange la ligne vide suivante mais ça devrait être sans incidence.
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Mon Apr 03, 2006 9:23 pm    Post subject: Reply with quote

hops je viens de casser libggi :cry:
je mets ce psot en stand by; désolé de vous avoir mangé du temps! :oops: :oops:

edit fin du stand-by :?

>KarnEvil tu as raison faut lire plus haut dans la sortie d'emerge : cela donne donc

Code:
make[3]: Entering directory `/var/tmp/portage/libggi-2.0.1-r1/work/libggi-2.0.1/default/linear_24'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c box.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c crossblit.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c copybox.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c crossblit.c  -fPIC -DPIC -o crossblit.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c copybox.c  -fPIC -DPIC -o copybox.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c box.c  -fPIC -DPIC -o box.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c hline.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c pixel.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c pixela.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c hline.c  -fPIC -DPIC -o hline.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c pixela.c  -fPIC -DPIC -o pixela.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c pixel.c  -fPIC -DPIC -o pixel.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c visual.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c vline.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c visual.c  -fPIC -DPIC -o visual.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c vline.c  -fPIC -DPIC -o vline.lo
/bin/sh ../../libtool --mode=link gcc  -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -Wl,-O1 -o linear_24.la -rpath /usr/lib/ggi/default  -module -no-undefined           -avoid-version -export-symbols ./EXPSYMS box.lo crossblit.lo copybox.lo hline.lo pixel.lo pixela.lo visual.lo vline.lo ../../ggi/libggi.la -lgg
mkdir .libsrm -fr .libs/linear_24.la .libs/linear_24.* .libs/linear_24.*
(cd . && ln -s box.lo box.o)
(cd . && ln -s crossblit.lo crossblit.o)
(cd . && ln -s copybox.lo copybox.o)
(cd . && ln -s hline.lo hline.o)
(cd . && ln -s pixel.lo pixel.o)
(cd . && ln -s pixela.lo pixela.o)
(cd . && ln -s visual.lo visual.o)
(cd . && ln -s vline.lo vline.o)
gcc -shared  box.lo crossblit.lo copybox.lo hline.lo pixel.lo pixela.lo visual.lo vline.lo  -Wl,--rpath -Wl,/var/tmp/portage/libggi-2.0.1-r1
/work/libggi-2.0.1/ggi/.libs  -L/usr/lib ../../ggi/.libs/libggi.so /usr/lib/libgg.so   -Wl,-O1 -Wl,-soname -Wl,linear_24.so -Wl,-retain-symb
ols-file -Wl,./EXPSYMS -o .libs/linear_24.so
creating linear_24.la
(cd .libs && rm -f linear_24.la && ln -s ../linear_24.la linear_24.la)
make[3]: Leaving directory `/var/tmp/portage/libggi-2.0.1-r1/work/libggi-2.0.1/default/linear_24'
Making all in linear_32
make[3]: Entering directory `/var/tmp/portage/libggi-2.0.1-r1/work/libggi-2.0.1/default/linear_32'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -mss
e2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c box.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -mss
e2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c copybox.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -mss
e2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c crossblit.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_RE
ENTRANT -D_THREAD_SAFE -g -Wall -c crossblit.c  -fPIC -DPIC -o crossblit.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_RE
ENTRANT -D_THREAD_SAFE -g -Wall -c copybox.c  -fPIC -DPIC -o copybox.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_RE
ENTRANT -D_THREAD_SAFE -g -Wall -c box.c  -fPIC -DPIC -o box.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include     -O3 -march=pentium4 -mfpmath=sse,387 -msse -mss
e2 -mmmx -pipe -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -g -Wall -c hline.c
crossblit.c: In function 'crossblit_same':
crossblit.c:303: error: invalid lvalue in increment
crossblit.c:303: error: invalid lvalue in increment
make[3]: *** [crossblit.lo] Erreur 1
make[3]: *** Attente des tâches non terminées....
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O3 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mmmx -pipe -fomit-frame-pointer -D_RE
ENTRANT -D_THREAD_SAFE -g -Wall -c hline.c  -fPIC -DPIC -o hline.lo
make[3]: Leaving directory `/var/tmp/portage/libggi-2.0.1-r1/work/libggi-2.0.1/default/linear_32'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/libggi-2.0.1-r1/work/libggi-2.0.1/default'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/libggi-2.0.1-r1/work/libggi-2.0.1'
make: *** [all-recursive-am] Erreur 2

!!! ERROR: media-libs/libggi-2.0.1-r1 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

donc à priori jusqu'à la fabrication du "linear 24" tout va bien et c'est à partir du linear 32 qu'un truc s'appelant crossblit s'explose la gueule ! c'est benêt.
Je suis dispo pour tout renseignement complémentaire :cry:
A+:jlp
nota libggi est nécessaire pour blender ; pour le moment j'ai bricolé en recopiant :
libggi.la
libggi.so.2.0.1
de ma sauvegarde avant passage en gcc4.1
et en recréant les liens
libggi.so -> libggi.so.2.0.1
libggi.so.2 -> libggi.so.2.0.1
mais bon c'est bricolo :cry:

EDIT : ouf Je m'en suis sorti en mettant dans package.keyword les paquet suivants :
Code:
media-libs/libggi ~x86
media-libs/libgii ~x86
et maintenant blender emerge :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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