Hi all :)

First off: Happy New Year ;)

I'm trying to emerge Calligra but I get stuck on the following error
when glew gets emerged:

>>> Emerging (1 of 9) media-libs/glew-1.6.0-r1
 * glew-1.6.0.tgz SHA256 size ;-) ...
                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking glew-1.6.0.tgz to /var/tmp/portage/media-libs/glew-1.6.0-r1/work
>>> Source unpacked in /var/tmp/portage/media-libs/glew-1.6.0-r1/work
>>> Preparing source in 
>>> /var/tmp/portage/media-libs/glew-1.6.0-r1/work/glew-1.6.0 ...
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/media-libs/glew-1.6.0-r1/work/glew-1.6.0 ...
>>> Source configured.
>>> Compiling source in 
>>> /var/tmp/portage/media-libs/glew-1.6.0-r1/work/glew-1.6.0 ...
make AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc
'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH=
LDFLAGS.EXTRA= '
POPT=-O2 -pipe -fomit-frame-pointer -march=pentium-m -mmmx -msse
-msse2 -mfpmath=sse'
i686-pc-linux-gnu-gcc -DGLEW_NO_GLU -O2 -pipe -fomit-frame-pointer
-march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -Wall -W -Iinclude
-fPI
C  -o src/glew.pic_o -c src/glew.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared
-Wl,-soname=libGLEW.so.1.6 -o lib/libGLEW.so.1.6.0 src/glew.pic_o
-lXmu -lXi -lGLU -l
GL -lXext -lX11
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lGLU
collect2: ld returned 1 exit status
make: *** [lib/libGLEW.so.1.6.0] Error 1
 * ERROR: media-libs/glew-1.6.0-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info
'=media-libs/glew-1.6.0-r1'`,
 * the complete build log and the output of `emerge -pqv
'=media-libs/glew-1.6.0-r1'`.
 * The complete build log is located at
'/var/tmp/portage/media-libs/glew-1.6.0-r1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-libs/glew-1.6.0-r1/temp/environment'.
 * Working directory:
'/var/tmp/portage/media-libs/glew-1.6.0-r1/work/glew-1.6.0'
 * S: '/var/tmp/portage/media-libs/glew-1.6.0-r1/work/glew-1.6.0'

I checked the forums and found this.

http://forums.gentoo.org/viewtopic-t-921896-start-0.html

But, AFAIK, this solution is for x86_64 and my system is a pure 32 bit
environment (Pentium M processor).

Any ideas?

TIA

   Rafa

Reply via email to