Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96694 - ruby-sdl fails to compile
Summary: ruby-sdl fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 123207 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-21 05:28 UTC by Mark Somerville
Modified: 2006-09-01 19:51 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 Mark Somerville 2005-06-21 05:28:24 UTC
Fails with this error: 
 
checking for TTF_OpenFontIndex()... no 
checking for TTF_FontFaces()... no 
checking for TTF_FontFaceIsFixedWidth()... no 
checking for TTF_FontFaceFamilyName()... no 
checking for TTF_FontFaceStyleName()... no 
checking for Mix_OpenAudio() in -lSDL_mixer... no 
checking for sge_Line() in -lSGE... no 
checking for IMG_Load() in -lSDL_image... no 
checking for TTF_Init() in -lSDL_ttf... yes 
checking for SMPEG_new() in -lsmpeg... yes 
checking for SDLSKK_Context_new() in -lSDLSKK... no 
creating Makefile 
i686-pc-linux-gnu-gcc -fPIC -O3 -march=pentium-m -mtune=pentium-m -fforce-addr 
-momit-leaf-frame-pointer -ftracer -pipe  -fPIC -I/usr/include/SDL 
-D_REENTRANT -D DEF_EVENT2 -D HAVE_SDL_TTF  -D HAVE_SMPEG   -I. 
-I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I.   -c 
rubysdl_joystick.c 
i686-pc-linux-gnu-gcc -fPIC -O3 -march=pentium-m -mtune=pentium-m -fforce-addr 
-momit-leaf-frame-pointer -ftracer -pipe  -fPIC -I/usr/include/SDL 
-D_REENTRANT -D DEF_EVENT2 -D HAVE_SDL_TTF  -D HAVE_SMPEG   -I. 
-I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I.   -c 
rubysdl_opengl.c 
i686-pc-linux-gnu-gcc -fPIC -O3 -march=pentium-m -mtune=pentium-m -fforce-addr 
-momit-leaf-frame-pointer -ftracer -pipe  -fPIC -I/usr/include/SDL 
-D_REENTRANT -D DEF_EVENT2 -D HAVE_SDL_TTF  -D HAVE_SMPEG   -I. 
-I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I.   -c 
rubysdl_wm.c 
i686-pc-linux-gnu-gcc -fPIC -O3 -march=pentium-m -mtune=pentium-m -fforce-addr 
-momit-leaf-frame-pointer -ftracer -pipe  -fPIC -I/usr/include/SDL 
-D_REENTRANT -D DEF_EVENT2 -D HAVE_SDL_TTF  -D HAVE_SMPEG   -I. 
-I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I.   -c 
rubysdl_smpeg.c 
i686-pc-linux-gnu-gcc -fPIC -O3 -march=pentium-m -mtune=pentium-m -fforce-addr 
-momit-leaf-frame-pointer -ftracer -pipe  -fPIC -I/usr/include/SDL 
-D_REENTRANT -D DEF_EVENT2 -D HAVE_SDL_TTF  -D HAVE_SMPEG   -I. 
-I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I.   -c 
rubysdl_event.c 
rubysdl_smpeg.c:23:23: SDL_mixer.h: No such file or directory 
make: *** [rubysdl_smpeg.o] Error 1 
make: *** Waiting for unfinished jobs.... 
 
!!! ERROR: dev-ruby/ruby-sdl-0.9.1 failed. 
!!! Function src_compile, Line 32, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 

Reproducible: Always
Steps to Reproduce:
1. emerge ruby-sdl 
2. 
3. 
 
Actual Results:  
Boom!
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-06-21 08:12:47 UTC
Although the documentation says sdl-mixer is optional, it only compiles with it
at the moment. You can emerge it with USE='mixer' until we fix it/report it
upstream.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-17 18:24:53 UTC
*** Bug 123207 has been marked as a duplicate of this bug. ***
Comment 3 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-09-01 19:51:24 UTC
Fixed in 1.1.0. Please reopen the bug otherwise.