Installing Icecast and DarkIce.
-
- Black ninja
- Posts: 31
- Joined: 13 Nov 2012, 19:00
- Distribution: 1.2 - i486
- Location: USA
Installing Icecast and DarkIce.
Hello,
I am very new to this. I just downloaded Icecast (SlackBuilds Repository), and Darksnow (SlackBuilds Repository). what do I do now? I tried using source and following directions I found but it didnt work so I figured Id try this
I am running Live off of a usb stick also Not a install.
My goal is to setup a web stream, Which starts up automatically once its turned on.
I am very new to this. I just downloaded Icecast (SlackBuilds Repository), and Darksnow (SlackBuilds Repository). what do I do now? I tried using source and following directions I found but it didnt work so I figured Id try this
I am running Live off of a usb stick also Not a install.
My goal is to setup a web stream, Which starts up automatically once its turned on.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Installing Icecast and DarkIce.
Please enter into your user control panel and setup the part where you can enter which version of Porteus you are using. This will help us to identify the problem easier.
If you downloaded from the SBo repository does this mean you are building it from source? Running .Slackbuids file?
If not then try opening a terminal and running the name of the application and seeing what error you get.
If you downloaded from the SBo repository does this mean you are building it from source? Running .Slackbuids file?
If not then try opening a terminal and running the name of the application and seeing what error you get.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 31
- Joined: 13 Nov 2012, 19:00
- Distribution: 1.2 - i486
- Location: USA
Re: Installing Icecast and DarkIce.
First I tried doing ./configure,make,make install using the source that i found on icecast website. It looked liked it worked but after rebooting it was gone because it was on the usb and I dont know how to make it save it. next I decided to try to find a xzm which I didnt so I thought to try googling it then I saw someone suggested getting it from slackware, I found on slackware and downloaded and un tar.gz and saw a bunch of scripts I have no idea how to use. I am very new to this, I had it streaming perfect on a windows machiene but windows is very unreliable so I decided to give linux a shot. I really like this alot and I like how theres a community of people helping eachother make a (sorry for my language) kickass OS. What i am trying to do is just setup a web radio stream. Once the computer starts up it automatically starts streaming right away from the audio in, The reason I am using a USB stick is so if need be I can take it out and run windows without doing dual boot and whatever. Does anyone know how else to do this with something besides IceCast and DarkICE? I just heard of those two. I am willing to try anything and I appreciate anyone that can help me out.
Re: Installing Icecast and DarkIce.
Make an xzm module from this compiled source and place it into /mnt/sdXY/porteus/modules. You have to replace XY by device and partitions IDs, example: sda1.It looked liked it worked but after rebooting it was gone because it was on the usb and I dont know how to make it save it.
NjVFQzY2Rg==
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Installing Icecast and DarkIce.
Okay great! If ./configure appeared to work then follow this:
Now copy this module you created into the porteus/modules directory on your USB stick. It should now be activated at every boot.
If you downloaded the source from slackbuilds then follow this. Probably you downloaded two files.
1) icecast.tar.gz
2) icecast-x.x.x.tar.gz
One is the source code (number 2) and the other is the slackbuild files. You need to unpack the slackbuild files (number 1) so that you have a bunch of files such as icecast.Slackbuild, slack-desc. Then you need to have the source code (number 2) in the same directory. Then make sure the icecast.Slackbuild is executable.
Now run it
That should leave a file in /tmp/icecast-x.x-i486-1.txz
Turn this into a module and put it into your moduels folder as above.
3rd option is to try using Porteus Package Manager (slackbuild section) and search for icecast.
tar zxvf icecast.tar.gz
Code: Select all
# Configure the source
./configure --prefix=/usr
# Make
make
# Install into a temporary place
mkdir /tmp/fakeroot
make DESTDIR=/tmp/fakeroot install
# Make a module
dir2xzm /tmp/fakeroot /tmp/mymodulename.xzm
If you downloaded the source from slackbuilds then follow this. Probably you downloaded two files.
1) icecast.tar.gz
2) icecast-x.x.x.tar.gz
One is the source code (number 2) and the other is the slackbuild files. You need to unpack the slackbuild files (number 1) so that you have a bunch of files such as icecast.Slackbuild, slack-desc. Then you need to have the source code (number 2) in the same directory. Then make sure the icecast.Slackbuild is executable.
Code: Select all
chmod +x /path/tp/icecast.Slackbuild
Code: Select all
./icecast.Slackbuild
Turn this into a module and put it into your moduels folder as above.
Code: Select all
txz2xzm /tmp/icecast-x.x.i486-1.txz /tmp/icecast.xzm
tar zxvf icecast.tar.gz
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 31
- Joined: 13 Nov 2012, 19:00
- Distribution: 1.2 - i486
- Location: USA
Re: Installing Icecast and DarkIce.
I got the DarkICE to compile but now I get an error because it wouldnt create the darkeice.cfg file in /etc/. So what i did was just move the file there. How can i get this to save so i dont have to move it eachtime the computer restarts. Thanks everyone for all of your help, I really appreciate it!
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Installing Icecast and DarkIce.
There is a file called 'rootcopy' on your USB device. This is the easiest way to copy a few files to the live file system so they will be there every boot.How can i get this to save so i dont have to move it eachtime the computer restarts.
Code: Select all
cp -a --parents /etc/darkeice.cfg /mnt/sdXy/porteus/rootcopy
Code: Select all
mkdir /tmp/unpacked
xzm2dir /path/to/myfile.xzm /tmp/unpacked
cp --parents /etc/darkeice.cfg /tmp/unpacked
dir2xzm /tmp/unpacked /mnt/sdXy/porteus/modules/myfile.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 31
- Joined: 13 Nov 2012, 19:00
- Distribution: 1.2 - i486
- Location: USA
Re: Installing Icecast and DarkIce.
As i said I am new to this (beginner beginner), I just discovered the porteus package manager (lol), BEST idea EVER!. I found (slackware) icecast and (debian) darkice packages, I converted them to xzm and moved the modules to modules folder "/mnt/sda1/porteus/module/". My question is how do I save the settings files that are in etc and src? Thanks so much again.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Installing Icecast and DarkIce.
Ok, a few options here. If you like PPM you will love PSC (Porteus Settings Centre).
In PSC you will find what you need. After opening it, click on the little 'half green man' button at the top to enter the changes area. This area contains methods of saving sessions/files in Porteus.
1) You can save a single session after making your changes to ice application. This will create a module
2) You can use magic folders to monitor the changes in single folders. Add both config folders to it.
3) You can 'create a changes file' which will save ALL changes you make to porteus. At the end of the process you will be asked to add a line to your porteus.cfg file (in the boot folder) which can be done from within PSC. The line you should add is: changes=/mnt/sda1/changes.dat (or whever you stored the save file you created).
Good luck
In PSC you will find what you need. After opening it, click on the little 'half green man' button at the top to enter the changes area. This area contains methods of saving sessions/files in Porteus.
1) You can save a single session after making your changes to ice application. This will create a module
2) You can use magic folders to monitor the changes in single folders. Add both config folders to it.
3) You can 'create a changes file' which will save ALL changes you make to porteus. At the end of the process you will be asked to add a line to your porteus.cfg file (in the boot folder) which can be done from within PSC. The line you should add is: changes=/mnt/sda1/changes.dat (or whever you stored the save file you created).
Good luck
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 31
- Joined: 13 Nov 2012, 19:00
- Distribution: 1.2 - i486
- Location: USA
Re: Installing Icecast and DarkIce.
Ok so I got icecast working but I can not get darkice to work, I keep getting a "DarkIce: LameLibEncoder.cpp:75: lame lib opening underlying sink error [0]" error unfortunetly. I was wondering if anyone could help me get this working?
darkice xzm: http://phill42083.webege.com/darkice-1.0-i486-1.xzm
darksnow (darkice GUI) xzm: http://phill42083.webege.com/darksnow-0.6.1-i386-1.xzm
darkice xzm: http://phill42083.webege.com/darkice-1.0-i486-1.xzm
darksnow (darkice GUI) xzm: http://phill42083.webege.com/darksnow-0.6.1-i386-1.xzm
-
- Black ninja
- Posts: 31
- Joined: 13 Nov 2012, 19:00
- Distribution: 1.2 - i486
- Location: USA
Re: Installing Icecast and DarkIce.
Finally! I got it to work. But only through darksnow. If try without I get the Lamelib error that I wrote in earlier post