ОсновноеRadiotalkПользовательское
Общие вопросы по интернет радио вещанию
6   •   Посмотреть все темы

Проблема с установкой Icegenerator и streamtranscoder 3

 

221
Дмитрий @ElectroNik
И так на сервере стоит Ubuntu 9.04
При установке Streamtranscoder 3 из исходников, не хочет собираться deb пакет, с icegenerator такая же проблема.

Делаю всё по инструкции:

cd /tmp
wget **********
tar -xvvf streamtranscoderv3-3.1.11.tar.gz
cd streamtranscoderv3-3.1.11
./configure
make
checkinstall -D

Вот что пишет в консоли:

root@vps1607:/tmp# cd streamtranscoderv3-3.1.11
root@vps1607:/tmp/streamtranscoderv3-3.1.11# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
root@vps1607:/tmp/streamtranscoderv3-3.1.11# make
make: *** No targets specified and no makefile found. Stop.
root@vps1607:/tmp/streamtranscoderv3-3.1.11# checkinstall -D
-bash: checkinstall: command not found
root@vps1607:/tmp/streamtranscoderv3-3.1.11#

Скажите что может быть не так, почему пакеты не собираются?

Отредактировано ElectroNik - 29.05.2010
221
Дмитрий @ElectroNik
Всё разобрался, надо было установить пакет build-essential

221
Дмитрий @ElectroNik
Возникли другие прблемы:

1. при конфигурировании icegenerator пишет ошибку
SHOUT library
checking for pkg-config... /usr/bin/pkg-config
checking for shout >= 2.0... Package shout was not found in the pkg-config search path. Perhaps you should add the directory containing `shout.pc'
to the PKG_CONFIG_PATH environment variable No package 'shout' found
configure: error: Library requirements (shout >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in
a nonstandard prefix so pkg-config can find them.

2. streamtranscoder конфигурирует нормально вроде, но после команды make пишет вот это

Making all in liboddcast
make[1]: Entering directory `/tmp/streamtranscoderv3/liboddcast'
if g++ -DPACKAGE_NAME=\"streamTranscoderv3\" -DPACKAGE_TARNAME=\"streamtranscoderv3\" -DPACKAGE_VERSION=\"3.1.11\" -DPACKAGE_STRING=\"streamTransco
derv3\ 3.1.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"streamtranscoderv3\" -DVERSION=\"3.1.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STA
T_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN
_H=1 -DSTDC_HEADERS=1 -DHAVE_OGG=1 -DHAVE_STRUCT_OVECTL_RATEMANAGE_ARG=1 -DHAVE_VORBIS=1 -DHAVE_MAD_H=1 -DHAVE_LIBMAD=1 -DHAVE_LAME=1 -I. -I.
-g -O2 -INONE/include -MT liboddcast.o -MD -MP -MF ".deps/liboddcast.Tpo" -c -o liboddcast.o liboddcast.cpp; \
then mv -f ".deps/liboddcast.Tpo" ".deps/liboddcast.Po"; else rm -f ".deps/liboddcast.Tpo"; exit 1; fi
In file included from liboddcast.cpp:15:
liboddcast.h:49:23: error: lame/lame.h: No such file or directory
In file included from liboddcast.cpp:15:
liboddcast.h:119: error: 'MPEG_mode' does not name a type
liboddcast.h:227: error: ISO C++ forbids declaration of 'lame_global_flags' with no type
liboddcast.h:227: error: expected ';' before '*' token
liboddcast.cpp: In function 'int openArchiveFile(oddcastGlobals*)':
liboddcast.cpp:473: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:473: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:475: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:475: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:477: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:477: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:479: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:479: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:481: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:481: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:483: warning: deprecated conversion from string constant to 'char*'
......................................вырезано
liboddcast.cpp:3567: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3568: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3569: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3570: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3571: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3572: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3573: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3574: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3575: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3576: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3577: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3578: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3579: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3580: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3581: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3582: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3583: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3584: warning: deprecated conversion from string constant to 'char*'
liboddcast.cpp:3585: warning: deprecated conversion from string constant to 'char*'
make[1]: *** [liboddcast.o] Error 1
make[1]: Leaving directory `/tmp/streamtranscoderv3/liboddcast'
make: *** [all-recursive] Error 1

Что опять не так?

6245
Тарас @tarasian666
1. вам же написали Library requirements (shout >= 2.0) not met;
установите libshout
2. лог конфигурации покажите

221
Дмитрий @ElectroNik
Вот лог конфига streamtranscoder

**********

6245
Тарас @tarasian666
lame установлен?

221
Дмитрий @ElectroNik
tarasian666 пишет:

lame установлен?

как именно пакет должен называться?

6245
221
Дмитрий @ElectroNik
Всё равно ошибка

make[1]: Entering directory `/tmp/streamtranscoderv3/liboddcast'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/streamtranscoderv3/liboddcast'
make[1]: Entering directory `/tmp/streamtranscoderv3'
/bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -INONE/include -o streamTranscoderv3 streamTranscoderv3.o cbuffer.o sourcethread.o decodethr
ead.o reconnectthread.o mp3decoder.o vorbisdecoder.o socket_client.o liboddcast/liboddcast.a -lpthread -logg -lvorbis -lmad -lvorbisenc -lvorbisfi
le
g++ -g -O2 -INONE/include -o streamTranscoderv3 streamTranscoderv3.o cbuffer.o sourcethread.o decodethread.o reconnectthread.o mp3decoder.o vorbisd
ecoder.o socket_client.o liboddcast/liboddcast.a -lpthread -L/usr/lib /usr/lib/libmad.so /usr/lib/libvorbisenc.so /usr/lib/libvorbisfile.so /usr/l
ib/libvorbis.so /usr/lib/libogg.so -lm
liboddcast/liboddcast.a(liboddcast.o): In function `disconnectFromServer(oddcastGlobals*)':
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1312: undefined reference to `lame_close'
liboddcast/liboddcast.a(liboddcast.o): In function `initializeencoder(oddcastGlobals*)':
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1874: undefined reference to `lame_init'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1875: undefined reference to `lame_set_errorf'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1876: undefined reference to `lame_set_debugf'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1877: undefined reference to `lame_set_msgf'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1879: undefined reference to `lame_set_brate'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1880: undefined reference to `lame_set_quality'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1882: undefined reference to `lame_set_num_channels'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1892: undefined reference to `lame_set_mode'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1899: undefined reference to `lame_set_in_samplerate'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1900: undefined reference to `lame_set_out_samplerate'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1901: undefined reference to `lame_set_copyright'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1902: undefined reference to `lame_set_strict_ISO'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1903: undefined reference to `lame_set_disable_reservoir'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1947: undefined reference to `lame_set_lowpassfreq'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1948: undefined reference to `lame_set_highpassfreq'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1950: undefined reference to `lame_init_params'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1918: undefined reference to `lame_set_VBR_mean_bitrate_kbps'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1919: undefined reference to `lame_set_VBR_min_bitrate_kbps'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1920: undefined reference to `lame_set_VBR_max_bitrate_kbps'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1885: undefined reference to `lame_set_mode'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1915: undefined reference to `lame_set_VBR'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1911: undefined reference to `lame_set_VBR'
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:1907: undefined reference to `lame_set_VBR'
liboddcast/liboddcast.a(liboddcast.o): In function `do_encoding(oddcastGlobals*, float*, int, int)':
/tmp/streamtranscoderv3/liboddcast/liboddcast.cpp:2690: undefined reference to `lame_encode_buffer_float'
collect2: ld returned 1 exit status
make[1]: *** [streamTranscoderv3] Error 1
make[1]: Leaving directory `/tmp/streamtranscoderv3'
make: *** [all-recursive] Error 1

config.log **********

6245
Тарас @tarasian666
по видимому lame все ровно нет

221
Дмитрий @ElectroNik
пфффф, пипец какой то... видимо у меня руки кривые

tarasian666, можешь сам посмотреть в чём дело? Доступ дам...

Отредактировано ElectroNik - 30.05.2010
6245
Тарас @tarasian666
если сделаю - с тебя пиво ))

221
Дмитрий @ElectroNik
tarasian666 пишет:

если сделаю - с тебя пиво ))

без проблем, тебе по почте или как? ))) пиши 4243803

Отредактировано ElectroNik - 30.05.2010
6245
Тарас @tarasian666
да все ровно как, главное чтоб оно у меня оказалось и свежее ))

221
Дмитрий @ElectroNik
tarasian666 пишет:

да все ровно как, главное чтоб оно у меня оказалось и свежее ))

Жду в аське, отправил ЛС...

Отредактировано ElectroNik - 30.05.2010