cameronehrlich / audioscout

Automatically exported from code.google.com/p/audioscout
GNU General Public License v3.0
1 stars 0 forks source link

Can not install on Linux #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to build and install audioscount. But get the error.

What steps will reproduce the problem?
1. zeromq,sndfile,samplerate,mpg123 are ok.
2. run 'make all', get the following error:
[  4%] Building C object libs/CMakeFiles/AudioData.dir/audiodata.c.o
/root/ffmpeg/audioscout/libs/audiodata.c:41:39: error: 
opencore-amrnb/interf_dec.h: No such file or directory
/root/ffmpeg/audioscout/libs/audiodata.c: In function 'readaudio_amra':
/root/ffmpeg/audioscout/libs/audiodata.c:673: error: too few arguments to 
function'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:674: error: too few arguments to 
function 'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:678: error: too few arguments to 
function 'zmq_recv'
/root/ffmpeg/audioscout/libs/audiodata.c: In function 'retrieve_audiodata':
/root/ffmpeg/audioscout/libs/audiodata.c:702: error: too few arguments to 
function 'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:706: error: too few arguments to 
function 'zmq_send'
/root/ffmpeg/audioscout/libs/audiodata.c:709: error: too few arguments to 
function 'zmq_recv'
make[2]: *** [libs/CMakeFiles/AudioData.dir/audiodata.c.o] Error 1
make[1]: *** [libs/CMakeFiles/AudioData.dir/all] Error 2
make: *** [all] Error 2

Use audioscout-1.0.5,  OS is Linux 2.6.18-128.el5

How to handle it? Could you tell me some advice?

Thanks

Original issue reported on code.google.com by tengming...@gmail.com on 12 Mar 2013 at 8:56

GoogleCodeExporter commented 8 years ago
You need to install libopencore-amrnb-dev in ubuntu you can do this on the 
command line with the following:

sudo apt-get install libopencore-amrnb-dev

I'm interested to know if you audioscout working as at present I have all the 
servers present, I'm successfully able to submit files but any querying always 
results in a negative response, despite the fact I'm comparing the same two 
files!

Original comment by pcusta...@gmail.com on 12 Mar 2013 at 3:58

GoogleCodeExporter commented 8 years ago
Also to add, I had an use with the build process, I had to go into the libs 
folder in audioscout and compile them first before building the main program. 
So make sure your in the libs folder and on the command line issue:

cmake .
make

Then go up a directory to the top-level folder for audioscout and issue:

cmake . 
make
sudo make install

Original comment by pcusta...@gmail.com on 12 Mar 2013 at 4:00

GoogleCodeExporter commented 8 years ago
Make sure you signal the tblservd to merge the new submissions into the main 
table. You can do this with:

kill -s <pidoftblservd> SIGUSR1  

It may take awhile to merge them all, depending on how many submissions you 
added.
Just a few submissions should only be a few seconds.  

Original comment by starkd88@gmail.com on 12 Mar 2013 at 5:04

GoogleCodeExporter commented 8 years ago
thanks.
Install amrnb and add the following link

export LD_LIBRARY_PATH=/usr/local/lib
chcon -t texrel_shlib_t /usr/local/lib/libmpg123.so.0

Original comment by tengming...@gmail.com on 13 Mar 2013 at 3:43