Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1005 - xine does not find correct path to artsc/artsc.h
Summary: xine does not find correct path to artsc/artsc.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-07 14:50 UTC by Eugene Koontz
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Eugene Koontz 2002-03-07 14:50:37 UTC
The ./configure of xine *does* find arts, but the make fails because it's
missing -I/usr/kde/2/include :

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../src -I../../src
-I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils
-I../../src/xine-utils -O3 -pipe -fomit-frame-pointer -malign-functions=4
-malign-loops=4 -malign-jumps=4 -malign-functions=4 -mwide-multiply
-mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2
-fno-strict-aliasing -ffast-math -funroll-loops -funroll-all-loops
-finline-functions -mcpu=i686 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DXINE_COMPILE -DXINE_COMPILE -c audio_arts_out.c  -DPIC -o audio_arts_out.lo
audio_arts_out.c:38: artsc.h: No such file or directory
audio_arts_out.c:57: parse error before `arts_stream_t'

here is the beginning of xine-lib-0.9.8/src/audio_out/audio_arts_out.c :

#include <fcntl.h>
#include <math.h>
#include <unistd.h>
#include <inttypes.h>
#include <artsc.h>

(note; it's trying to include <artsc.h>, not <arts/artsc.h>; therefore we need
to have -I/usr/kde/2/include/artsc in the path)
Comment 1 Eugene Koontz 2002-03-07 14:53:00 UTC
there was a typo; I meant to say at the end :
(note; it's trying to include <artsc.h>, not <artsc/artsc.h>; therefore we need
to have -I/usr/kde/2/include/artsc in the path)

Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-03-16 08:35:06 UTC
I apologize for the bug not being handled sooner; it was only assigned to me 2 days ago.  emerge xine-lib works ok here; the configure script adds -I/usr/kde/3/include/artsc of its own  accord. Note that this is kde3 not kde2. The xine-lib ebuild doesn't pass any kinf of arts path to  configure, so it relies either on $KDEDIR or artsc-config, which is in the path.     The KDE2 artsc-config --prefix returns /usr/kde/2. artsc-config --cflags returns  -I/usr/kde/2/include/artsc. So that's ok.   Please attach here your /var/tmp/portage/xine-lib-0.9.8-r1/work/xine-lib-0.9.8/Makefile. I want to compare it to my own. 
Comment 3 Eugene Koontz 2002-03-17 23:55:20 UTC
Sorry, I'm having a hard time attaching my Makefile; when I try to create a new
attachment, buzilla tells me the file is empty :(
I'll keep trying this week...
Comment 4 Eugene Koontz 2002-03-19 00:45:20 UTC
It seems to be working now; I did 

emerge xine-ui

and it built and installed xine fine, and xine works fine as well. Must have
been a strange shell variable..? I'm using kde2 and do not have kde3 installed
(I have no /usr/kde/3 directory).