View previous topic :: View next topic |
Author |
Message |
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Thu Mar 13, 2014 10:58 am Post subject: probleme d installation xorg |
|
|
Bonjour à tous,
nouveau venu sur gentoo
je suis entrain d essayer d installer le xorg en suivant la doc suivante : http://wiki.gentoo.org/wiki/Xorg/Configuration/fr
j en suis actuellement à l etape : emerge --ask xorg-server
mais la compil ne se passe pas bien voici les messages erreurs reguliers
Code: |
*** Configuration i686-pc-none not supported
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
* ERROR: sys-devel/gcc-4.7.3-r1::gentoo failed (compile phase):
* emake failed with bootstrap-lean
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 3730: Called toolchain_src_compile
* environment, line 4450: Called gcc_do_make
* environment, line 1927: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-4.7.3-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.7.3-r1::gentoo'`.
*
* Please include /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-build-logs.tar.bz2 in your bug report.
*
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build'
* S: '/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3
|
mon fichier make.conf :
Code: |
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification thunar udev X"
MAKEOPTS="-j3"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS=""
INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="ati"
EMERGE_DEFAULT_OPTS="--keep-going"
|
j ai probablement un souci au niveau du fichier make.conf et je voulais savoir si il y avait une possibilite de generer un nouveau fichier make.conf bien propre
merci à tous |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8711 Location: ~Brussels - Belgique
|
Posted: Thu Mar 13, 2014 11:04 am Post subject: |
|
|
ton CHOST n'est pas correct: il devrait être i686-pc-linux-gnu.
De plus, tu as un K8. Pourquoi être en 32 bits et pas 64 ?
As-tu suivi le manuel de Gentoo ? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Thu Mar 13, 2014 11:17 am Post subject: |
|
|
Salut oui j ai suivi le manuel
j ai install geneto sur un vieux think pad 32 bit mais je sais pas pourquoi je me retrouve avec i686 |
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Thu Mar 13, 2014 1:56 pm Post subject: |
|
|
Est ce que tu peux nous faire un:
ou:
On va commencer par trouver ce que tu devrais avoir dans ton make.conf.
De manière générale, tes CFLAGS devraient toujours être:
Code: | -O2 -pipe -march=native |
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8711 Location: ~Brussels - Belgique
|
Posted: Thu Mar 13, 2014 2:04 pm Post subject: |
|
|
ou plutôt Code: | -O2 -pipe -march=native -mtune=native | _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Thu Mar 13, 2014 2:20 pm Post subject: |
|
|
Je pensais qu'mtune prennait la valeur de march?
Pas d'après le wiki:
Quote: | On x86 and x86-64 CPUs, -march will generate code specifically for that CPU using all its available instruction sets and the correct ABI; it will have no backwards compatibility for older/different CPUs. If you don't need to execute code on anything other than the system you're running Gentoo on, continue to use -march. You should only consider using -mtune when you need to generate code for older CPUs such as i386 and i486. -mtune produces more generic code than -march; though it will tune code for a certain CPU, it doesn't take into account available instruction sets and ABI. Don't use -mcpu on x86 or x86-64 systems, as it is deprecated for those arches. |
Dans le man gcc 3 on trouve:
Quote: | Generate instructions for the machine type cpu-type. The choices for cpu-type are the same as for -mtune. Moreover, specifying -march=cpu-type implies -mtune=cpu-type. |
Mais c'est pas dit comme ça dans le man de gcc 4, du coup j'ai un doute.
De manière empirique, sur ma machine:
Code: | gcc -Q -march=native --help=target |egrep '(march|mtune|enabled)'
-m64 [enabled]
-m80387 [enabled]
-m96bit-long-double [enabled]
-maes [enabled]
-malign-stringops [enabled]
-march= core-avx-i
-mavx [enabled]
-mcx16 [enabled]
-mf16c [enabled]
-mfancy-math-387 [enabled]
-mfentry [enabled]
-mfp-ret-in-387 [enabled]
-mfsgsbase [enabled]
-mglibc [enabled]
-mhard-float [enabled]
-mieee-fp [enabled]
-mpclmul [enabled]
-mpopcnt [enabled]
-mpush-args [enabled]
-mrdrnd [enabled]
-mred-zone [enabled]
-msahf [enabled]
-msse [enabled]
-msse2 [enabled]
-msse3 [enabled]
-msse4 [enabled]
-msse4.1 [enabled]
-msse4.2 [enabled]
-mssse3 [enabled]
-mstackrealign [enabled]
-mtls-direct-seg-refs [enabled]
-mtune= core-avx-i
|
https://forums.gentoo.org/viewtopic-t-985844-highlight-mtune.html
mtune prend bien march. |
|
Back to top |
|
|
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Fri Mar 14, 2014 8:39 am Post subject: |
|
|
merci pour vos reponses alors j ai un peu avancé de mon coté
voici le retour de la commande lscpu
Code: |
lscpu
Architecture: i686
CPU op-mode(s): 32-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 9
Stepping: 5
CPU MHz: 1500.000
BogoMIPS: 2990.06
|
sinon j ai un peu modifié mon fichier make.conf en me basant sur le fichier exemple make.conf
et la compilation arrive à aller un peu plus loin
voici mon fichier make.conf mise à jour
Code: |
cat /etc/portage/make.conf
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=pentium-m -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="X glib opengl svg xcb (-aqua) -debug -directfb -doc (-drm) (-gallium) (-gles2) -legacy-drivers -openvg (-qt4) -static-libs -valgrind -xlib-xcb"
MAKEOPTS="-j2"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~x86"
INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="ati"
EMERGE_DEFAULT_OPTS=""
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PKGDIR=/usr/portage/packages
|
je suis en train de faire un emerge -NDu world
desfois qu il y est un probleme de mise à jour par rapport a gcc pas à jour je reteste ensuite un[/code] emerge xorg-server |
|
Back to top |
|
|
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Fri Mar 14, 2014 8:58 am Post subject: |
|
|
voici le log d erreur quand je fait un emerge xorg-server
Code: |
make[2]: *** [XEVI.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2-default/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2-default'
make: *** [all] Error 2
* ERROR: x11-libs/libXext-1.3.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-libs/libXext-1.3.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/libXext-1.3.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/libXext-1.3.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXext-1.3.2/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2-default'
* S: '/var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2'
>>> Failed to emerge x11-libs/libXext-1.3.2, Log file:
>>> '/var/tmp/portage/x11-libs/libXext-1.3.2/temp/build.log'
* Messages for package x11-libs/libXext-1.3.2:
* ERROR: x11-libs/libXext-1.3.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-libs/libXext-1.3.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/libXext-1.3.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/libXext-1.3.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXext-1.3.2/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2-default'
* S: '/var/tmp/portage/x11-libs/libXext-1.3.2/work/libXext-1.3.2'
|
|
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Fri Mar 14, 2014 10:21 am Post subject: |
|
|
On va tout recompiler avec les bons cflags maintenant:
Code: | emerge -aev @system @world |
|
|
Back to top |
|
|
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Mon Mar 17, 2014 11:07 am Post subject: |
|
|
bonjour a tous
voici le log d erreur quand je lance la compil emerge -aev @system @world
Code: |
If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
>>> Failed to emerge dev-lang/python-2.7.6, Log file:
>>> '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log
|
visiblelement le python pose probleme |
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Mon Mar 17, 2014 11:33 am Post subject: |
|
|
Donne nous:
Code: | emerge --info '=dev-lang/python-2.7.6::gentoo' |
et:
Code: | cat /var/tmp/portage/dev-lang/python-2.7.6/temp/build.log |
le emerge -aev @system @world est passé sans problème ? python aurait du etre dans la liste... |
|
Back to top |
|
|
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Mon Mar 17, 2014 11:42 am Post subject: |
|
|
emerge --info '=dev-lang/python-2.7.6::gentoo'
Code: |
emerge --info '=dev-lang/python-2.7.6::gentoo'
Portage 2.2.8-r1 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.18-r1, 3.10.32-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.10.32-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-gentoo-2.2
KiB Mem: 513056 total, 29636 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Wed, 12 Mar 2014 13:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.5-r3, 3.3.3
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.13.4, 1.14.1
sys-devel/binutils: 2.24-r2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="(-aqua) (-drm) (-gallium) (-gles2) (-qt4) X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glib gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="ati" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
|
cat /var/tmp/portage/dev-lang/python-2.7.6/temp/build.log
Code: |
686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=pentium-m -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib/libffi-3.0.13/include -I. -I/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Include -I/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu -c /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/_ctypes.c -o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/_ctypes.o
i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=pentium-m -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib/libffi-3.0.13/include -I. -I/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Include -I/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu -c /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/callbacks.c -o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/callbacks.o
i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=pentium-m -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib/libffi-3.0.13/include -I. -I/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Include -I/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu -c /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/callproc.c -o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/callproc.o
i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=pentium-m -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib/libffi-3.0.13/include -I. -I/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Include -I/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu -c /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/stgdict.c -o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/stgdict.o
i686-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=pentium-m -O2 -pipe -fwrapv -DNDEBUG -I/usr/lib/libffi-3.0.13/include -I. -I/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Include -I/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu -c /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/cfield.c -o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/cfield.o
i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -L. -fno-strict-aliasing -march=pentium-m -O2 -pipe -fwrapv -DNDEBUG -I. -IInclude -I/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Include build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/_ctypes.o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/callbacks.o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/callproc.o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/stgdict.o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/cfield.o -L/usr/local/lib -L. -lffi -lpython2.7 -o build/lib.linux-i686-2.7/_ctypes.so
Python build finished, but the necessary bits to build these modules were not found:
_tkinter bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
readline
running build_scripts
creating build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/2to3 -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Lib/smtpd.py -> build/scripts-2.7
changing mode of build/scripts-2.7/pydoc from 644 to 755
changing mode of build/scripts-2.7/idle from 644 to 755
changing mode of build/scripts-2.7/2to3 from 644 to 755
changing mode of build/scripts-2.7/smtpd.py from 644 to 755
Makefile:475: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
* ERROR: dev-lang/python-2.7.6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
|
ba le emerge -aev @system @world a bloqué justement sur la compil du python |
|
Back to top |
|
|
SirRobin2318 Apprentice
Joined: 24 Apr 2004 Posts: 241 Location: Strasbourg, france.
|
Posted: Mon Mar 17, 2014 12:57 pm Post subject: |
|
|
Essaie:
Code: | python-updater -v
emerge -a @preserved-rebuild |
|
|
Back to top |
|
|
yayass n00b
Joined: 13 Mar 2014 Posts: 7
|
Posted: Wed Mar 19, 2014 7:43 am Post subject: |
|
|
Code: |
python-updater -v
* Starting Python Updater...
* Main active version of Python: 3.3
* Active version of Python 2: 2.7
* Active version of Python 3: 3.3
* Globally supported Python ABIs in installed repositories:
* gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* Check "manual" enabled.
* Check "need_rebuild" enabled.
* Check "pylibdir" enabled.
* Check "PYTHON_ABIS" enabled.
* Check "shared_linking" enabled.
* Check "static_linking" enabled.
* No packages need to be reinstalled.
|
emerge -a @preserved-rebuild
Code: |
age/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/stgdict.o build/temp.linux-i686-2.7/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Modules/_ctypes/cfield.o -L/usr/local/lib -L. -lffi -lpython2.7 -o build/lib.linux-i686-2.7/_ctypes.so
Python build finished, but the necessary bits to build these modules were not found:
_tkinter bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
readline
running build_scripts
creating build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/2to3 -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Lib/smtpd.py -> build/scripts-2.7
changing mode of build/scripts-2.7/pydoc from 644 to 755
changing mode of build/scripts-2.7/idle from 644 to 755
changing mode of build/scripts-2.7/2to3 from 644 to 755
changing mode of build/scripts-2.7/smtpd.py from 644 to 755
Makefile:475: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
* ERROR: dev-lang/python-2.7.6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
>>> Failed to emerge dev-lang/python-2.7.6, Log file:
>>> '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'
* Messages for package dev-lang/python-2.7.6:
* ERROR: dev-lang/python-2.7.6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
|
cat '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'
Code: |
ython build finished, but the necessary bits to build these modules were not found:
_tkinter bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
readline
running build_scripts
creating build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Tools/scripts/2to3 -> build/scripts-2.7
copying and adjusting /var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6/Lib/smtpd.py -> build/scripts-2.7
changing mode of build/scripts-2.7/pydoc from 644 to 755
changing mode of build/scripts-2.7/idle from 644 to 755
changing mode of build/scripts-2.7/2to3 from 644 to 755
changing mode of build/scripts-2.7/smtpd.py from 644 to 755
Makefile:475: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
* ERROR: dev-lang/python-2.7.6::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-2.7.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-2.7.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.7.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-2.7.6/work/i686-pc-linux-gnu'
* S: '/var/tmp/portage/dev-lang/python-2.7.6/work/Python-2.7.6'
|
|
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
|
Back to top |
|
|
FDZ Tux's lil' helper
Joined: 23 Aug 2013 Posts: 86
|
Posted: Wed Mar 19, 2014 10:00 am Post subject: |
|
|
Bonjour
D'abord, un petit encouragement pour yayass : j'ai le même problème, mêmes défauts, même implication de python : t'es pas tout seul ! Continue, on va y arriver !
Une question : j'ai du créer un fichier /etc/portage/package.use. Est-ce bien utile ? Que dois-je y mettre ? J'ai bien cru voir quelque part qu'il pouvait s'agir d'un répertoire : qu'en est-il ?
Problème récurrent python : Quote: | File "/usr/lib/python3.3/shlex.py", line 169, in read_token
ValueError: No closing quotation |
_________________ "On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre" (Victor HUGO) |
|
Back to top |
|
|
USTruck Guru
Joined: 21 Aug 2005 Posts: 423 Location: La Louviere (Belgique)
|
Posted: Fri Mar 21, 2014 8:20 am Post subject: |
|
|
Bonjour,
Quel profil as-tu sélectionné ? eselect profile list
Chaque profil a un ensemble de 'USE' prévu et permet d'avoir un minimum de USE a modifier dans make.conf, très généraliste du moins pour ceux que j'utilise.
Perso : je remettrai le profile par défaut : eselect profile set 1
Remettre le USE du make.conf par défaut (enlever tout ce que l'on a ajouté)
Comme conseillé : emerge -aev world
remarque : du fait world, system sera automatiquement recompilé, pourquoi mettre @system ?
Ceci pour que l'ensemble des paquets soit correctement compilé avec les bon cflags que tu a modiifer ...
Dès que le système par défaut est ok, eselect profile set 3 (desktop)
A moins bien sur qu'un autre profil te convienne.
emerge --info | grep USE
voir ce qui est a changer dans le USE du make.conf (-gnome, -kde, ...) pour mettre le système a ta pogne et emerge -uDNav world
Dès que le système est ok, emerge -av xorg-x11
le fichier /etc/portage/package.use : permet d'appliquer un USE particulier a un paquet tel que : -java au niveau du make.conf et appliquer java a libreoffice
Permet donc un fine tune des USE. Permet aussi d'appliquer un USE, qui lui est propre, a un paquet. Evite donc de surcharger le make.conf
Pour le xorg-x11, il te faudra vérifier au minimum et au besoin créer dans make.conf
VIDEO_CARDS="indice de ta carte" ;: voir /usr/portage/profie/desc/video_cards
INPUT_DEVICES="indice périphériques" , en règle générale 'evdev' suffit, voir /usr/portage/profile/desc/input_devices
Les deux variables permette a emerge de savoir quel type de carte compile pour xorg et quel type de périphérique (clavier, souris, ...) et surtout quel gestion prévoir pour ceux-ci. |
|
Back to top |
|
|
FDZ Tux's lil' helper
Joined: 23 Aug 2013 Posts: 86
|
Posted: Fri Mar 21, 2014 9:08 am Post subject: |
|
|
Merci USTruck ! Voilà une réponse comme j'aimerais en voir plus souvent : suggestions adaptées à la question et surtout documentées, c'est ça que je recherche, ça au moins ça fait progresser dans la compréhension du système (et pas seulement dans la résolution du problème).
Je n'avais pas sélectionné de profile, le profil actif est donc celui par défaut, soit le n° 1.
J'ai conservé dans make.conf les options CCXXFLAGS , VIDEO_CARDS et INPUT_DEVICES et le "emerge -aev world" vient de se terminer sur un message d'erreur Code: | File "/usr/lib/python3.3/shlex.py", line 169, in read_token
raise ValueError("No closing quotation") |
Je vais essayer d'utiliser un make.conf minimal (j'avais essayé le fichier exemple avec les choix cités ci-dessus) et on va bien voir ... _________________ "On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre" (Victor HUGO) |
|
Back to top |
|
|
FDZ Tux's lil' helper
Joined: 23 Aug 2013 Posts: 86
|
Posted: Fri Mar 21, 2014 9:56 am Post subject: |
|
|
J'ai refait mon make.conf en m'inspirant de celui de Yayass (post du 14/03) puis j'ai relancé "emerge -aev world" ... et ça tourne encore ! (c'est bon signe) _________________ "On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre" (Victor HUGO) |
|
Back to top |
|
|
FDZ Tux's lil' helper
Joined: 23 Aug 2013 Posts: 86
|
Posted: Fri Mar 21, 2014 10:01 am Post subject: |
|
|
Et zut !
Même erreur (fichier shlex.py, "No closing quotation"
J'essaie la mise à jour de python ... _________________ "On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre" (Victor HUGO) |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8711 Location: ~Brussels - Belgique
|
Posted: Fri Mar 21, 2014 10:04 am Post subject: |
|
|
Hello,
Pas besoin de mettre "-e" pour le moment, "emerge -DuNav --with-bdeps=y @world" est suffisant.
Quelle est la version de pyhon active ?
Code: | eselect python list |
As-tu lancé Code: | python-updater --keep-going | ? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
USTruck Guru
Joined: 21 Aug 2005 Posts: 423 Location: La Louviere (Belgique)
|
Posted: Fri Mar 21, 2014 10:27 am Post subject: |
|
|
Re-Bonjour
Merci pour les fleurs, je pense que quelque post précédent mérite également ....
En particulier pour le CHOST (Xavier Miller) qui t'indiquait déjà une piste
Ci-dessous le make.conf par défaut pour un profil i686 (celui du stage3)
---------------------------
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
----------------------
Si tu désires modifier le CFLAGS, je conseille de mettre, comme dans un post précédent (Xavier Miller) : -march=native -mtune=native
gcc identifiera automatiquement le processeur et config a utiliser.
Par contre je suis perplexe, tu as utiliser un CHOST incorrect : 'i686'
Dans quelle mesures, celui-ci, n'a pas rendu l'installation bancale !!!
gcc-config -l
Liste les config gcc disponible, voir donc si un seul environnement gcc si deux ou plus, mettre le i686-pc-linux-gnu via gcc-config -f
Edition : i686-pc-linux-gnu et pas i386 .... désolé mal relu avant post
Je n'ai pas assez de connaissance, dans ce cadre, pour pouvoir aider plus avant, je ne vois que refaire l'installation a partir de zéro pour éliminer cette hypothèse,
Pour le problème python, je reviens avec le CHOST incorrect (je ne vois que cela comme indice probant), le raise du fichier shlex.py a la ligne 169 est semble-t'il inutile et comme pour beaucoup python 3.3 est installé et fonctionnel chez moi.
--------- shlex.py ---------------
if not nextchar: # end of file
if self.debug >= 2:
print("shlex: I see EOF in quotes state")
# XXX what error should be raised here?
raise ValueError("No closing quotation")
------------------------------------ |
|
Back to top |
|
|
FDZ Tux's lil' helper
Joined: 23 Aug 2013 Posts: 86
|
Posted: Fri Mar 21, 2014 1:20 pm Post subject: |
|
|
@ XavierMiller : ma version active de python est la 3.3
"python-updater --keep-going" => "Unrecognize option 'keep-going'" _________________ "On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre" (Victor HUGO) |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8711 Location: ~Brussels - Belgique
|
Posted: Fri Mar 21, 2014 1:39 pm Post subject: |
|
|
fais-le sans l'option --keep-going _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
FDZ Tux's lil' helper
Joined: 23 Aug 2013 Posts: 86
|
Posted: Fri Mar 21, 2014 2:06 pm Post subject: |
|
|
Dans le doute, j'ai tenté "emerge python' ça a planté sur "File "/usr/lib/python3.3/shlex.py", line 169, in read_token
ValueError: No closing quotation " !
Je retente l'option "verbeuse" 'python-updater -v" _________________ "On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre" (Victor HUGO) |
|
Back to top |
|
|
|