View previous topic :: View next topic |
Author |
Message |
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Sun Feb 25, 2007 9:35 am Post subject: |
|
|
Installe gentoolkit |
|
Back to top |
|
|
DidgeriDude Guru
Joined: 30 Jan 2005 Posts: 349
|
Posted: Sun Feb 25, 2007 9:37 am Post subject: |
|
|
pour avoir la commande revdep-rebuild.
EDIT : Grillé !
EDIT 2 : Ne serait-il pas plus consistant (pour le système) de faire un emerge -e world ?? |
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 9:49 am Post subject: |
|
|
désolé , jai edité mon message sur la premiere page, jai installé le toolkit, mais comme tu peux voir les resultats, nothing broken |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Sun Feb 25, 2007 10:14 am Post subject: |
|
|
Le problème c'est qu'il devrait être en nptl et qu'il ne l'est pas...
@gentoonew : si tu veux un coup de main...
Code: | !!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant. |
|
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:15 am Post subject: |
|
|
lol le probleme de départ.
Passer a NPTL au lieu de linuxthreads.
en suivant le tuto, j'ai eu des soucis de compilation, j'ai du changer de chost, et ensuite, en reprenant le tuto pour emerge gcc avec l'option NPTL,
ca ne ma rien changé apres le reboot, je suis toujours en linuxthreads
|
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:22 am Post subject: |
|
|
est ce normal que je lise linuxthreads dans le emerge gcc et nulle part de ntpl ?
Code: | >>> Emerging (1 of 1) sys-libs/glibc-2.5 to /
* glibc-libidn-2.5.tar.bz2 MD5 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-libidn-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 MD5 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-ports-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-2.5.tar.bz2 MD5 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 MD5 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-linuxthreads-2.5.tar.bz2 size ;-) ... [ ok ]
* glibc-2.5-patches-1.3.2.tar.bz2 MD5 ;-) ... [ ok ]
* glibc-2.5-patches-1.3.2.tar.bz2 RMD160 ;-) ... [ ok ]
* glibc-2.5-patches-1.3.2.tar.bz2 SHA1 ;-) ... [ ok ]
* glibc-2.5-patches-1.3.2.tar.bz2 SHA256 ;-) ... [ ok ]
* glibc-2.5-patches-1.3.2.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking glibc-2.5.tar.bz2 ;-) ... [ ok ]
* checking glibc-ports-2.5.tar.bz2 ;-) ... [ ok ]
* checking glibc-libidn-2.5.tar.bz2 ;-) ... [ ok ]
* checking glibc-2.5-patches-1.3.2.tar.bz2 ;-) ... [ ok ]
* checking glibc-linuxthreads-2.5.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking glibc-2.5.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.5/work
|
|
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:27 am Post subject: |
|
|
ok le changement de CHOST s'est bien passé (pas eu de bug)
Code: | pclinux ~ # emerge --info
Portage 2.1.2-r9 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 25 Feb 2007 08:00:02 +0000
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amr apache2 apm arts berkdb bitmap-fonts cli cracklib crypt cups dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis x86 xml xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
Code: | pclinux ~ # equery uses glibc
[ Searching for packages matching glibc... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-libs/glibc-2.5 ]
U I
- - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]
- - glibc-compat20 : Enable the glibc-compat addon.
- - glibc-omitfp : Configure glibc with --enable-omitfp which lets the build system determine when it is safe to use -fomit-frame-pointer
- - hardened : activate default security enhancements for toolchain (gcc, glibc, binutils)
- - multilib : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
- - nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
- - nptlonly : Disables building the linuxthreads fallback in glibc ebuilds that support building both linuxthreads and nptl.
- - profile : Adds profile support to builds of packages (will likely vary from ebuild to ebuild in support)
- - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
pclinux ~ #
|
|
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:31 am Post subject: |
|
|
nptl n'est pas pris en compte alors que mon make.conf :
USE="apache2 mysql pam ssl xml xml2 xvid amr nptl" |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Sun Feb 25, 2007 10:36 am Post subject: |
|
|
Quote: | pclinux ~ # emerge --info
Portage 2.1.2-r9 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686) |
... c'est quoi ce profile de brin encore???????????
EDIT : grillé!
Et fous nptlonly aussi dans ton make.conf nom di diou! |
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:38 am Post subject: |
|
|
lol je suis newbie moi désolé
je change de profil comment...euh je recompile quoi...
avec les commandes ca serait plus facile, j'ai pas vraiment dormi |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Sun Feb 25, 2007 10:41 am Post subject: |
|
|
Putain mais ton CFLAGS est faux aussi!!! o_O''''
Bon, paste ton make.conf, ça pue la cata ta conf là! |
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:42 am Post subject: |
|
|
looooooooooool
ok dejà jai ca :
pclinux etc # ls -all /etc/make.profile
lrwxrwxrwx 1 root root 49 Jan 24 12:53 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/no-nptl
ensuite donc le make :
# These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="apache2 mysql pam ssl xml xml2 xvid amr nptl"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/p$ |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:44 am Post subject: |
|
|
jai besoin de refaire ca ?
je lai fait cette nuit yavai pas de soucis
ca va changer quelque chose maintenant alors que jai rien fait de plus ? |
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:47 am Post subject: |
|
|
non jai pa change de flag ni de profile car je ne sais pas quoi faire |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Sun Feb 25, 2007 10:48 am Post subject: |
|
|
Bon, dans le désordre:
Code: | gentoo ~ # eselect profile list
Available profile symlink targets:
[1] default-linux/x86/2006.1 *
[2] default-linux/x86/no-nptl
[3] default-linux/x86/no-nptl/2.4
[4] default-linux/x86/2006.1/desktop
[5] hardened/x86/2.6
[6] selinux/x86/2006.1 |
Je te conseille soit le 1, soit le 4 (sur ma liste à moi). Pour choisir, "eselect profile set x" ou "x" est le numéro du profile.
Pour ton make.conf,
Code: | CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
PORTAGE_NICENESS="19"
USE="apache2 mysql pam ssl xml xml2 xvid amr nptl nptlonly"
GENTOO_MIRRORS=blablablabla << à changer |
Après, est ce que tu dois réémerger tout ou juste faire un "emerge -NDuav world", je ne sais pas. Moi je tenterais la deuxième solution avec un revdep-rebuild derrière ... et si ça passe, temps mieux |
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:53 am Post subject: |
|
|
ok merci bcp pour votre patience
donc jai changer le profile en 1
et je fait le make.conf mais je ne comprends pas ce quil faut changer dans le mirror , je laisse pas comme ca ? |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
gentoonew n00b
Joined: 14 Feb 2007 Posts: 71
|
Posted: Sun Feb 25, 2007 10:57 am Post subject: |
|
|
bon je sais pas ce que je dois faire lol, mais en tout cas avec les commandes je vois bien que maintenant le nptl only sera pris en compte. |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Sun Feb 25, 2007 10:58 am Post subject: |
|
|
gentoonew wrote: | ok merci bcp pour votre patience
donc jai changer le profile en 1
et je fait le make.conf mais je ne comprends pas ce quil faut changer dans le mirror , je laisse pas comme ca ? |
Juste que t'as du gaffer pour copier ton GENTOO_MIRRORS, mais le tiens doit être bon.
J'ai mis "à changer" pour pas que tu fasses un copier coller en laissant "blablablabla"
Moi je dois partir, je te laisse entre les bonnes mains de boozo |
|
Back to top |
|
|
Magic Banana Veteran
Joined: 13 Dec 2005 Posts: 1912 Location: Belo Horizonte, Minas Gerais, Brasil
|
Posted: Sun Feb 25, 2007 10:59 am Post subject: |
|
|
Sélectionner le profile qui te va bien: | # eselect profile set default-linux/x86/2006.1/desktop |
Les CFLAGS pour ton architecture (à écrire dans /etc/make.conf): | CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}" |
Et après tout cela :
Mettre à jour l'arbre Portage et recompiler tout le système: | # emerge --sync && emerge -e world |
... et va dormir !
À ton réveil n'oublie pas la mise à jour des fichiers de configuration via dispatch-conf (ou etc-update si tu n'as pas encore installé dispatch-conf). |
|
Back to top |
|
|
|