On Thu, 26 Apr 2012 10:57:03 +0200, Atte André Jensen wrote > Hi > > I'm trying to build giada (0.4.8) on arch. Running ./configure > --target=linux fails: > > atte@blokhus:~/software/giada/giada_0.4.8$ ./configure --target=linux > <snip> > checking RtAudio.h usability... no > checking RtAudio.h presence... no > checking for RtAudio.h... no > configure: error: library 'rtAudio' not found! > > I installed rtaudio from aur, and the files are in > /usr/include/rtaudio/ > > atte@blokhus:~$ ll /usr/include/rtaudio/ > total 360K > -rwxr-xr-x 1 root root 5,5K Apr 26 10:06 asio.cpp > -rwxr-xr-x 1 root root 3,4K Apr 26 10:06 asiodrivers.cpp > -rwxr-xr-x 1 root root 719 Apr 26 10:06 asiodrivers.h > -rwxr-xr-x 1 root root 2,3K Apr 26 10:06 asiodrvr.h > -rwxr-xr-x 1 root root 42K Apr 26 10:06 asio.h > -rwxr-xr-x 1 root root 6,7K Apr 26 10:06 asiolist.cpp > -rwxr-xr-x 1 root root 994 Apr 26 10:06 asiolist.h > -rwxr-xr-x 1 root root 1,4K Apr 26 10:06 asiosys.h > -rwxr-xr-x 1 root root 106K Apr 26 10:06 dsound.h > -rwxr-xr-x 1 root root 636 Apr 26 10:06 ginclude.h > -rwxr-xr-x 1 root root 1,6K Apr 26 10:06 iasiodrv.h > -rwxr-xr-x 1 root root 24K Apr 26 10:06 iasiothiscallresolver.cpp > -rwxr-xr-x 1 root root 9,7K Apr 26 10:06 iasiothiscallresolver.h > -rwxr-xr-x 1 root root 40K Apr 26 10:06 RtAudio.h > -rwxr-xr-x 1 root root 2,1K Apr 26 10:06 RtError.h > -rwxr-xr-x 1 root root 74K Apr 26 10:06 soundcard.h > > After reading Ralf Mattes post, I copied RtAudio.h and RtError.h > into /usr/local/include/rtaudio/: Hmm, did you really _read_ my post? IIRC my remark was about installing custom/locally installed (!) software into system directories. If I understand your mail correctly, you installed RTAudio from a package repository, so it should stay in '/usr' and not in '/usr/local'. Anyway: that doesn't seem to be the problem. Your RtAudio header is now in /usr/local/include/rtaudio which is _not_ in the compiler's search path! You need to run configure like this: CPPFLAGS=-I/usr/include/rtaudio ./configure --target=linux (after you repaired your copy/move mess :-) > and ran > atte@blokhus:~$ sudo ldconfig -n /usr/local/ > atte@blokhus:~$ sudo ldconfig -n /usr/local/include/rtaudio/ No - ldconfig deals with libraries, not with header files. sudo ldconfig -n /usr/local/lib > but configure still fails. What am I doing wrong here? ldconfig refreshes the _linker/loader_ cache, which has nothing to do with configure. > NB1: I'm not sure *exactly* what "sudo ldconfig -n /usr/local/" does, > I read abit about it, and it seems it "scans the system, sets up > symbolic links and creates (updates) /etc/ld.so.cache". So supposed > I want to "unto" whatever happened when running "sudo ldconfig -n > /usr/local/", what steps should I take? None, it didn't do any harm- > NB2: Grrr, why on earth does the giada tarball extract in the > working directory and not in it's own properly named (with version) > directory? No need to answer, just a rhetoric rant :-) Yes, that's anoying, to say the least. HTH Ralf Mattes > -- > Atte > > http://atte.dk http://modlys.dk > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@xxxxxxxxxxxxxxxxxxxx > http://lists.linuxaudio.org/listinfo/linux-audio-user -- R. Mattes - Hochschule fuer Musik Freiburg rm@xxxxxxxxxxxxxxxxxx _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user