View previous topic :: View next topic |
Author |
Message |
PPNSteve
Joined: 15 Feb 2009 Posts: 8
|
Posted: Sat Mar 01, 2014 1:23 am Post subject: n00b question: how do I update a rpm to kh ver? |
|
|
OK need to run the latest KH branch for lic reasons and am currently running the latest RPM based icecast 2.3.3..
I want to know, step by step, how do I update to the KH build ??
thanks.
centOS 6 64bit |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 01, 2014 2:04 am Post subject: |
|
|
Because distributions can vary a lot, I don't make prebuilt packages for linux, some people may do them for some platforms, not sure if any do rpms though. To build from source though is not a big problem
download and unpack the source package (website or github)
./configure
make
make install (requires write access to install, so root typically)
you may need to install the usual pre-requisites for building from source, like the libxslt devel libcurl devel etc, do that before the configure stage.
karl. |
|
Back to top |
|
|
PPNSteve
Joined: 15 Feb 2009 Posts: 8
|
Posted: Sat Mar 01, 2014 2:18 am Post subject: |
|
|
Ok but how will that effect the currently installed RPM version of icecast?
I guess I'm asking will it overwrite / update)upgrade) it or ??
what about auto-starting it, configuring it, etc
(the rpm ver requires the same devel builds too) |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 01, 2014 2:28 am Post subject: |
|
|
I'm not sure where you have icecast installed, the default location is under /usr/local, so /usr/local/bin is where the binary is installed. If your existing setup is not there then you will have no conflict, just make sure you start the correct one
The binary can be overwritten as I've made the args and xml parsing backward compatible, just be careful about any customised xslt files you may of altered.
karl. |
|
Back to top |
|
|
PPNSteve
Joined: 15 Feb 2009 Posts: 8
|
Posted: Sat Mar 01, 2014 2:56 am Post subject: |
|
|
root@svr4 [~]# which icecast
/usr/bin/icecast
so if I overwrite the binary (its all default icecast 2.3.3) it should all just work, right?
auto-starting when server reboots, my existing .xml config file, etc. right?
if the default is /usr/local/bin how do I make it install in /usr/bin thus overwriting the existing one?
or should I remove the rpm first (how?) and just build it using the defaults? |
|
Back to top |
|
|
PPNSteve
Joined: 15 Feb 2009 Posts: 8
|
Posted: Sat Mar 01, 2014 9:49 am Post subject: |
|
|
I have successfully build and replaced the orig ver with the KH build.
Thanks for the help Karl, hope to hear more from you soon om your next updates. etc. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Mar 02, 2014 1:25 am Post subject: |
|
|
glad you got it sorted, in answer to the question, you could just copy the binary from src (as icecast is self contained) or use the ./configure --help options like --bindir=
karl. |
|
Back to top |
|
|
|