Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32447 - 'USE="-X nas" emerge libsdl' fails
Summary: 'USE="-X nas" emerge libsdl' fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-01 01:19 UTC by Brandy Westcott (RETIRED)
Modified: 2004-01-17 11:54 UTC (History)
2 users (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 Brandy Westcott (RETIRED) gentoo-dev 2003-11-01 01:19:51 UTC
It looks like the nas-support code depends on X.

Compiling libsdl with '-X nas' in USE flags fails:


gcc -DPACKAGE=\"SDL\" -DVERSION=\"1.2.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-all-loops -fprefetch-loop-arrays -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.1/include/artsc -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -DNAS_SUPPORT -DENABLE_FBCON -DENABLE_SVGALIB -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX -I../../../include -I../../../include/SDL -I../../../src -I../../../src/linux -I../../../src/main -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -c SDL_nasaudio.c  -fPIC -DPIC -o .libs/SDL_nasaudio.lo
In file included from SDL_nasaudio.c:47:
SDL_nasaudio.h:38:28: audio/audiolib.h: No such file or directory
In file included from SDL_nasaudio.c:47:
SDL_nasaudio.h:47: error: syntax error before "AuServer"
SDL_nasaudio.h:47: warning: no semicolon at end of struct or union
.....
SDL_nasaudio.c:301: error: dereferencing pointer to incomplete type
SDL_nasaudio.c:301: error: dereferencing pointer to incomplete type
SDL_nasaudio.c:304: error: dereferencing pointer to incomplete type
make[3]: *** [SDL_nasaudio.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/libsdl-1.2.6-r1/work/SDL-1.2.6/src/audio/nas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libsdl-1.2.6-r1/work/SDL-1.2.6/src/audio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libsdl-1.2.6-r1/work/SDL-1.2.6/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libsdl-1.2.6-r1 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! (no error message)


The nas header files are installed in /usr/X11R6/include/audio which is
not in the include path.
Comment 1 SpanKY gentoo-dev 2003-11-04 00:24:11 UTC
updated DEPEND to be:
nas? ( media-libs/nas virtual/x11 )
Comment 2 SpanKY gentoo-dev 2003-11-14 09:59:14 UTC
hrm still not fixed ... it's not a matter of having the X11 libs, it's a matter of configure options ...
Comment 3 SpanKY gentoo-dev 2003-12-24 12:24:19 UTC
*** Bug 36427 has been marked as a duplicate of this bug. ***
Comment 4 François MASSON 2003-12-25 15:20:34 UTC
Still having this bug with libsdl-1.2.6-r3
Comment 5 SpanKY gentoo-dev 2003-12-27 01:03:13 UTC
fixed in cvs
Comment 6 SpanKY gentoo-dev 2004-01-17 11:54:42 UTC
*** Bug 38378 has been marked as a duplicate of this bug. ***