Re: [LAU] compiling rubberband on Debian

From: Grammostola Rosea <rosea.grammostola@email-addr-hidden>
Date: Tue Oct 21 2008 - 23:08:10 EEST

Erik de Castro Lopo wrote:
> Grammostola Rosea wrote:
>
>
>> Erik de Castro Lopo wrote:
>>
>>> Grammostola Rosea wrote:
>>>
>>>
>>>
>>>> Same problem here, but where can I find <stdlib.h> ?
>>>>
>>>>
>>> Its a standard C header file. If that file isn't already in the
>>> compiler's includ path, your compiler setup is badly broken.
>>>
>>> Erik
>>>
>>>
>> I don't know anything about this... what do you mean by the compiler's
>> includ path?
>> And how can I fix a compiler setup?
>>
>
> Spidey, slow down mate.
>
> The original error was in a file called src/sysutils.cpp.
>
> Find that file and open it in a text editor.
>
> Scroll down past the copyright header and find the first line
> where is says something like (it may not be exactly like that):
>
> #include <stdio.h>
>
> Then, just before that line add this one (exactly, ignoring
> leading white space):
>
> #include <stdlib.h>
>
> Save the file.
>
> Recompile.
>
> If, when you recompile you get and error saying <stdlib.h> is
> not found, then your compiler is broken and you should re-install
> it from the package for your distribution.
>
> HTH,
> Erik
>
Ok ,thanks mate. I hope it is right now

# make
install

mkdir -p
/usr/local/bin

mkdir -p
/usr/local/include/rubberband

mkdir -p
/usr/local/lib

mkdir -p
/usr/local/lib/vamp

mkdir -p
/usr/local/lib/ladspa

mkdir -p
/usr/local/share/ladspa/rdf

mkdir -p
/usr/local/lib/pkgconfig

cp bin/rubberband /usr/local/bin
cp rubberband/rubberband-c.h rubberband/RubberBandStretcher.h
/usr/local/include/rubberband
cp lib/librubberband.a /usr/local/lib
rm -f /usr/local/lib/librubberband.so.2
rm -f /usr/local/lib/librubberband.so
cp lib/librubberband.so /usr/local/lib/librubberband.so.2.0.0
test -n ".2.0.0" && ln -s librubberband.so.2.0.0
/usr/local/lib/librubberband.so.2
test -n ".2.0.0" && ln -s librubberband.so.2.0.0
/usr/local/lib/librubberband.so
cp lib/vamp-rubberband.so /usr/local/lib/vamp
cp src/vamp/vamp-rubberband.cat /usr/local/lib/vamp
cp lib/ladspa-rubberband.so /usr/local/lib/ladspa
cp src/ladspa/ladspa-rubberband.cat /usr/local/lib/ladspa
cp src/ladspa/ladspa-rubberband.rdf /usr/local/share/ladspa/rdf
sed "s,%PREFIX%,/usr/local," rubberband.pc.in \
> /usr/local/lib/pkgconfig/rubberband.pc

this is how make install ends.... is that right?
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Wed Oct 22 00:15:03 2008

This archive was generated by hypermail 2.1.8 : Wed Oct 22 2008 - 00:15:03 EEST