View previous topic :: View next topic |
Author |
Message |
Picani Apprentice
Joined: 05 Jul 2009 Posts: 180
|
Posted: Wed Oct 14, 2009 2:31 pm Post subject: [compilation] Problème sur plusieurs logiciels |
|
|
Bonjour à tous.
Je tente depuis une semaine d'installer slim et rxvt-unicode, mais j'obtiens une erreur de compilation toujours au même moment.
Pour slim :
Code: | >>> Unpacking source...
>>> Unpacking slim-1.3.1.tar.gz to /var/tmp/portage/x11-misc/slim-1.3.1-r4/work
>>> Source unpacked in /var/tmp/portage/x11-misc/slim-1.3.1-r4/work
>>> Preparing source in /var/tmp/portage/x11-misc/slim-1.3.1-r4/work/slim-1.3.1 ...
Applying slim-1.3.1-config.diff ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/slim-1.3.1-r4/work/slim-1.3.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-misc/slim-1.3.1-r4/work/slim-1.3.1 ...
make -j3
i686-pc-linux-gnu-gcc -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c jpeg.c -o jpeg.o
i686-pc-linux-gnu-gcc -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c png.c -o png.o
i686-pc-linux-gnu-g++ -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c main.cpp -o main.o
i686-pc-linux-gnu-g++ -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c image.cpp -o image.o
i686-pc-linux-gnu-g++ -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c numlock.cpp -o numlock.o
i686-pc-linux-gnu-g++ -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c cfg.cpp -o cfg.o
image.cpp: In member function ‘bool Image::Read(const char*)’:
image.cpp:71: attention : ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
i686-pc-linux-gnu-g++ -O2 -march=core2 -pipe -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -c switchuser.cpp -o switchuser.o
cfg.cpp: In member function ‘std::string Cfg::getWelcomeMessage()’:
cfg.cpp:215: attention : ignoring return value of 'int getdomainname(char*, size_t)', declared with attribute warn_unused_result
switchuser.cpp: In member function 'void SwitchUser::Execute(const char*)':
switchuser.cpp:50: attention : ignoring return value of ‘int chdir(const char*)', declared with attribute warn_unused_result
switchuser.cpp: In member function 'void SwitchUser::SetClientAuth(const char*)':
switchuser.cpp:59: erreur: 'remove' was not declared in this scope
make: *** [switchuser.o] Erreur 1
make: *** Attente des tâches non terminées....
ERROR: x11-misc/slim-1.3.1-r4 failed.
Call stack:
ebuild.sh, line 49: Called src_compile
environment, line 2373: Called die
The specific snippet of code:
emake || die "emake failed.";
The die message:
emake failed.
If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/tmp/portage/x11-misc/slim-1.3.1-r4/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/x11-misc/slim-1.3.1-r4/temp/environment'.
|
Et pour rxvt-unicode :
Code: | make -j3
make[1]: entrant dans le répertoire « /var/tmp/portage/x11-terms/rxvt-unicode-9.05/work/rxvt-unicode-9.05/src »
i686-pc-linux-gnu-g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H -I/usr/include/freetype2 -O2 -march=core2 -pipe -w -DDEBUG_STRICT -c rxvt.C
i686-pc-linux-gnu-g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H -I/usr/include/freetype2 -O2 -march=core2 -pipe -w -DDEBUG_STRICT -c background.C
i686-pc-linux-gnu-g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H -I/usr/include/freetype2 -O2 -march=core2 -pipe -w -DDEBUG_STRICT -c command.C
command.C: In member function 'void rxvt_term::process_xterm_seq(int, const char*, char)':
command.C:3316: erreur: invalid conversion from 'const char*' to 'char*'
make[1]: *** [command.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
make[1]: quittant le répertoire « /var/tmp/portage/x11-terms/rxvt-unicode-9.05/work/rxvt-unicode-9.05/src »
make: *** [all] Erreur 1
ERROR: x11-terms/rxvt-unicode-9.05 failed.
Call stack:
ebuild.sh, line 49: Called src_compile
environment, line 2532: Called die
The specific snippet of code:
emake || die;
The die message:
(no error message)
If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/tmp/portage/x11-terms/rxvt-unicode-9.05/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/x11-terms/rxvt-unicode-9.05/temp/environment'.
|
Xorg est bien installer et fonctionne (je fait startx au démarrage ...) ainsi que tous les autres logiciels. J'ai également fait emerge -uDNav world && emerge --depclean && revdep-rebuild au cas où, et j'ai recompiler la chaine de compilation. |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1887 Location: 127.0.0.1
|
Posted: Wed Oct 14, 2009 3:53 pm Post subject: |
|
|
Pour rxvt-unicode : installe la version 9.06.
Tu as la glibc-2.10.1. Bug #270694.
Si tu as la glibc-2.10.1, je suppose que tu as gcc-4.4.1.
Pas de chance, la -r4 de slim ne compile pas avec gcc-4.4.
Installe la -r5, bug #252745. |
|
Back to top |
|
|
Picani Apprentice
Joined: 05 Jul 2009 Posts: 180
|
Posted: Thu Oct 15, 2009 5:01 pm Post subject: |
|
|
Merci beaucoup sa marche nickel, en bon noob j'ai pas pensé à aller voir dans la bugzilla ... |
|
Back to top |
|
|
|
|
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
|
|