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

Установка ezstream

 

1
2017 @2017
Хочу создать на своём ВДС интернет-радио. FreeBSD 8. Установил icecast, теперь собираюсь поставить из портов ezstream, но установка не идёт:
  1. vpemeni# cd /usr/ports/audio/ezstream/
  2. vpemeni# make install clean
  3. ===> ezstream-0.5.6_2 depends on executable: pkg-config - found
  4. ===> ezstream-0.5.6_2 depends on shared library: shout.5 - found
  5. ===> ezstream-0.5.6_2 depends on shared library: vorbis.4 - found
  6. ===> ezstream-0.5.6_2 depends on shared library: tag.1 - not found
  7. ===> Verifying install for tag.1 in /usr/ports/audio/taglib
  8. ===> taglib-rcc-1.6.3 depends on file: /usr/local/bin/cmake - not found
  9. ===> Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake
  10. ===> Configuring for cmake-2.8.3_1
  11. ---------------------------------------------
  12. CMake 2.8.3, Copyright 2000-2009 Kitware, Inc.
  13. C compiler on this system is: cc -O2 -pipe -fno-strict-aliasing
  14. C++ compiler on this system is: c++ -O2 -pipe -fno-strict-aliasing
  15. Makefile processor on this system is: make
  16. c++ is GNU compiler
  17. c++ has STL in std:: namespace
  18. c++ has ANSI streams
  19. c++ has streams in std:: namespace
  20. c++ has sstream
  21. c++ has operator!=(string, char*)
  22. c++ has stl iterator_traits
  23. c++ has standard template allocator
  24. c++ has allocator<>::rebind<>
  25. c++ does not have non-standard allocator<>::max_size argument
  26. c++ has stl containers supporting allocator objects
  27. c++ has header cstddef
  28. c++ requires template friends to use <>
  29. c++ supports member templates
  30. c++ has standard template specialization syntax
  31. c++ has argument dependent lookup
  32. c++ does not have struct stat with st_mtim member
  33. c++ has ios::binary openmode
  34. c++ has ANSI for scoping
  35. ---------------------------------------------
  36. c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.3/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.3/Source -I/usr/ports/devel/cmake/work/cmake-2.8.3/Bootstrap.cmk cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o cmCustomCommand.o cmDocumentVariables.o cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake
  37. cmake.o(.text+0x3614): In function `cmake::CreateGlobalGenerator(char const*)':
  38. : undefined reference to `cmExternalMakefileProjectGenerator::GetGlobalGeneratorName(char const*)'
  39. cmake.o(.text+0x51a7): In function `cmake::AddExtraGenerator(char const*, cmExternalMakefileProjectGenerator* (*)())':
  40. : undefined reference to `cmExternalMakefileProjectGenerator::CreateFullGeneratorName(char const*, char const*)'
  41. cmake.o(.text+0x81ab): In function `cmake::AddDefaultCommands()':
  42. : undefined reference to `GetBootstrapCommands(std::list<cmCommand*, std::allocator<cmCommand*> >&)'
  43. cmake.o(.text+0xcd0f): In function `cmake::ActualConfigure()':
  44. : undefined reference to `cmExternalMakefileProjectGenerator::CreateFullGeneratorName(char const*, char const*)'
  45. *** Error code 1
  46. Stop in /usr/ports/devel/cmake/work/cmake-2.8.3/Bootstrap.cmk.
  47. ---------------------------------------------
  48. Error when bootstrapping CMake:
  49. Problem while running make
  50. ---------------------------------------------
  51. Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.3/Bootstrap.cmk/cmake_bootstrap.log
  52. ---------------------------------------------
  53. ===> Script "configure" failed unexpectedly.
  54. Please report the problem to kde@FreeBSD.org [maintainer] and attach the
  55. "/usr/ports/devel/cmake/work/cmake-2.8.3/config.log" including the output of
  56. the failure of your make command. Also, it might be a good idea to provide
  57. an overview of all packages installed on your system (e.g. an `ls
  58. /var/db/pkg`).
  59. *** Error code 1
  60. Stop in /usr/ports/devel/cmake.
  61. *** Error code 1
  62. Stop in /usr/ports/audio/taglib.
  63. *** Error code 1
  64. Stop in /usr/ports/audio/taglib.
  65. *** Error code 1
  66. Stop in /usr/ports/audio/ezstream.
  67. *** Error code 1
  68. Stop in /usr/ports/audio/ezstream.

Что это и что делать?

0
833
metra52 @metra52
из портов никогда не ставьте программы

0
112
Юрий @FortNoxBY
При попытке установки вот такое дело:
fortnoxby:~/ezstream-0.5.6# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
fortnoxby:~/ezstream-0.5.6# make && make install
make: *** No targets specified and no makefile found. Stop.
fortnoxby:~/ezstream-0.5.6# make
make: *** No targets specified and no makefile found. Stop.
fortnoxby:~/ezstream-0.5.6# make install
make: *** No rule to make target `install'. Stop.
fortnoxby:~/ezstream-0.5.6#

0
6245
Тарас @tarasian666
checking for gcc... no
checking for cc... no

если пишет configure: error то дальше нет смысла продолжать (make и make install)

0
112
Юрий @FortNoxBY
и так получилось установить...в дериктории /usr/local/share/examples/ezstream имеем такие файлы:

я так понял мне нужен ezstream_mp3.xml?
Содержимое:
  1. <!--
  2. EXAMPLE: MP3 playlist stream WITHOUT reencoding
  3. This example streams a playlist that contains only MP3 files. No other file
  4. formats may be listed. Since ezstream will not be doing any reencoding, the
  5. resulting stream format (bitrate, samplerate, channels) will be of the
  6. respective input files.
  7. -->
  8. <ezstream>
  9. <url>http://localhost:8000/stream</url>
  10. <!--
  11. If a different user name than "source" should be used, set it in
  12. <sourceuser/>:
  13. -->
  14. <!-- <sourceuser>mr_stream</sourceuser> -->
  15. <sourcepassword>hackme</sourcepassword>
  16. <format>MP3</format>
  17. <filename>playlist.m3u</filename>
  18. <!-- Once done streaming playlist.m3u, exit: -->
  19. <stream_once>1</stream_once>
  20. <!--
  21. The following settings are used to describe your stream to the server.
  22. It's up to you to make sure that the bitrate/samplerate/channels
  23. information matches up with your input stream files. Note that
  24. <svrinfoquality /> only applies to Ogg Vorbis streams.
  25. -->
  26. <svrinfoname>My Stream</svrinfoname>
  27. <svrinfourl>http://www.oddsock.org</svrinfourl>
  28. <svrinfogenre>RockNRoll</svrinfogenre>
  29. <svrinfodescription>This is a stream description</svrinfodescription>
  30. <svrinfobitrate>128</svrinfobitrate>
  31. <svrinfochannels>2</svrinfochannels>
  32. <svrinfosamplerate>44100</svrinfosamplerate>
  33. <!--
  34. Prohibit the server to advertise the stream on a public YP directory:
  35. -->
  36. <svrinfopublic>0</svrinfopublic>
  37. </ezstream>

что тут самое главное подредактировать и как это все дело запустить?

0
6245
Тарас @tarasian666
в разделе мануалы есть о настройке ezstream
**********

0





Согласие на обработку данных на нашем сайте

Продолжая просматривать страницу, вы соглашаетесь с использованием файлов «Cookie» и с Политикой конфиденциальности «Privacy».
Наверху или внизу страницы вы можете изменить валюту и язык по умолчанию. Английская версия сайта ещё находится в доработке и доступна не полностью.