[gentoo-dev] emerge glitz fails (/usr/lib64/libGL.so: File wrong format) Glut also

2007-02-18 Thread KLessou

Hello I don't understand why I cannot emerge glitz


/usr/lib64/libGL.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libglitz-glx.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/glitz-0.5.6
/work/glitz-0.5.6/src/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/glitz-0.5.6
/work/glitz-0.5.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/glitz-0.5.6
/work/glitz-0.5.6'
make: *** [all] Error 2

!!! ERROR: media-libs/glitz-0.5.6 failed.

I have got a macbook (not pro) c2d,
emerge --info :


Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r5-mactel x86_64)
=
System uname: 2.6.19-gentoo-r5-mactel x86_64 Intel(R) Core(TM)2 CPU
T7200  @ 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 17 Feb 2007 19:00:01 +
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
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-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://gentoo.imj.fr/pub/gentoo/ http://85.25.128.62
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://pandemonium.tiscali.de/pub/gentoo/";
LINGUAS="fr"
MAKEOPTS="-j4"
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 aac acpi aiglx alsa amd64 and apache2 apm avi berkdb beryl
bitmap-fonts bluetooth cdr cgi cli cracklib crypt cups curl dbus dlloader
dri dvdr encode esd f77 fat firefox foomaticdb force-cgi-redirec fortran
gdbm gif gmail gnome gpm gtk gtk2 hal iconv imlib ipod ipv6 irda isdnlog
jpeg libg++ libwww mad midi mikmod motif mpeg mysql ncurses nls nptl
nptlonly nsplugin ntfs oggvorbis opengl pam pcre pdf pdflib perl png ppds
pppd python quicktime readline reflection samba sdl session slang spell spl
ssl tcpd truetype truetype-fonts type1-fonts unicode usb xine xml xml2 xorg
xv 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 mulaw multi null plug rate
route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse
synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU"
VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
--
~
| klessou |
~


Re: [gentoo-dev] Econf

2006-11-06 Thread KLessou
Thanks, it work very well !D PIRYOn 11/2/06, Johannes Weiner <[EMAIL PROTECTED]> wrote:
On Mon, Oct 30, 2006 at 05:02:29PM -0500, Chris Gianelloni wrote:> On Mon, 2006-10-30 at 22:44 +0100, KLessou wrote:
> > Hello,> >> > I have to make a Live ebuild (from a CVS repository). But econf don't> > find the configure script.> >> > >>  !!! no configure script found .
> >> > The configure file is into ${WORKDIR}/package/, I have defined ${S}> > here, but no result.>> Set S globally (not in src_unpack) because ...1. src_compile() chdirs to $S
2. You change $S3. econf runs ./configureHannes>> --> Chris Gianelloni> Release Engineering Strategic Lead> Alpha/AMD64/x86 Architecture Teams> Games Developer/Council Member/Foundation Trustee
> Gentoo Foundation--  ~| klessou | ~


[gentoo-dev] Econf

2006-10-30 Thread KLessou
Hello,      I have to make a Live ebuild (from a CVS repository). But econf don't find the configure script.  >>  !!! no configure script found	.      The configure file is into ${WORKDIR}/package/, I have defined ${S} here, but no result. 
   Thanks for advance if you have any idea. --  ~~~~~| klessou | ~More about this ebuild :My file /usr/local/portage/dev-libs/pwlib/pwlib-
1.11..ebuild



An extract of my code :

 	  Code:			   

# Copyright 1999-2006 Gentoo Foundation

# Distributed under the terms of the GNU General Public License v2

# $Header: $

inherit cvs eutils flag-o-matic multilib



IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml"

DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications"

HOMEPAGE="http://www.ekiga.org"



ECVS_SERVER="openh323.cvs.sourceforge.net:/cvsroot/openh323"

ECVS_MODULE="pwlib"

ECVS_AUTH="pserver"

ECVS_USER="anonymous"

ECVS_PASS=""

ECVS_CVS_OPTIONS="-z9 -r ptlib_unix"



LICENSE="MPL-1.1"

SLOT="0"

KEYWORDS="-*"

[...]



src_compile() {

        [...]

        S="${WORKDIR}/pwlib"



        econf \

                --enable-plugins \

                $(use_enable v4l2) \

                $(use_enable v4l) \

                [...]

                $(use_enable sasl) \

                $(use_enable xml expat) \

                ${myconf} \

                || die "Error: econf failed!"

[...]	



The configure file is here :

-rwxr-xr-x 1 root root 307K oct 18 18:08 /var/tmp/portage/pwlib-1.11./work/pwlib/configure