Did you move the liquidsoap binary to /usr/bin/ (I think that is normally
in your path).  The opan install leaves it buried deep under the install
directory.

Here are the notes I took when I did the install on a Pi.  Note the part
about updating bashrc and logging out and back in.



Well, I figured out how to get it compiled on the Raspberry Pi 2 (the
process will probably work on a B+, but I do not have a spare one of those
to try it on).

Here is what I did.  A number of steps, but pretty simple, and all worked
'out of the box'.

1) I started with 2015-11-21-raspbian-jessie-lite ( didn't need the GUI,
and office etc.)
2) SSH in as user 'pi' (if you have a keyboard and monitor attached, that
will work just as well).
3) sudo raspi-config at minimum you will need to expand the file system to
the whole SD card.  And you SHOULD change the password.
4) sudo aptitude (I like to use aptitude instead of apt-get just because it
is easier to search, and has a simple menu).
5) u (lowercase u) will update all the repository information
6) U (uppercase u) will make anything that is upgradeable.
7) g to review the upgrades
8) g (again) to apply the upgrades.

Cool.. now we have an up to date raspbian jessie system. On to installing
liquidsoap.  There are a number of debian packages that need to be
installed befor OPAM will work

1) sudo aptitude
2) a slash (/) will bring up the aptitude search.
3) search for *opam* (you will find opam-doc and opam) install them both
(hit the plus (+) on each line
4) search for *camlp4-extra* and + it
5) search for *libpcre-ocaml-dev* + it
6) search for *libmad-ocaml-dev* + it
7) search for* m4* (you will find a bunch you do NOT want.. you want m4-doc
and m4 + those two.
8) press g to review
9) press g again to apply..  get a coffee (or beverage of choice).  This
will take about 15-30 minutes.

Eventually, you will get a message 'press return to continue'..  do that, q
to quit aptitude, and y to really quit.

whew....

now make a backup copy of .bashrc (note.. there is a period at the
beginning of the name).
cp .bashrc NoOPAMbashrc
Technically, this is optional, but OPAM init will need to add to the PATH
environment and that can be confusing if you try to run liquidsoap under a
different user.

Now set up opam

*opam init*

this will do a 'bunch of stuff' and eventually ask you if you want to
update .bashrc  (you MUST reply 'y' - the default is N).

logout and log back in to pick up the changes to your environment.

then it is simply

*opam install liquidsoap*

once that completes, you should be able to just type liquidsoap --version
and see the beauty...

eventually, we will need to move liquidsoap from deep inside the ~.opam
directory to a more normal directory to put it in the usual path.  but this
is enough to work with as long as you are running under the user pi.

Your milage may vary, but figure about 2 hours from writing the SD card to
running liquidsoap (which isn't too bad).

Nick


On Sun, Apr 3, 2016 at 4:08 PM, Sarah Alawami <[email protected]> wrote:

> Hello to all. I installed via opam liquidsoap 1.2. The installation went
> good, or seemed to, except I get the command not found when trying to enter
> any liquidsoap commands.  For what it's worth here is my messages log file.
> https://www.dropbox.com/s/uf3bt4lbsreu3fs/messages.txt?dl=1
>
> I don't remember receiving any error messages  during install, but I don't
> also remember seeing all of the plugins the apt-get version instlled to
> allow playback of mp3, wav and aac files. did I brake it?
>  If the link brakes change it to a 0 then see if you can still dl the text
> file.
>
> hope that helps a bit.
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to