Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[tk]Problème compilation sur ~amd64 et gcc-4.1.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
Tom_
Guru
Guru


Joined: 20 May 2004
Posts: 444
Location: France

PostPosted: Thu Jun 22, 2006 8:48 pm    Post subject: [tk]Problème compilation sur ~amd64 et gcc-4.1.1 (résolu) Reply with quote

Bonsoir,
J'aimerais compiler tk sur ma machine (~amd64) mais quelque soit la version la compilation plante :
Code:
gcc -pipe -c -O2 -O2 -pipe -march=k8 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../bitmaps -I/usr/lib64/tcl8.4/include/generic -I/usr/X11R6/include -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS  /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c
gcc -pipe -c -O2 -O2 -pipe -march=k8 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../bitmaps -I/usr/lib64/tcl8.4/include/generic -I/usr/X11R6/include -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS  /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkArgv.c
Dans le fichier inclus à partir de /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:20,
          à partir de /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkArgv.c:16:
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk.h:59:3: erreur: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
Dans le fichier inclus à partir de /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkInt.h:21,
          à partir de /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.h:18,
          à partir de /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:16:
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk.h:59:3: erreur: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
In file included from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/../unix/tkUnixPort.h:217,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkInt.h:27,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:16:
/usr/lib64/tcl8.4/include/generic/tclInt.h:1804: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'TCL_VARARGS'
In file included from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/../unix/tkUnixPort.h:217,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkArgv.c:16:
/usr/lib64/tcl8.4/include/generic/tclInt.h:1804: erreur: expected '=', ',', ';', 'asm' or '__attribute__' before 'TCL_VARARGS'
In file included from /usr/lib64/tcl8.4/include/generic/tclInt.h:2335,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/../unix/tkUnixPort.h:217,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkArgv.c:16:
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:322: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:326: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:330: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:333: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:337: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:341: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:357: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:360: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:363: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:367: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:370: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:377: erreur: expected ')' before '->' token
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkArgv.c: In function 'Tk_ParseArgv':
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkArgv.c:181: attention : transtypage d'un pointeur vers un entier de taille différente
In file included from /usr/lib64/tcl8.4/include/generic/tclInt.h:2335,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/../unix/tkUnixPort.h:217,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkInt.h:27,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:16:
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:322: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:326: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:330: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:333: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:337: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:341: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:357: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:360: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:363: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:367: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:370: erreur: expected ')' before '->' token
/usr/lib64/tcl8.4/include/generic/tclIntDecls.h:377: erreur: expected ')' before '->' token
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c: In function 'Tk_3DBorderGC':
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:395: attention : implicit declaration of function 'panic'
make: *** [tk3d.o] Erreur 1
make: *** Attente des tâches non terminées....
make: *** [tkArgv.o] Erreur 1

!!! ERROR: dev-lang/tk-8.4.13 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  tk-8.4.13.ebuild, line 68:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


Voila mon emerge --info :
Code:

Portage 2.1.1_pre1-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa apache2 arts avi berkdb bitmap-fonts browserplugin cairo cli crypt cups dri dvb dvd dvdr dvdread eds emboss encode ffmpeg flac foomaticdb fortran gif glitz gpm gstreamer gtk2 hal imlib ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lirc lzw lzw-tiff mad matroska mozilla mp3 mp4 mpeg mpeg2 mplayer musepack ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb v4l v4l2 vcd vorbis xcomposite xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr linguas_fr_FR lirc_devices_--with-driver=devinput userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Si quelqu'un a une idée, ca serait super bien.
Merci d'avance.


Last edited by Tom_ on Fri Jun 23, 2006 5:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
billiob
Guru
Guru


Joined: 30 Dec 2004
Posts: 425
Location: Paris, France

PostPosted: Thu Jun 22, 2006 8:50 pm    Post subject: Reply with quote

et tcl compile sans problèmes ?
Essaye avec la version 8.5a4 si tu peux.
_________________
billiob
Back to top
View user's profile Send private message
j_c_p
Guru
Guru


Joined: 30 Aug 2003
Posts: 319
Location: France - Colmar

PostPosted: Thu Jun 22, 2006 11:28 pm    Post subject: Reply with quote

