|
Добро пожаловать на Форум RadioCMS. |
Форум доступен только для чтения. |
Опции темы | Опции просмотра |
#11
|
|||
|
|||
![]()
В чем может быть проблема включаю cd /usr/local/etc/radio_config/ && streamTranscoderv3 -b после минут 10 проигрывания он сам отключается.
|
#12
|
|||
|
|||
![]()
Отказ в выделении ресурсов? Может быть на слабых машинах.
__________________
1) Тем кто ничего не понимает читать это 2) Список самых частых ошибок p\s Хотите получить исчерпывающий ответ - предоставляйте как можно больше информации (логи и скриншоты - помогают) |
#13
|
|||
|
|||
![]()
Проблема. Не запускается streamTranscoderv3
Код:
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for libogg... ok checking for libvorbis... ok checking for struct ovectl_ratemanage_arg... yes checking for libmad (>= 0.12.0)... yes checking for libFLAC... yes checking for liblame... yes checking for faacEncOpen in -lfaac... yes configure: creating ./config.status config.status: creating Makefile config.status: creating liboddcast/Makefile config.status: executing depfiles commands root@Debian-60-squeeze-64-ISPLite:~/streamtranscoderv3-3.1.11# make Making all in liboddcast make[1]: Entering directory `/var/www/extwo/streamtranscoderv3-3.1.11/liboddcast' source='liboddcast.cpp' object='liboddcast.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../depcomp \ g++ -DPACKAGE_NAME=\"streamTranscoderv3\" -DPACKAGE_TARNAME=\"streamtranscoderv3\" -DPACKAGE_VERSION=\"3.1.11\" -DPACKAGE_STRING=\"streamTranscoderv3\ 3.1.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"streamtranscoderv3\" -DVERSION=\"3.1.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_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. -INONE/include -c -o liboddcast.o liboddcast.cpp ../depcomp: line 512: exec: g++: not found make[1]: *** [liboddcast.o] Error 127 make[1]: Leaving directory `/var/www/extwo/streamtranscoderv3-3.1.11/liboddcast' make: *** [all-recursive] Error 1 root@Debian-60-squeeze-64-ISPLite:~/streamtranscoderv3-3.1.11# make install Making install in liboddcast make[1]: Entering directory `/var/www/extwo/streamtranscoderv3-3.1.11/liboddcast' source='liboddcast.cpp' object='liboddcast.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../depcomp \ g++ -DPACKAGE_NAME=\"streamTranscoderv3\" -DPACKAGE_TARNAME=\"streamtranscoderv3\" -DPACKAGE_VERSION=\"3.1.11\" -DPACKAGE_STRING=\"streamTranscoderv3\ 3.1.11\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"streamtranscoderv3\" -DVERSION=\"3.1.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_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. -INONE/include -c -o liboddcast.o liboddcast.cpp ../depcomp: line 512: exec: g++: not found make[1]: *** [liboddcast.o] Error 127 make[1]: Leaving directory `/var/www/extwo/streamtranscoderv3-3.1.11/liboddcast' make: *** [install-recursive] Error 1 root@Debian-60-squeeze-64-ISPLite:/usr/icecast# streamTranscoderv3 -bash: streamTranscoderv3: command not found |
#15
|
|||
|
|||
![]() Цитата:
короче сделал эти cfg в текстовом редакторе на компе, скопировал туда все как нписано выше, залил на сервер в эту самую папку /usr/local/bin и запустил по команде зашел сначало через PuTTY cd /usr/local/bin потом набрал тут streamTranscoderv3 & запустился и работает, только после закрытия PuTTY перестает работать, как это исправить команда эта не подходит: cd /usr/icecast/ && streamTranscoderv3 -b cd /usr/icecast/ && streamTranscoderv3 streamTranscoderv3 & - после закрытия консоли все равно не работает... Помогла такая команда в PuTTY: cd /usr/local/bin nohup streamTranscoderv3 Последний раз редактировалось cantor; 30.05.2013 в 01:40. |
#16
|
|||
|
|||
![]()
Ошибка при конфигурации:
Цитата:
|
#17
|
|||
|
|||
![]()
Выше исправил, сейчас вот:
Цитата:
|
#18
|
|||
|
|||
![]()
Debian? Как то так примерно:
aptitude install libflac libflac-dev libmp3lame-dev
__________________
1) Тем кто ничего не понимает читать это 2) Список самых частых ошибок p\s Хотите получить исчерпывающий ответ - предоставляйте как можно больше информации (логи и скриншоты - помогают) |
#19
|
|||
|
|||
![]()
а сам ezstream неможет перекодировать на лету например MP3 в Ogg?
Цитата:
|
#20
|
|||
|
|||
![]()
Запустил так в puTTy
Цитата:
|