Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problem with VirtualGL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Sun Apr 29, 2012 4:26 pm    Post subject: [Solved] Problem with VirtualGL Reply with quote

Hi!

I cannot install * x11-misc/virtualgl .

A part of build proccess:

Code:
Linking CXX executable ../bin/glreadtest
cd /var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32/util && /usr/bin/cmake -E cmake_link_script CMakeFiles/glreadtest.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=core2 -mtune=generic -O2 -pipe -m32    -Wl,-O1 -Wl,--as-needed -m32 -L/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32/staticlib -static-libgcc CMakeFiles/glreadtest.dir/glreadtest.cpp.o  -o ../bin/glreadtest -rdynamic -lGL -lGLU -lX11
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../libGL.so when searching for -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../libGLU.so when searching for -lGLU
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[2]: *** [bin/glreadtest] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32'
make[1]: *** [util/CMakeFiles/glreadtest.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32'
make: *** [all] Error 2
 * ERROR: x11-misc/virtualgl-2.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =x11-misc/virtualgl-2.3',
 * the complete build log and the output of 'emerge -pqv =x11-misc/virtualgl-2.3'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32'
 * S: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/VirtualGL-2.3'
 * ERROR: x11-misc/virtualgl-2.3 failed (compile phase):
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2530:  Called cmake-utils_src_compile
 *   environment, line  602:  Called _execute_optionaly 'src_compile'
 *   environment, line  203:  Called enable_cmake-utils_src_compile
 *   environment, line  851:  Called cmake-utils_src_make
 *   environment, line  619:  Called die
 * The specific snippet of code:
 *           emake VERBOSE=1 "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =x11-misc/virtualgl-2.3',
 * the complete build log and the output of 'emerge -pqv =x11-misc/virtualgl-2.3'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32'
 * S: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/VirtualGL-2.3'

>>> Failed to emerge x11-misc/virtualgl-2.3, Log file:

>>>  '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/build.log'

 * Messages for package x11-misc/virtualgl-2.3:

 * ERROR: x11-misc/virtualgl-2.3 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of 'emerge --info =x11-misc/virtualgl-2.3',
 * the complete build log and the output of 'emerge -pqv =x11-misc/virtualgl-2.3'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32'
 * S: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/VirtualGL-2.3'
 * ERROR: x11-misc/virtualgl-2.3 failed (compile phase):
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2530:  Called cmake-utils_src_compile
 *   environment, line  602:  Called _execute_optionaly 'src_compile'
 *   environment, line  203:  Called enable_cmake-utils_src_compile
 *   environment, line  851:  Called cmake-utils_src_make
 *   environment, line  619:  Called die
 * The specific snippet of code:
 *           emake VERBOSE=1 "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =x11-misc/virtualgl-2.3',
 * the complete build log and the output of 'emerge -pqv =x11-misc/virtualgl-2.3'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/virtualgl-2.3/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/virtualgl-2.3_build32'
 * S: '/var/tmp/portage/x11-misc/virtualgl-2.3/work/VirtualGL-2.3'


What should I do?


Last edited by calif on Mon Apr 30, 2012 4:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Mon Apr 30, 2012 3:37 pm    Post subject: Reply with quote

It's trying to link to 32-bit libraries and failing.
Do you have app-emulation/emul-linux-x86-opengl installed?
Back to top
View user's profile Send private message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Mon Apr 30, 2012 4:24 pm    Post subject: Reply with quote

Aquous wrote:
Do you have app-emulation/emul-linux-x86-opengl installed?


I hadn't. Now everything is good. Thank You.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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