Hello David,
Thanks for your quick answer, I compiled from the last svn repository including
alsa and ao, this is my ./configuration output:
---------------------------------------------------------------- Installation
prefix : /usr/local
exec_prefix : ${prefix}
binary : ${exec_prefix}/bin
configuration : ${prefix}/etc/liquidsoap
logging : ${prefix}/var/log/liquidsoap
PIDs : ${prefix}/var/run/liquidsoap
logrotate conf : ${prefix}/etc/logrotate.d
man page : ${datarootdir}/man/man1
doc : ${datarootdir}/doc
-------------------------------------------------------------------- Features
* Supported input formats
- Vorbis : mandatory
- MP3 : yes
- AAC : yes
- text-to-speech : yes, using /usr/bin/text2wave
* Supported output formats
- Vorbis : mandatory
- MP3 : yes
- AAC : yes
* Tags
- ID3 tags : ocaml-mp3id3 id3tag
- charset detection : yes
* Input / output
- shout : mandatory
- AO : yes
- ALSA : yes
- JACK : no
- RTP : yes
* Visualization
- Graphics : no
- OpenGL : no
* Misc
- Python GUI : yes (requires >=pyGTK-2.0)
- samplerate : yes
-----------------------------------------------------------------------------
The Savonet Team thanks you for using liquidsoap ...
Have fun !
My PACKAGES content is:
ocaml-ao
ocaml-mad
ocaml-shout
ocaml-vorbis
ocaml-dtools
ocaml-lame
ocaml-faac
ocaml-faad
ocaml-mad
ocaml-samplerate
ocaml-shout
ocaml-mp3id3
ocaml-musicbrainz
ocaml-ogg
ocaml-vorbis
ocaml-theora
ocaml-alsa
ocaml-fetch
liquidsoap
Following your advice i defined "set socket = false", now i get:
$ ./myscript.liq
2007/05/09 16:45:18 >>> LOG START
2007/05/09 16:45:18 [main:3] Liquidsoap 0.3.2+svn (trunk/[EMAIL PROTECTED])
2007/05/09 16:45:18 [extproto:3] Found "/usr/bin/wget"
2007/05/09 16:45:18 [extproto:3] Didn't find "ufetch"
2007/05/09 16:45:18 [threads:3] Created thread "light task scheduler" (1 total)
2007/05/09 16:45:18 [threads:3] Created thread "root" (2 total)
2007/05/09 16:45:18 [root:3] Waking up active nodes...
2007/05/09 16:45:18 [playlist.pls:3] Loading playlist...
2007/05/09 16:45:18 [decoder:3] Unable to decode "live_start.mp3"!
2007/05/09 16:45:18 [playlist.pls:2] Invalid line 1
2007/05/09 16:45:18 [decoder:3] Unable to decode "live_stop.mp3"!
2007/05/09 16:45:18 [playlist.pls:2] Invalid line 2
2007/05/09 16:45:18 [playlist.pls:2] Invalid line 3
2007/05/09 16:45:18 [threads:1] thread "root" failed: Empty default playlist !
Thread 3 killed on uncaught exception Failure("Empty default playlist !")
2007/05/09 16:45:18 [main:3] Shutdown started !
2007/05/09 16:45:21 [main:3] Cleaning downloaded files...
2007/05/09 16:45:21 >>> LOG END
my playlist.pls file just contains
live_start.mp3
live_stop.mp3
clocks.mp3
I tried using the absolute path to the mp3 files, with the same result.
I just did chmod 777 on a desperate attempt! he,he,he i will fix it as soon as
it works.
Best wishes
Jorge
----- Mensaje original -----
De: "David Baelde" <[EMAIL PROTECTED]>
Responder a: [EMAIL PROTECTED]
Para:
Cc: [email protected]
Fecha: 2007-05-09 11:18:37
Asunto: Re: [Savonet-users] hi list and first question
> Hi Jorge, and welcome.
>
> On 5/9/07, Jorge Ignacio Jiménez <[EMAIL PROTECTED]> wrote:
> > Unfortunately I can make it work :( and really appreciate any
> help.
>
> We'll get that fixed within short, don't worry :p
>
> > $ ./myscript.liq
> > Line 3, char 18 before "ouput.ao": Unbound symbol ouput.ao!
> [...]
> > If change ao to alsa, i get the same result with "output.alsa"
>
> It means that your liquidsoap is compiled without ao support, and
> without alsa too. You'll have to re-configure/re-compile and make
> sure
> that they are enabled -- look at the report at the end of
> ./configure.
> If you have problems doing that, please describe how you build
> liquidsoap (with or without installing libs, with PACKAGES, etc).
>
> > $ liquidsoap myscript.liq
> > Thread 1 killed on uncaught exception Unix.Unix_error(1, "bind",
> "")
> > init: exception encountered during stop phase:
> > Unix.Unix_error(20, "unlink",
> "/usr/local/var/run/liquidsoap/myscript.sock")
>
> Here liquidsoap accepts its script, and starts, but dies when
> trying
> to open its socket, because the directory doesn't exist. This
> socket
> is here for interacting with liquidsoap while it is running. You
> can
> simply disable it by adding "set socket = false", or create the
> socket
> directory manually or by installing liquidsoap, or set it manually
> to
> something else (set socket.dir = "somethingelse").
>
> That said, we'll work to get this error more informative..
>
> > if run as root, I get:
> > # ./myscript.liq
> > init: security exit, root euid.
> > So I suppose liquidsoap does not run as root.
>
> Indeed, we forbid this possibly-dangerous thing..
>
> > Also I did chmod 777 to /usr/local/bin/liquidsoap and
> myscript.liq
>
> That's another dangerous thing :\
>
> > Thanks in advance for your time and help
>
> Have fun.
> --
> David
-------------------------------------
Saca tu propia cuenta de email gratis en Colombia entrando a
http://mail.conexcol.com