[SIP Beyond VoIP] media_ip darcs patches
Juha Heinanen
jh at tutpro.com
Sat Dec 6 10:30:22 CET 2014
Saúl Ibarra Corretgé writes:
> Check the permissions of reps/pjsip/configure and
> reps/pjsip/acondifure, are they executable? Darcs doesn’t set the
> executable bit unless you do
>
> darks get —set-scripts-executable path/to/repo
i did the above and then building of python-sipsimple debian package on
debian wheezy got further, but still resulted in errors. perhaps
some build dependencies are missing from control file.
-- juha
Compiling PJSIP
Traceback (most recent call last):
File "setup.py", line 38, in <module>
'build_ext': PJSIP_build_ext
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py", line 163, in run
_build_ext.build_ext.run(self)
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/usr/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py", line 170, in build_extensions
ext.sources = self.cython_sources(ext.sources, ext)
File "/usr/src/orig/python-sipsimple/setup_pjsip.py", line 223, in cython_sources
self.compile_pjsip()
File "/usr/src/orig/python-sipsimple/setup_pjsip.py", line 181, in compile_pjsip
self.distutils_exec_process([self.get_make_cmd()], silent=not self.pjsip_verbose_build, cwd=self.build_dir)
File "/usr/src/orig/python-sipsimple/setup_pjsip.py", line 108, in distutils_exec_process
raise RuntimeError('Got return value %d while executing "%s", stderr output was:\n%s' % (returncode, " ".join(cmdline), stderr.rstrip("\n")))
RuntimeError: Got return value 2 while executing "make", stderr output was:
ar: creating ../lib/libpj-i686-pc-linux-gnu.a
ar: creating ../lib/libpjlib-util-i686-pc-linux-gnu.a
ar: creating ../lib/libpjnath-i686-pc-linux-gnu.a
ar: creating ../../lib/libresample-i686-pc-linux-gnu.a
ar: creating ../../lib/libmilenage-i686-pc-linux-gnu.a
ar: creating ../../lib/libsrtp-i686-pc-linux-gnu.a
ar: creating ../../lib/libgsmcodec-i686-pc-linux-gnu.a
ar: creating ../../lib/libilbccodec-i686-pc-linux-gnu.a
../../speex/libspeex/cb_search.c: In function 'split_cb_shape_sign_unquant':
../../speex/libspeex/cb_search.c:527:8: warning: variable 'shape_cb_size' set but not used [-Wunused-but-set-variable]
../../speex/libspeex/nb_celp.c: In function 'nb_decode':
../../speex/libspeex/nb_celp.c:1303:21: warning: variable 'sp' set but not used [-Wunused-but-set-variable]
../../speex/libspeex/nb_celp.c:1505:21: warning: variable 'exc' set but not used [-Wunused-but-set-variable]
../../speex/libspeex/vbr.c: In function 'vbr_analysis':
../../speex/libspeex/vbr.c:129:8: warning: variable 'va' set but not used [-Wunused-but-set-variable]
ar: creating ../../lib/libspeex-i686-pc-linux-gnu.a
ar: creating ../../lib/libwebrtcaec-i686-pc-linux-gnu.a
../../opus/src/opus_decoder.c:37:10: note: #pragma message: You appear to be compiling without optimization, if so opus will be very slow.
ar: creating ../../lib/libopuscodec-i686-pc-linux-gnu.a
../src/pjmedia/ffmpeg_util.c:51:28: error: 'PIX_FMT_GBR24P' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:71:27: error: 'AV_CODEC_ID_H261' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:71:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:71:5: error: (near initialization for 'ffmpeg_codec_table[0].codec_id')
../src/pjmedia/ffmpeg_util.c:72:27: error: 'AV_CODEC_ID_H263' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:72:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:72:5: error: (near initialization for 'ffmpeg_codec_table[1].codec_id')
../src/pjmedia/ffmpeg_util.c:73:28: error: 'AV_CODEC_ID_H263P' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:73:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:73:5: error: (near initialization for 'ffmpeg_codec_table[2].codec_id')
../src/pjmedia/ffmpeg_util.c:74:27: error: 'AV_CODEC_ID_H264' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:74:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:74:5: error: (near initialization for 'ffmpeg_codec_table[3].codec_id')
../src/pjmedia/ffmpeg_util.c:75:33: error: 'AV_CODEC_ID_MPEG1VIDEO' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:75:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:75:5: error: (near initialization for 'ffmpeg_codec_table[4].codec_id')
../src/pjmedia/ffmpeg_util.c:76:33: error: 'AV_CODEC_ID_MPEG2VIDEO' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:76:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:76:5: error: (near initialization for 'ffmpeg_codec_table[5].codec_id')
../src/pjmedia/ffmpeg_util.c:77:28: error: 'AV_CODEC_ID_MPEG4' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:77:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:77:5: error: (near initialization for 'ffmpeg_codec_table[6].codec_id')
../src/pjmedia/ffmpeg_util.c:78:28: error: 'AV_CODEC_ID_MJPEG' undeclared here (not in a function)
../src/pjmedia/ffmpeg_util.c:78:5: error: initializer element is not constant
../src/pjmedia/ffmpeg_util.c:78:5: error: (near initialization for 'ffmpeg_codec_table[7].codec_id')
make[4]: *** [output/pjmedia-i686-pc-linux-gnu/ffmpeg_util.o] Error 1
make[3]: *** [pjmedia] Error 2
make[2]: *** [all] Error 1
More information about the SIPBeyondVoIP
mailing list