Great!
My only comment is: you can start/stop the liquidsoap process using:
/etc/init.d/liquidsoap <start/stop>
Romain
2016-04-28 6:22 GMT-05:00 Alex LaBranche <[email protected]>:
> success!
>
> thanks again for the paste bin.
>
> following the paste bin, i had no issues installing and running on ubuntu.
>
> i did have to re-create the liquidsoap user/group.
>
> (also i only gave liquidsoap user sudo access during the install, removed
> after)
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 14.04.4 LTS
> Release: 14.04
> Codename: trusty
>
> the executable was installed to
>
> /home/liquidsoap/.opam/system/bin/liquidsoap
>
> i killed the running liq process which was started during install
>
> $ ps x
> PID TTY STAT TIME COMMAND
> 7330 ? Sl 0:10 /home/liquidsoap/.opam/system/bin/liquidsoap
> /home/liquidsoap/liquidsoap-daemon/run.liq
>
> $ kill -9 7330
> $
>
> copied the contents of my own liq script to
>
> /home/liquidsoap/liquidsoap-daemon/main.liq
>
> making sure to remove the shbang i had at the beginning
>
> #!/usr/bin/liquidsoap
>
> restarted the process with
>
> /home/liquidsoap/liquidsoap-daemon/run.liq
>
> checked the log file
>
> $ tail -f /home/liquidsoap/liquidsoap-daemon/log/run.log
> 2016/04/28 10:54:08 [output(dot)shoutcast:3] Connecting mount / for
> [email protected]...
> 2016/04/28 10:54:09 [output(dot)shoutcast:3] Connection setup was
> successful.
> 2016/04/28 10:54:09 [threads:3] Created thread "wallclock_main" (2 total).
> 2016/04/28 10:54:09 [clock.wallclock_main:3] Streaming loop starts,
> synchronized with wallclock.
> 2016/04/28 10:54:09 [decoder:3] Method "MAD" accepted "audio/mpeg".
> 2016/04/28 10:54:09 [http_5027:3] Decoding...
> 2016/04/28 10:54:09 [fallback_5033:3] Switch to mksafe.
> 2016/04/28 10:54:09 [mksafe:3] Switch to safe_blank.
> 2016/04/28 10:54:09 [http_5027:3] New metadata chunk: ? -- ARCHIVE -
> 2011-01-01 - Dank Dealz 2011 Dubstep Odysee.
> 2016/04/28 10:54:09 [mksafe:3] Switch to http_5027 with transition.
>
> everything is working perfectly!
>
> thanks again =]
>
> here again is the list of commands from the paste bin for reference
>
> ################################
>
> $ sudo apt-get update
> $ sudo apt-get install -y --no-install-recommends opam m4 ocaml-nox
> $ sudo adduser liquidsoap
> $ su liquidsoap
> $ cd ~/
> $ opam init
> $ y
> $ eval `opam config env`
> $ opam install depext
> $ y
> $ sudo apt-get install -qq -yy camlp4-extra libmad0-dev libmp3lame-dev
> libogg-dev libpcre3-dev libtag1-dev libvorbis-dev ncurses-dev pkg-config
> init-system-helpers
> $ opam depext taglib mad lame vorbis cry liquidsoap liquidsoap-daemon
> $ mkdir -p /home/liquidsoap/liquidsoap-daemon
> $ echo "output.dummy(blank())" >
> /home/liquidsoap/liquidsoap-daemon/main.liq
> $ opam install taglib mad lame vorbis cry liquidsoap liquidsoap-daemon
> $ y
>
> ################################
>
> On Apr 27, 2016, at 9:26 AM, Romain Beauxis <[email protected]> wrote:
>
> Hi Nick,
>
> I understand that installing liquidsoap can be frustrating. Unfortunately,
> that happens with software with large dependencies such as this one.
>
> I have uploaded a paste-bin of a step-by-step installation of liquidsoap
> through opam on debian stable. This should hopefully help you out as well
> as others here. Note that, at the end of install, liquidsoap runs as daemon
> under a non-priviledged liquidsoap user.
>
> The paste-bin is here: http://pastebin.com/raw/Wk5WYtH6
>
> Romain
>
> 2016-04-27 10:28 GMT-05:00 Nicholas Vrtis <[email protected]>:
>
>> Lars,
>>
>> While it might be nice to be able to wait for some kind Devian Maintainer
>> to take over the maintenance, I do not want to hold my breath.
>>
>> Meanwhile, I have been trying to go through the steps necessary to get
>> the opam install process working and documented on a Debian system.
>> Currently, the opam install appears to be broken. I can mostly stumble
>> through it because I have been doing code maintenance for 40 years. But it
>> is not simple enough for somebody to step through, and if something
>> upstream changes, it will not be obvious.
>>
>> In addition, some of the default locations and directories are much
>> different in the opam install. There is a fair amount of work that needs
>> to be done in order to make it run at startup, or run from a user other
>> than the one that did the install (so.. install it using the root account,
>> and suddenly, liquidsoap has root permissions.. scarey to a security guy).
>>
>> I am trying to work through issues as I run across them. But it is
>> getting pretty frustrating. At this stage, even if I wanted to create a
>> Debian package, it would not work.
>>
>> Nick
>>
>> On Wed, Apr 27, 2016 at 9:19 AM, Lars Kruse <[email protected]> wrote:
>>
>>> Hi Sahra,
>>>
>>>
>>> Am Tue, 26 Apr 2016 21:17:58 -0700
>>> schrieb Sarah Alawami <[email protected]>:
>>>
>>> > I always try and update to the latest and gratest in software. But
>>> since the
>>> > apt repositeries won't be updated to 1.2.0 I don't see myself using it
>>> at any
>>> > time.
>>>
>>> just for wording nitpicking: with "apt" repositories you probably refer
>>> to
>>> the Debian package repositories. "apt" ist just the most popular
>>> frontend for
>>> managing software on debian-based systems.
>>>
>>> Regarding "won't be updated": Romain simply clarified, that he will not
>>> actively participate in the maintainance of the Debian package.
>>> Obviously it is always preferable if upstream developers like him are
>>> involved
>>> in packaging. But the overwhelming majority of Debian packages is
>>> maintained by
>>> Debian Developers and Debian Maintainers and not upstream developers.
>>> Thus I am
>>> not worried that there will be further package updates.
>>>
>>> If anyone of you wants to participate in the packaging, I encourage you
>>> to take
>>> a look at the Debian Maintainer procedure ([1]). This takes much less
>>> effort
>>> that becoming a Debian Developer and it would surely be a great help for
>>> liquidsoap since a well maintained and up-to-date Debian package would
>>> obviously reduce the amount of mailing list support significantly :)
>>>
>>> Cheers,
>>> Lars
>>>
>>> [1] https://wiki.debian.org/DebianMaintainer
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Find and fix application performance issues faster with Applications
>>> Manager
>>> Applications Manager provides deep performance insights into multiple
>>> tiers of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free trial!
>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
>
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users