[LAU] compiling rubberband on Debian

Grammostola Rosea rosea.grammostola at gmail.com
Tue Oct 21 16:08:10 EDT 2008


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?



More information about the Linux-audio-user mailing list