Hi,

At long last, I got it!

I did make clean on the libraries that weren't working and deleted them from 
their installation dirs on the system. Then reinstalled them, and now it all 
works.

Now I did test it, and it seemed to work, but at the end of the script it said:

"Segmentation fault"

But the whole song was there, so I'm not sure what this means.

Here was the script:

#!/usr/local/bin/liquidsoap

s = 
single('/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Enya/A 
Day Without Rain/01 A Day Without Rain.m4a')
output.file(%mp3(bitrate = 128), 'foo.mp3', s)

Perhaps there is nothing to worry about if it is working.

I have one more question. If I want to add a playlist while a script is 
running, is there a way of changing the script, or do I have to shut it down 
and rerun it? Say I want to schedule a certain playlist at a specific time, 
only once.

Thanks,
Brandon

On Jan 20, 2012, at 5:07 PM, Romain Beauxis wrote:

> Hey!
> 
> 2012/1/20 Brandon Olivares <[email protected]>:
>> OK, after disabling camlp4, I get this:
>> 
>> Error: /usr/local/lib/ocaml/site-lib/pcre/pcre.cmi is not a compiled 
>> interface
>> 
>> I did install ocaml-pcre, so I'm not sure if it is some error with that or 
>> what it might mean. I've cleaned it and reinstalled it several times to see 
>> if it would help.
> 
> Man, I'm sorry, it seems that you get all possible issues..
> 
> This indicates that the binary module you have for ocaml pcre is not
> compatible with your current ocaml compiler. Most likely, this
> indicates that your ocaml compiler is not running the same version
> that was used to compile pcre-ocaml. For instance, pcre-ocaml was
> compiled with ocaml 3.11 and you are now running ocaml 3.12.
> 
> The solution is at the same time simple and complicated. Simple
> because you only need to recompile pcre-ocaml using your current ocaml
> compiler.
> 
> However, it may get complicated b/c pcre-ocaml was not compiled by you
> and also b/c this is likely to happen for other modules..
> 
> I guess, it is probably a good time now to tell us more about your
> distribution :-)
> * What distribution do you run?
> * How have you installed OCaml and its modules (pcre, etc..)
> 
> With this information, we should be able to help you fix this..
> Romain


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to