Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29149

Summary: noegnud-nethack-0.8.2 fails to compile
Product: Gentoo Linux Reporter: JensLH <jlh>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: 1.4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description JensLH 2003-09-19 14:21:40 UTC
When I try to emerge noegnud-nethack-0.8.2, I get compilation errors.

Reproducible: Always
Steps to Reproduce:
1. emerge -Uu world

Actual Results:  
Snippet from my root's emerge -Uu world session: 

[...] 
gcc -O2 -ffast-math -DNETHACK_3_4_2 -fomit-frame-pointer -I../include `sdl-
config --cflags` -c ../win/tty/topl.c 
gcc -O2 -ffast-math -DNETHACK_3_4_2 -fomit-frame-pointer -I../include `sdl-
config --cflags` -c ../win/tty/wintty.c 
gcc -O2 -ffast-math -DNETHACK_3_4_2 -fomit-frame-pointer -I../include `sdl-
config --cflags` -c -
o ../win/noegnud/noegnud_interface.o ../win/noegnud/noegnud_interface.c 
../win/noegnud/noegnud_interface.c:5:23: SDL_mixer.h: No such file or directory 
make[2]: *** [../win/noegnud/noegnud_interface.o] Error 1 
make[2]: Leaving directory `/var/tmp/portage/noegnud-nethack-0.8.2/work/noegnud-
0.8.2/variants/nethack-3.4.2/src' 
make[1]: *** [noegnud-0.8.0-nethack-3.4.2] Error 2 
make[1]: Leaving directory `/var/tmp/portage/noegnud-nethack-0.8.2/work/noegnud-
0.8.2/variants/nethack-3.4.2' 
make: *** [nh342] Error 2 

!!! ERROR: games-roguelike/noegnud-nethack-0.8.2 failed. 
!!! Function src_compile, Line 36, Exitcode 2 
!!! (no error message) 


Expected Results:  
It should compile, I guess..

It has been suggested in the forum by "Carlo" that a dependency to media-
labs/sdl-mixer is missing, and that I should report it as a bug.
Comment 1 JensLH 2003-09-19 16:11:24 UTC
FYI: I emerged sdl-mixer as suggested. It now compiles and seems to run as 
expected. 
Comment 2 SpanKY gentoo-dev 2003-09-19 16:31:32 UTC
added media-libs/sdl-mixer to DEPEND, thanks for the bug