Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158417 - games-emulation/advancemame-0.106.0 - sdl USE in advancemame is mandatory
Summary: games-emulation/advancemame-0.106.0 - sdl USE in advancemame is mandatory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-17 17:14 UTC by David Carlos Manuelda
Modified: 2008-10-06 23:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2006-12-17 17:14:44 UTC
I tried to emerge advancemame (wich is in ~amd64 now) with only alsa and zlib (by default sdl is not activated) USE flags enabled, and I got this in configure stage before compiling: 

== Drivers/Libraries ==
Video : ncurses
(No video driver is capable to program directly your video board.
You will not be able to use not standard video modes.)
Sound : alsa
Keyboard : raw event
Joystick : raw event
Mouse : raw event
Misc : zlib expat(internal) pthread
configure: error: no video library found. If you have the SDL library installed somewhere try using the --with-sdl-prefix option.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/advancemame-0.106.0/work/advancemame-0.106.0/config.log

!!! ERROR: games-emulation/advancemame-0.106.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  advancemame-0.106.0.ebuild, line 55:   Called egamesconf '--enable-alsa' '--disable-expat' '--disable-fb' '--disable-oss' '--disable-sdl' '--disable-slang' '--disable-static' '--disable-svgalib' '--disable-freetype' '--enable-zlib' '--disable-asm' '--with-emu=mame'
  games.eclass, line 37:   Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--enable-alsa' '--disable-expat' '--disable-fb' '--disable-oss' '--disable-sdl' '--disable-slang' '--disable-static' '--disable-svgalib' '--disable-freetype' '--enable-zlib' '--disable-asm' '--with-emu=mame'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Activation of sdl USE flag for this program solves this issue and compiles without problems.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-08-13 07:44:33 UTC
made it required.  thanks for the bug report.
Comment 2 Stephen Hurd 2008-10-06 23:00:04 UTC
The program actually only requires one of sdl, svga, and fb... For arcade cabinets (the hardware target for this package) svga and fb are the preferred video output types since they can generate an exact video mode whereas SDL can not.

I need to hack the file to build an svga-only advancemame.