root@project2506 portage # emerge neverball Calculating dependencies ...done! >>> emerge (1 of 1) games-puzzle/neverball-1.3.1 to / >>> md5 src_uri ;-) neverball-1.3.1.tar.gz >>> Unpacking source... >>> Unpacking neverball-1.3.1.tar.gz to /var/tmp/portage/neverball-1.3.1/work >>> Source unpacked. gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/vec3.o -c share/vec3.c gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/text.o -c share/text.c share/text.c:16:21: SDL_ttf.h: No such file or directory In file included from share/text.c:22: share/image.h:5:21: SDL_ttf.h: No such file or directory In file included from share/text.c:22: share/image.h:18: error: syntax error before "TTF_Font" share/text.c:45: error: syntax error before '*' token share/text.c:45: warning: type defaults to `int' in declaration of `text_font' share/text.c:45: warning: data definition has no type or storage class share/text.c: In function `text_init': share/text.c:55: warning: implicit declaration of function `TTF_Init' share/text.c:59: warning: implicit declaration of function `TTF_OpenFont' share/text.c:59: warning: assignment makes pointer from integer without a cast share/text.c:60: warning: assignment makes pointer from integer without a cast share/text.c:61: warning: assignment makes pointer from integer without a cast share/text.c: In function `text_free': share/text.c:80: warning: implicit declaration of function `TTF_CloseFont' share/text.c:84: warning: implicit declaration of function `TTF_Quit' share/text.c: In function `text_size': share/text.c:96: warning: implicit decroot@project2506 portage # emerge neverball Calculating dependencies ...done! >>> emerge (1 of 1) games-puzzle/neverball-1.3.1 to / >>> md5 src_uri ;-) neverball-1.3.1.tar.gz >>> Unpacking source... >>> Unpacking neverball-1.3.1.tar.gz to /var/tmp/portage/neverball-1.3.1/work >>> Source unpacked. gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/vec3.o -c share/vec3.c gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/text.o -c share/text.c share/text.c:16:21: SDL_ttf.h: No such file or directory In file included from share/text.c:22: share/image.h:5:21: SDL_ttf.h: No such file or directory In file included from share/text.c:22: share/image.h:18: error: syntax error before "TTF_Font" share/text.c:45: error: syntax error before '*' token share/text.c:45: warning: type defaults to `int' in declaration of `text_font' share/text.c:45: warning: data definition has no type or storage class share/text.c: In function `text_init': share/text.c:55: warning: implicit declaration of function `TTF_Init' share/text.c:59: warning: implicit declaration of function `TTF_OpenFont' share/text.c:59: warning: assignment makes pointer from integer without a cast share/text.c:60: warning: assignment makes pointer from integer without a cast share/text.c:61: warning: assignment makes pointer from integer without a cast share/text.c: In function `text_free': share/text.c:80: warning: implicit declaration of function `TTF_CloseFont' share/text.c:84: warning: implicit declaration of function `TTF_Quit' share/text.c: In function `text_size': share/text.c:96: warning: implicit declaration of function `TTF_SizeText' make: *** [share/text.o] Error 1 !!! ERROR: games-puzzle/neverball-1.3.1 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! emake failed laration of function `TTF_SizeText' make: *** [share/text.o] Error 1 !!! ERROR: games-puzzle/neverball-1.3.1 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. emerge games-puzzle/neverball-1.3.1 2. 3. Expected Results: Use the include path of sdl which is /usr/include/SDL/
what does "which sdl-config" give you?
Seems to be a local config problem.