Chez moi, ça passe bien :
Quote:
phoenix64 jcp # emerge -pe tk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] app-crypt/hashalot-0.3-r2
[ebuild N ] virtual/libiconv-0
[ebuild N ] sys-devel/gettext-0.14.5
[ebuild N ] sys-apps/texinfo-4.8-r2
[ebuild N ] sys-apps/groff-1.19.1-r2
[ebuild N ] sys-devel/binutils-config-1.8-r7
[ebuild N ] sys-devel/gnuconfig-20060227
[ebuild N ] sys-devel/binutils-2.16.1-r2
[ebuild N ] sys-libs/timezone-data-2006a
[ebuild N ] sys-libs/zlib-1.2.3
[ebuild N ] media-libs/freetype-2.1.10-r2
[ebuild N ] virtual/libintl-0
[ebuild N ] sys-apps/sed-4.1.4-r1
[ebuild N ] dev-libs/expat-1.95.8
[ebuild N ] media-libs/fontconfig-2.2.3
[ebuild N ] dev-util/pkgconfig-0.20
[ebuild N ] media-libs/libpng-1.2.8-r1
[ebuild N ] x11-libs/cairo-1.0.4
[ebuild N ] dev-libs/glib-2.10.3
[ebuild N ] x11-libs/pango-1.12.2
[ebuild N ] app-shells/bash-3.1_p17
[ebuild N ] sys-libs/readline-5.1_p4
[ebuild N ] sys-apps/diffutils-2.8.7-r1
[ebuild N ] dev-libs/openssl-0.9.7j
[ebuild N ] dev-lang/python-2.4.3-r1
[ebuild N ] sys-apps/file-4.13
[ebuild N ] app-misc/ca-certificates-20050804
[ebuild N ] dev-python/python-fchksum-1.7.1
[ebuild N ] virtual/perl-Test-Simple-0.62
[ebuild N ] dev-perl/Locale-gettext-1.05
[ebuild N ] sys-apps/help2man-1.33.1
[ebuild N ] sys-devel/automake-1.5
[ebuild N ] sys-devel/automake-1.9.6-r1
[ebuild N ] sys-devel/automake-1.6.3
[ebuild N ] sys-devel/automake-1.7.9-r1
[ebuild N ] sys-devel/automake-1.4_p6
[ebuild N ] sys-devel/automake-wrapper-1-r1
[ebuild N ] sys-devel/automake-1.8.5-r3
[ebuild N ] sys-devel/m4-1.4.4
[ebuild N ] sys-apps/coreutils-5.94-r1
[ebuild N ] app-admin/eselect-1.0.2
[ebuild N ] app-admin/eselect-compiler-2.0.0_rc2
[ebuild N ] sys-devel/bison-2.1
[ebuild N ] sys-devel/libtool-1.5.22
[ebuild N ] dev-libs/atk-1.11.4
[ebuild N ] media-libs/jpeg-6b-r7
[ebuild N ] dev-perl/XML-Parser-2.34
[ebuild N ] dev-util/intltool-0.34.1
[ebuild N ] dev-libs/libxml2-2.6.23
[ebuild N ] x11-misc/shared-mime-info-0.16
[ebuild N ] media-libs/tiff-3.8.2
[ebuild N ] x11-libs/gtk+-2.8.12
[ebuild N ] dev-libs/gmp-4.1.4-r3
[ebuild N ] dev-libs/mpfr-2.2.0_p8
[ebuild N ] media-libs/libart_lgpl-2.3.17
[ebuild N ] sys-devel/gcc-4.1.1
[ebuild N ] sys-kernel/linux-headers-2.6.11-r2
[ebuild N ] sys-libs/glibc-2.3.6-r3
[ebuild N ] dev-lang/tcl-8.4.13
[ebuild N ] sys-libs/db-4.3.29
[ebuild N ] sys-devel/libperl-5.8.8-r1
[ebuild N ] dev-lang/perl-5.8.8-r2
[ebuild N ] perl-core/Test-Harness-2.56
[ebuild N ] app-admin/perl-cleaner-1.04
[ebuild N ] perl-core/PodParser-1.32
[ebuild N ] sys-devel/autoconf-2.13
[ebuild N ] sys-devel/autoconf-wrapper-3-r1
[ebuild N ] sys-devel/autoconf-2.59-r7
[ebuild N ] media-libs/giflib-4.1.4
[ebuild N ] sys-libs/gdbm-1.8.3-r2
[ebuild N ] sys-libs/cracklib-2.8.5-r1
[ebuild N ] sys-devel/flex-2.5.33-r1
[ebuild N ] sys-libs/pam-0.78-r3
[ebuild N ] net-mail/mailbase-1
[ebuild N ] dev-libs/libpcre-6.3
[ebuild N ] mail-mta/postfix-2.2.5
[ebuild N ] x11-libs/motif-config-0.9
[ebuild N ] x11-libs/openmotif-2.2.3-r9
[ebuild N ] app-editors/emacs-21.4-r3
[ebuild N ] sys-libs/gpm-1.20.1-r4
[ebuild N ] sys-libs/ncurses-5.5-r2
[ebuild N ] sys-libs/com_err-1.38
[ebuild N ] sys-libs/ss-1.38
[ebuild N ] sys-fs/e2fsprogs-1.38-r1
[ebuild N ] sys-apps/util-linux-2.12r-r3
[ebuild N ] x11-apps/ttmkfdir-3.0.9-r3
[ebuild N ] app-arch/bzip2-1.0.3-r6
[ebuild N ] app-admin/eselect-opengl-1.0.3
[ebuild N ] x11-base/opengl-update-3.0.0
[ebuild N ] x11-base/xorg-x11-6.8.2-r7
[ebuild N ] sys-apps/which-2.16
[ebuild N ] app-arch/cpio-2.6-r5
[ebuild N ] app-arch/rpm2targz-9.0-r3
[ebuild N ] sys-libs/libutempter-1.1.2.1
[ebuild N ] x11-terms/xterm-212-r3
[ebuild N ] sys-apps/sandbox-1.2.17
[ebuild N ] app-misc/pax-utils-0.1.13
[ebuild N ] dev-python/pycrypto-2.0.1-r5
[ebuild N ] sys-apps/debianutils-2.15
[ebuild N ] sys-apps/portage-2.1
[ebuild N ] dev-lang/tk-8.4.13
phoenix64 jcp # emerge -pv tcl tk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-lang/tcl-8.4.13 USE="-debug -threads" 0 kB
[ebuild R ] dev-lang/tk-8.4.13 USE="-debug -threads" 0 kB

