IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration système Discussion :

Compilation python & php failed


Sujet :

Administration système

  1. #1
    Candidat au Club
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Octobre 2012
    Messages
    2
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Octobre 2012
    Messages : 2
    Points : 4
    Points
    4
    Par défaut Compilation python & php failed
    Bonjour,

    Après diverses recherches infructueuses , je me tourne vers vous. Impossible de mettre à jour python via emerge.
    emerge --info
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    Portage 2.1.11.9 (hardened/linux/amd64, gcc-4.4.5, glibc-2.15-r3, 2.6.32-hardened-r9 x86_64)
    =================================================================
    System uname: Linux-2.6.32-hardened-r9-x86_64-VIA_Nano_processor_U2250_-1.6GHz_Capable-with-gentoo-2.1
    Timestamp of tree: Tue, 30 Oct 2012 12:45:01 +0000
    app-shells/bash:          4.2_p37
    dev-java/java-config:     2.1.11-r3
    dev-lang/python:          2.6.8, 2.7.3-r1, 3.1.5, 3.2.3
    dev-util/cmake:           2.8.9
    dev-util/pkgconfig:       0.27.1
    sys-apps/baselayout:      2.1-r1
    sys-apps/openrc:          0.9.8.4
    sys-apps/sandbox:         2.5
    sys-devel/autoconf:       2.68
    sys-devel/automake:       1.11.6
    sys-devel/binutils:       2.22-r1
    sys-devel/gcc:            4.4.5, 4.5.4
    sys-devel/gcc-config:     1.7.3
    sys-devel/libtool:        2.4-r1
    sys-devel/make:           3.82-r3
    sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
    sys-libs/glibc:           2.15-r3
    Repositories: gentoo
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA dlj-1.1"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=x86-64 --param l1-cache-size=64 --param  l1-cache-line-size=64 --param l2-cache-size=1024 -mmmx -msse -msse2  -msse3 -mssse3 -mcx16 -msahf -Os"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-march=x86-64 --param l1-cache-size=64 --param  l1-cache-line-size=64 --param l2-cache-size=1024 -mmmx -msse -msse2  -msse3 -mssse3 -mcx16 -msahf -Os"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="ftp.free.fr/mirrors/ftp.gentoo.org/"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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=""
    SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
    USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv ipv6 justify mmx modules mudflap multilib ncurses nls nptl openmp pam pax_kernel pcre pppd readline session sse sse2 ssl tcpd unicode urandom zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="cgid authz_host dir mime security php5 php actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_default authz_groupfile authz_owner authz_user autoindex vhost_alias usertrack authz_dbm deflate env filter expires ext_filter headers include log_config logio info mime_magic negotiation rewrite setenvif speling status unique_id" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="stub_status access auth_basic autoindex browser charset empty_gif fastcgi gzip limit_req limit_zone map proxy referer rewrite scgi split_clients upstream_ip_hash userid" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="tarpit pknock chaos delude"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
    eselect python list
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    Available Python interpreters:
      [1]   python2.6
      [2]   python2.7 *
      [3]   python3.1
      [4]   python3.2
    emerge :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -sqlite -tk -wininst" emerge =dev-lang/python-2.7.3-r2
    build.log
    http://pastebin.com/fsANXYSL


    Et c'est pas tout PHP fail aussi

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    building 'bz2' extension
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -march=x86-64 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -Os -fwrapv -DNDEBUG -I. -IInclude -I./Include -I/usr/local/include -I/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Include -I/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3 -c /var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Modules/bz2module.c -o build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Modules/bz2module.o
    x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -L. -fno-strict-aliasing -march=x86-64 -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -Os -fwrapv -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Modules/bz2module.o -L/usr/local/lib -L. -lbz2 -lpython2.7 -o build/lib.linux-x86_64-2.7/bz2.so
     
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): warning: relocation against `BZ2_bzDecompressInit' in readonly section `.text'.
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_PC32 against symbol `BZ2_bzDecompressEnd' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
    collect2: ld returned 1 exit status
    Merci d'avance pour l'aide que vous m'apporterez.

    Bien cordialement.

  2. #2
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Pour python commence par essayer la commande
    Ca débloquera peut-être la situation.
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  3. #3
    Candidat au Club
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Octobre 2012
    Messages
    2
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Octobre 2012
    Messages : 2
    Points : 4
    Points
    4
    Par défaut
    Bonjour Winnt,
    tout d'abord merci d'avoir répondu.
    Il se trouve que j'ai un petit soucis également à ce niveau là, voici le résultat :

    python-updater
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
     
     * Starting Python Updater...
     * Main active version of Python:    2.7
     * Active version of Python 2:       2.7
     * Active version of Python 3:       3.2
     * 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-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9
     *   Adding to list: dev-libs/libprelude:0
     *   Adding to list: dev-libs/libpreludedb:0
     *   Adding to list: dev-libs/libxml2:2
     *   Adding to list: dev-libs/libxslt:0
     *   Adding to list: media-libs/lcms:0
     *   Adding to list: net-analyzer/fail2ban:0
     *   Adding to list: net-analyzer/prewikka:0
     *   Adding to list: net-analyzer/rrdtool:0
     *   Adding to list: sys-apps/file:0
     *   Adding to list: sys-libs/cracklib:0
     *   Adding to list: www-apache/mod_python:0
     * emerge -Dv1 --keep-going dev-libs/libprelude:0 dev-libs/libpreludedb:0 dev-libs/libxml2:2 dev-libs/libxslt:0 media-libs/lcms:0 net-analyzer/fail2ban:0 net-analyzer/prewikka:0 net-analyzer/rrdtool:0 sys-apps/file:0 sys-libs/cracklib:0 www-apache/mod_python:0
     
     * IMPORTANT: 3 news items need reading for repository 'gentoo'.
     * Use eselect news to read news items.
     
     
     * IMPORTANT: 3 config files in '/etc/portage' need updating.
     * See the CONFIGURATION FILES section of the emerge
     * man page to learn how to update config files.
     
    These are the packages that would be merged, in order:
     
    Calculating dependencies... done!
     
    emerge: there are no ebuilds to satisfy "dev-libs/libprelude:0".
    Dans l'ignorance, j'ai édité : /var/lib/portage/world en enlever la ligne dev-libs/libprelude . Mais rien y fait ( peut être une mauvaise idée de ma part ).

    Cdlt

Discussions similaires

  1. [Système] Exécuter script python depuis php
    Par philpython dans le forum Langage
    Réponses: 1
    Dernier message: 22/03/2007, 13h57
  2. Compil/Install de php avec apache sous Suse
    Par c.tranquille dans le forum Applications et environnements graphiques
    Réponses: 2
    Dernier message: 14/06/2006, 13h57
  3. zope python, apache php
    Par bbmt dans le forum Zope
    Réponses: 1
    Dernier message: 24/05/2006, 18h03

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo