Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

n00b question: how do I update a rpm to kh ver?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
PPNSteve



Joined: 15 Feb 2009
Posts: 8

PostPosted: Sat Mar 01, 2014 1:23 am    Post subject: n00b question: how do I update a rpm to kh ver? Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Mar 01, 2014 2:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
PPNSteve



Joined: 15 Feb 2009
Posts: 8

PostPosted: Sat Mar 01, 2014 2:18 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Mar 01, 2014 2:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
PPNSteve



Joined: 15 Feb 2009
Posts: 8

PostPosted: Sat Mar 01, 2014 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message
PPNSteve



Joined: 15 Feb 2009
Posts: 8

PostPosted: Sat Mar 01, 2014 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Mar 02, 2014 1:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber