1

Тема: Установка ezstream

Хочу создать на своём ВДС интернет-радио. FreeBSD 8. Установил icecast, теперь собираюсь поставить из портов ezstream, но установка не идёт:

vpemeni# cd /usr/ports/audio/ezstream/
vpemeni# make install clean
===>   ezstream-0.5.6_2 depends on executable: pkg-config - found
===>   ezstream-0.5.6_2 depends on shared library: shout.5 - found
===>   ezstream-0.5.6_2 depends on shared library: vorbis.4 - found
===>   ezstream-0.5.6_2 depends on shared library: tag.1 - not found
===>    Verifying install for tag.1 in /usr/ports/audio/taglib
===>   taglib-rcc-1.6.3 depends on file: /usr/local/bin/cmake - not found
===>    Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake
===>  Configuring for cmake-2.8.3_1
---------------------------------------------
CMake 2.8.3, Copyright 2000-2009 Kitware, Inc.
C compiler on this system is: cc -O2 -pipe -fno-strict-aliasing
C++ compiler on this system is: c++ -O2 -pipe -fno-strict-aliasing
Makefile processor on this system is: make
c++ is GNU compiler
c++ has STL in std:: namespace
c++ has ANSI streams
c++ has streams in std:: namespace
c++ has sstream
c++ has operator!=(string, char*)
c++ has stl iterator_traits
c++ has standard template allocator
c++ has allocator<>::rebind<>
c++ does not have non-standard allocator<>::max_size argument
c++ has stl containers supporting allocator objects
c++ has header cstddef
c++ requires template friends to use <>
c++ supports member templates
c++ has standard template specialization syntax
c++ has argument dependent lookup
c++ does not have struct stat with st_mtim member
c++ has ios::binary openmode
c++ has ANSI for scoping
---------------------------------------------
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
cmake.o(.text+0x3614): In function `cmake::CreateGlobalGenerator(char const*)':
: undefined reference to `cmExternalMakefileProjectGenerator::GetGlobalGeneratorName(char const*)'
cmake.o(.text+0x51a7): In function `cmake::AddExtraGenerator(char const*, cmExternalMakefileProjectGenerator* (*)())':
: undefined reference to `cmExternalMakefileProjectGenerator::CreateFullGeneratorName(char const*, char const*)'
cmake.o(.text+0x81ab): In function `cmake::AddDefaultCommands()':
: undefined reference to `GetBootstrapCommands(std::list<cmCommand*, std::allocator<cmCommand*> >&)'
cmake.o(.text+0xcd0f): In function `cmake::ActualConfigure()':
: undefined reference to `cmExternalMakefileProjectGenerator::CreateFullGeneratorName(char const*, char const*)'
*** Error code 1

Stop in /usr/ports/devel/cmake/work/cmake-2.8.3/Bootstrap.cmk.
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.3/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.3/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/cmake.
*** Error code 1

Stop in /usr/ports/audio/taglib.
*** Error code 1

Stop in /usr/ports/audio/taglib.
*** Error code 1

Stop in /usr/ports/audio/ezstream.
*** Error code 1

Stop in /usr/ports/audio/ezstream.

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

2

Re: Установка ezstream

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

3

Re: Установка ezstream

При попытке установки вот такое дело:
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#

Пишу в спешке. Могут быть очепятки
Сайт за 50$. За 2 дня...

4

Re: Установка ezstream

checking for gcc... no
checking for cc... no

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

5

Re: Установка ezstream

и так получилось установить...в дериктории /usr/local/share/examples/ezstream имеем такие файлы:
http://img.janowcity.by/upload_image/ace14215daa46d048a06a57a84f4b261.jpg
я так понял мне нужен ezstream_mp3.xml?
Содержимое:

<!--
   EXAMPLE: MP3 playlist stream WITHOUT reencoding

   This example streams a playlist that contains only MP3 files. No other file
   formats may be listed. Since ezstream will not be doing any reencoding, the
   resulting stream format (bitrate, samplerate, channels) will be of the
   respective input files.
 -->
<ezstream>
    <url>http://localhost:8000/stream</url>
    <!--
      If a different user name than "source" should be used, set it in
      <sourceuser/>:
     -->
    <!-- <sourceuser>mr_stream</sourceuser> -->
    <sourcepassword>hackme</sourcepassword>
    <format>MP3</format>
    <filename>playlist.m3u</filename>
    <!-- Once done streaming playlist.m3u, exit: -->
    <stream_once>1</stream_once>
    <!--
      The following settings are used to describe your stream to the server.
      It's up to you to make sure that the bitrate/samplerate/channels
      information matches up with your input stream files. Note that
      <svrinfoquality /> only applies to Ogg Vorbis streams.
     -->
    <svrinfoname>My Stream</svrinfoname>
    <svrinfourl>http://www.oddsock.org</svrinfourl>
    <svrinfogenre>RockNRoll</svrinfogenre>
    <svrinfodescription>This is a stream description</svrinfodescription>
    <svrinfobitrate>128</svrinfobitrate>
    <svrinfochannels>2</svrinfochannels>
    <svrinfosamplerate>44100</svrinfosamplerate>
    <!--
      Prohibit the server to advertise the stream on a public YP directory:
     -->
    <svrinfopublic>0</svrinfopublic>
</ezstream>

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

Пишу в спешке. Могут быть очепятки
Сайт за 50$. За 2 дня...

6

Re: Установка ezstream

в разделе мануалы есть о настройке ezstream
http://radiotalk.ru/viewtopic.php?id=392