>>> Emerging (1 of 1) media-libs/glew-1.5.1 openpty failed: 'out of pty devices' * glew-1.5.1-src.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking glew-1.5.1-src.tgz to /var/tmp/portage/media-libs/glew-1.5.1/work >>> Source unpacked in /var/tmp/portage/media-libs/glew-1.5.1/work >>> Compiling source in /var/tmp/portage/media-libs/glew-1.5.1/work/glew ... make -j3 STRIP=true 'LD=i686-pc-linux-gnu-gcc ' CC=i686-pc-linux-gnu-gcc 'POPT=-O2 -march=native -pipe -mmmx -msse -msse2 -mssse3' M_ARCH= AR=i686-pc-linux-gnu-ar i686-pc-linux-gnu-gcc -O2 -march=native -pipe -mmmx -msse -msse2 -mssse3 -Wall -W -Iinclude -fPIC -o src/glew.pic_o -c src/glew.c i686-pc-linux-gnu-gcc -O2 -march=native -pipe -mmmx -msse -msse2 -mssse3 -Wall -W -Iinclude -o src/glew.o -c src/glew.c i686-pc-linux-gnu-ar cr lib/libGLEW.a src/glew.o i686-pc-linux-gnu-gcc -shared -Wl,-soname=libGLEW.so.1.5 -o lib/libGLEW.so.1.5.1 src/glew.pic_o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11 /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL collect2: выполнение ld завершилось с кодом возврата 1 make: *** [lib/libGLEW.so.1.5.1] Ошибка 1 * * ERROR: media-libs/glew-1.5.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2220: Called die * The specific snippet of code: * emake STRIP=true LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" POPT="${CFLAGS}" M_ARCH="" AR="$(tc-getAR)" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/glew-1.5.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-1.5.1/temp/environment'. * >>> Failed to emerge media-libs/glew-1.5.1, Log file: >>> '/var/tmp/portage/media-libs/glew-1.5.1/temp/build.log' * Messages for package media-libs/glew-1.5.1: * * ERROR: media-libs/glew-1.5.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2220: Called die * The specific snippet of code: * emake STRIP=true LD="$(tc-getCC) ${LDFLAGS}" CC="$(tc-getCC)" POPT="${CFLAGS}" M_ARCH="" AR="$(tc-getAR)" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/glew-1.5.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-1.5.1/temp/environment'. Reproducible: Always
Check 'eselect opengl'. You're probably suffering from eselect-opengl 1.0.8 being dropped from the tree (probably by mistake).
Set you opengl w/ eselect and try again, works here.
(In reply to comment #2) > Set you opengl w/ eselect and try again, > > works here. > I ran into this problem after emerge -uND world had to eselect opengl list then choose the X11 version as NVIDIA drivers were installed. After that it worked. It does not seem to compile with the NVIDIA proprietary drivers chosen.