Total size of downloads: 0 kB
phoenix64 jcp # emerge --info
Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.3.6-r3, 2.6.16.21 x86_64)
=================================================================
System uname: 2.6.16.21 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.1
ccache version 2.3 [disabled]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe"

Sinon, tu n'aurais pas compilé en //, un tk ou tcl, genre pour amsn ? Car le couple tk/tcl est très sensible à ce genre de chose : il faut dans ce cas enlever ces versions.
_________________
Lian Li PC60 - AMD FX 8300 - Asrock 990FX EXTREME9 - Gigabyte GTX960 G1 Gaming 4Go
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Fri Jun 23, 2006 12:16 am    Post subject: Re: [tk]Problème compilation sur ~amd64 et gcc-4.1.1 Reply with quote

Tom_ wrote:


Voila mon emerge --info :
Code:

default-linux/amd64/2006.0,
=================================================================

USE="nptlonly "



Je modifierais déjà mon profile pour qu'il corresponde à nptlonly il faut le faire pointer sur
Quote:
default-linux/amd64/2006.0/no-multilib
.

En effet tu as un profile avec l'option multilib et dans USE tu forces la système à ne pas l'installer.

PS: ce n'est peut être pas ça mais ton système sera plus cohérent.
Back to top
View user's profile Send private message
Tom_
Guru
Guru


Joined: 20 May 2004
Posts: 444
Location: France

PostPosted: Fri Jun 23, 2006 8:38 am    Post subject: Reply with quote

J'ai en effet tk/tcl cvs installé en // dans /usr/local. Je vais essayer de les retirer mais si je vois pas bien pourquoi avoir une version en // poserait problème. :roll:

Ok pour le profile je me renseigner pour passer en no-mutllib. :wink:

Merci pour vos conseils. Je vais essayer tout ca, et je vous tiendrais au courant.
Back to top
View user's profile Send private message
Alexis
Developer
Developer


Joined: 25 Jun 2004
Posts: 241

PostPosted: Fri Jun 23, 2006 11:49 am    Post subject: Re: [tk]Problème compilation sur ~amd64 et gcc-4.1.1 Reply with quote

titoucha wrote:


Je modifierais déjà mon profile pour qu'il corresponde à nptlonly il faut le faire pointer sur
Quote:
default-linux/amd64/2006.0/no-multilib
.

En effet tu as un profile avec l'option multilib et dans USE tu forces la système à ne pas l'installer.

