Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

wine doesn't compile (no opengl)

Have an x86-64 problem? Post here.
Locked
Advanced search
12 posts • Page 1 of 1
Author
Message
SeeksTheMoon
Apprentice
Apprentice
Posts: 163
Joined: Wed Sep 24, 2003 8:31 am

wine doesn't compile (no opengl)

  • Quote

Post by SeeksTheMoon » Mon Jun 09, 2008 7:32 am

hi, this error was postet several times but I did not find a solution yet.
I tried emerge nvidia-drivers, emerge mesa, emerge emul-linux-x86-baselibs emul-linux-x86-xlibs, eselect opengl set nvidia but emerge wine (0.9.57 and 1.0-rc4) stops with this:

Code: Select all

checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glext.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for -lGL... not found
checking for -lGLU... not found
configure: error: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.
This is an error since --with-opengl was requested.
Is it possible that emerge tries 64bit libs instead of 32bit libs? There are some messages like

Code: Select all

checking for -lX11... ERROR: ld.so: object '/usr/lib64/libsandbox.so' from LD_PRELOAD cannot be preloaded: ignored.
libX11.so.6
I disabled my FEATURES settings in make.conf, but that didn't have an effect either.

I am using nvidia-drivers 173.14.05
emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Timestamp of tree: Sun, 08 Jun 2008 23:15:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="digest distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de ... nux/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/ramdisk"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnash-cvs"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cairo cddb cdio cdr cjk cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss encode evo exif extras fam ffmpeg firefox flac fortran ftp gcj gd gdbm geoip gif gimp glut gmp gnuplot gnutls gpm graphviz gs gtk hal hddtemp hpn iconv ieee1394 imagemagick imap ipv6 isdnlog jabber javascript jce jingle joystick jpeg jpeg2k kde konqueror lame latex libnotify lm_sensors lzo mad matroska mbox memlimit midi mime mmap mmx mmxext mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png posix postgres pppd python qt3 qt3support qt4 quicktime raw readline reflection samba scanner sdl session sharedmem snmp sockets soup spl sse sse2 ssl startup-notification svg swat syslog sysvipc taglib tcpd tetex theora threads tiff truetype unicode usb utempter vim-syntax vorbis wxwindows x264 xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa aiglx"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please help :-)
Top
SeeksTheMoon
Apprentice
Apprentice
Posts: 163
Joined: Wed Sep 24, 2003 8:31 am

  • Quote

Post by SeeksTheMoon » Mon Jun 09, 2008 9:43 am

compiles and runs with USE=-opengl emerge wine
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

Re: wine doesn't compile (no opengl)

  • Quote

Post by PaulBredbury » Mon Jun 09, 2008 10:18 am

SeeksTheMoon wrote:eselect opengl set nvidia
configure: error: No OpenGL library found on this system.
You want: eselect opengl set xorg-x11

The ebuild should be doing that itself :wink:
Top
SeeksTheMoon
Apprentice
Apprentice
Posts: 163
Joined: Wed Sep 24, 2003 8:31 am

Re: wine doesn't compile (no opengl)

  • Quote

Post by SeeksTheMoon » Mon Jun 09, 2008 10:25 am

PaulBredbury wrote:You want: eselect opengl set xorg-x11

Code: Select all

# eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done
# eselect opengl show
xorg-x11
# emerge wine
...
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glext.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for -lGL... not found
checking for -lGLU... not found
configure: error: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.
This is an error since --with-opengl was requested.
Top
Enverex
Guru
Guru
Posts: 501
Joined: Wed Jul 02, 2003 12:25 pm
Location: Worcester, UK
Contact:
Contact Enverex
Website

  • Quote

Post by Enverex » Tue Jun 10, 2008 6:48 pm

When compiling manually with nVidia drivers 173.14.05 and Wine 1.0-RC4 it works fine for me, I'm guessing it's an ebuild issue or something with your setup.
Top
SeeksTheMoon
Apprentice
Apprentice
Posts: 163
Joined: Wed Sep 24, 2003 8:31 am

  • Quote

Post by SeeksTheMoon » Wed Jun 11, 2008 10:01 am

Enverex wrote:When compiling manually with nVidia drivers 173.14.05
so you did not use the ebuild?
Top
Enverex
Guru
Guru
Posts: 501
Joined: Wed Jul 02, 2003 12:25 pm
Location: Worcester, UK
Contact:
Contact Enverex
Website

  • Quote

Post by Enverex » Wed Jun 11, 2008 10:18 am

SeeksTheMoon wrote:
Enverex wrote:When compiling manually with nVidia drivers 173.14.05
so you did not use the ebuild?
No. It was purely to prove it's not a driver or Wine issue so it must be specifically a problem with the eBuild.
Top
SeeksTheMoon
Apprentice
Apprentice
Posts: 163
Joined: Wed Sep 24, 2003 8:31 am

  • Quote

Post by SeeksTheMoon » Wed Jun 11, 2008 10:39 am

I filled out a bug: http://bugs.gentoo.org/show_bug.cgi?id=225869
Let's see what will happen :-)
Top
stan666
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Mon Jun 25, 2007 6:20 pm
Location: Germany
Contact:
Contact stan666
Website

  • Quote

Post by stan666 » Sat Jun 14, 2008 10:58 am

similiar problem here with ati-drivers

Code: Select all

ld:vertexdeclaration.o: file format not recognized; treating as linker script
ld:vertexdeclaration.o:1: syntax error
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [d3d8.dll.so] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0_rc4/work/wine-1.0-rc4/dlls/d3d8'
make[1]: *** [d3d8] Fehler 2

Code: Select all

ld:texture.o: file format not recognized; treating as linker script
ld:texture.o:1: syntax error
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [d3d9.dll.so] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0_rc4/work/wine-1.0-rc4/dlls/d3d9'
make[1]: *** [d3d9] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.0_rc4/work/wine-1.0-rc4/dlls'
make: *** [dlls] Fehler 2
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Top
Enverex
Guru
Guru
Posts: 501
Joined: Wed Jul 02, 2003 12:25 pm
Location: Worcester, UK
Contact:
Contact Enverex
Website

  • Quote

Post by Enverex » Sat Jun 14, 2008 11:16 am

Don't use winebuild or wineinstall, build it properly.
Top
stan666
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Mon Jun 25, 2007 6:20 pm
Location: Germany
Contact:
Contact stan666
Website

  • Quote

Post by stan666 » Mon Jun 16, 2008 5:56 pm

:oops: I found some broken packages... I don't know which of them is related to wine
but somewhere in the dependency graph of

Code: Select all

equery g wine
I found

Code: Select all

dev-lang/php
(how is wine related to php!?)

After rebuilding php (and a few other packages - none of them in the wine dep graph)
everything works fine and wine just compiled successfull
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Top
mattjgalloway
l33t
l33t
Posts: 761
Joined: Tue Mar 16, 2004 10:07 am
Location: Coventry, UK
Contact:
Contact mattjgalloway
Website

  • Quote

Post by mattjgalloway » Mon Jul 14, 2008 8:06 am

Code: Select all

eselect opengl set nvidia
That worked for me.
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Top
Locked

12 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic