Страница 1 из 1

radio

Добавлено: 2008-12-23 12:16:00
GHopper
Здравствуйте!

FreeBSD 7

icecast2 бубнит в локалку. Ему нужно передавать поток из локальных аудиофайлов.
Требования:
1. плейлисты играют по времени (утром электро, днем рок, под вечер релакс например)
2. плавное переключение между плейлистами
3. нормализация громкости (один тихий, другой громкий - играет нечто среднее)
4. генерация плейлистов в фоне
5. поток передается 24 часа в сутки

Идеально подходит Liquidsoap, но его нету в портах FreeBSD и из исходников он не собирается (зависимости не разрешаются). Что посоветуете?

Re: radio

Добавлено: 2008-12-23 19:33:38
gloom
а посмотреть сюда http://savonet.sourceforge.net/doc-svn/build.html
не пробовали?
в портах есть
/usr/ports/devel/ocaml-pcre
/usr/ports/devel/ocaml-findlib
остальное тоже думаю есть...

Re: radio

Добавлено: 2008-12-24 5:04:54
GHopper
туда и смотрел!

Код: Выделить всё

[ghopper /usr/ports/devel]$ ls | grep ocaml
ocaml-annexlib
ocaml-calendar
ocaml-camljava
ocaml-camlp5
ocaml-camomile
ocaml-camomile-examples
ocaml-cfg
ocaml-classes
ocaml-equeue
ocaml-event
ocaml-extlib
ocaml-findlib
ocaml-lacaml
ocaml-magic
ocaml-ounit
ocaml-pcre
ocaml-pomap
ocaml-res
ocaml-sdl
ocaml-sem
ocaml-sexplib
ocaml-typeconv
ocaml-ulex
ocaml-xstr
ocaml-xstrp4
ocamlweb
[ghopper /usr/ports/devel]$
Уже на этой стадии нестыковки обнаруживаются! Ну да ладно, забьем пока! Качнул архив с исходниками liquidsoap-0.3.8.1, прочитлал README.txt (выставил переменные окружения как там написано) и в путь:

Код: Выделить всё

[ghopper /usr/home/ghopper/liquidsoap-0.3.8.1]$ ./configure                             
checking for a BSD-compatible install... /usr/bin/install -c                                    
checking for GNU make... gmake                                                                  
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 whether byte ordering is bigendian... no
checking for glib-2.0 required by libortp... ok
checking for libortp... Header not found: /usr/include/ortp/ortp.h
checking for ocamldep... /usr/local/bin/ocamldep
checking for ocamlfind... /usr/local/bin/ocamlfind
checking for ocamllex... /usr/local/bin/ocamllex
checking for ocamlyacc... /usr/local/bin/ocamlyacc
checking for ocamlopt... /usr/local/bin/ocamlopt
checking whether ocamlopt accepts -ffast-math... yes
checking for pcre-ocaml... ok
checking for ocaml-dtools... configure: error: Not found.
[ghopper /usr/home/ghopper/liquidsoap-0.3.8.1]$ cd /usr/ports
[ghopper /usr/home/ghopper/liquidsoap-0.3.8.1]$ make search key="ocaml-dtools"
[ghopper /usr/home/ghopper/liquidsoap-0.3.8.1]$
Что делать в этой ситуации - ума не приложу! Если из исходников все зависимости собирать, то потом каша получится жуткая. Обновляться вообще противопоказано будет.

Re: radio

Добавлено: 2008-12-24 13:20:33
gloom
пакеты не всегда одинаково назаваются в разнах дистрах
и неизвестно что обозвали названием ocaml-dtools
нужно разбиратся и смотреть в портах ocaml* по содержимому
слазить на сайт етой библиотеки почитать что к чему...

Re: radio

Добавлено: 2008-12-24 13:42:36
gloom
если не найдется в портах можно собрать из исходников...
что вообщето нежелательно

исходники ocaml-dtools-0.1.6.tar.gz
http://sourceforge.net/project/showfile ... _id=110969
зависит от
ocaml-nox
ocaml-findlib
инормация отсюда http://packages.debian.org/ru/source/et ... aml-dtools

ocaml-duppy
http://www.rastageeks.org/duppy.html
https://sourceforge.net/project/showfil ... _id=266393