PS: ce n'est peut être pas ça mais ton système sera plus cohérent.



Heu, je peux me tromper mais le multilib c'est pour pouvoir avoir des programmes 32 bits & 64 bits sur le même système et nptlonly c'est un useflag pour la glibc qui dit de ne compiler que le support nptl et pas de support linuxthreads pour la gestion des threads.
Par la même occasion, me semble que depuis la glibc 2.4 nptlonly est activé par défaut.


Sinon :


Code:

erreur: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4


T'as quelle version de tcl ?
Back to top
View user's profile Send private message
Tom_
Guru
Guru


Joined: 20 May 2004
Posts: 444
Location: France

PostPosted: Fri Jun 23, 2006 12:16 pm    Post subject: Reply with quote

J'ai tcl-8.4.13 mais comme l'a dit j_c_p le problème vient peut-être du fait que j'ai tk/tcl installé en //.

Pour le no-multilib, il me semble que tu as raison Alexis mais je vais vérifier avant de changer quoi que ce soit.
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Jun 23, 2006 4:29 pm    Post subject: Reply with quote

bonjour,

~amd64 ici, avec gcc-4.1.1 : dev-lang/tcl et dev-lang/tk s'installent sans problème en version 8.4.11:
Code:
$  eix -A -c dev-lang/tcl
[I] dev-lang/tcl (8.4.11): Tool Command Language
$  eix -A -c dev-lang/tk
[I] dev-lang/tk (8.4.11): Tk Widget Set


Essaie peut-être de faire le ménage dans tes versions de tcl/tk, de réinstaller un couple de version kivabien, et ensuite de vérifier avec revdep-rebuild que t'as pas de problèmes qui trainent.

Sinon, confirmation, le USE flag nptlonly et le profile multilib n'ont pas grand chose à voir.

+

EDIT: ah, en fait j_c_p dit la même chose quelques posts plus haut. Je retourne en hibernation.
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Fri Jun 23, 2006 5:02 pm    Post subject: Re: [tk]Problème compilation sur ~amd64 et gcc-4.1.1 Reply with quote

Alexis wrote:
titoucha wrote:


Je modifierais déjà mon profile pour qu'il corresponde à nptlonly il faut le faire pointer sur
Quote:
default-linux/amd64/2006.0/no-multilib
.

En effet tu as un profile avec l'option multilib et dans USE tu forces la système à ne pas l'installer.

PS: ce n'est peut être pas ça mais ton système sera plus cohérent.



Heu, je peux me tromper mais le multilib c'est pour pouvoir avoir des programmes 32 bits & 64 bits sur le même système et nptlonly c'est un useflag pour la glibc qui dit de ne compiler que le support nptl et pas de support linuxthreads pour la gestion des threads.
Par la même occasion, me semble que depuis la glibc 2.4 nptlonly est activé par défaut.


Sinon :


Code:

erreur: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4


T'as quelle version de tcl ?


++ mais pour le nptlonly il me semble que ça ne vaut que pour un build standard (./configure && make && make install) tandis que gentoo continue à ne pas l'utiliser par défaut et installe les linuxthreads avec si on a pas explicitement mis le use.

Da'ailleurs si j'ai bien compris avec nptl mais pas nptlonly, un profile multilib et glibc-omitfp on devrait se retrouver avec 8 instances de la glibc :mrgreen:
Back to top
View user's profile Send private message
Tom_
Guru
Guru


Joined: 20 May 2004
Posts: 444
Location: France

PostPosted: Fri Jun 23, 2006 5:11 pm    Post subject: Reply with quote

J'ai supprimé tk/tcl cvs (qui était dans /usr/local) et la compilation s'est bien déroulée.

Merci pour vos conseils!!! ;)
Back to top
View user's profile Send private message
titoucha
Advocate
Advocate


Joined: 21 Jul 2005
Posts: 2374
Location: Genève

PostPosted: Sat Jun 24, 2006 8:07 am    Post subject: Reply with quote

marvin rouge wrote:

Sinon, confirmation, le USE flag nptlonly et le profile multilib n'ont pas grand chose à voir.


Bon ben je vais relire les pages man :oops:

Mais ce qui est vraiment bizare c'est qu'a l'époque quand je suis passé en nptlonly mes programmes en 32bits ont refusés de fonctionnés, j'en avais donc déduit que le nptlonly et le multilib était lié, bon encore une fois raté :evil:

PS: depuis je suis passé en no-multilib.
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