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 

[Installation] Dreamhost Private server - cant ./configure?

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



Joined: 03 Feb 2010
Posts: 4

PostPosted: Wed Feb 03, 2010 4:47 pm    Post subject: [Installation] Dreamhost Private server - cant ./configure? Reply with quote

Ok, I'll try to keep this as brief as possible.

Following a request from one of my shoutcast DJ's, I am attempting to setup an icecast server on a Dreamhost Private Server. He has got into some quite advanced broadcasting / live mixing stuff using a program called Traktor, but unfortunately this program can only broadcast to icecast, thus the request. I also Understand that icecast can broadcast video streams, so it's something I am interested in experimenting with myself anyway.

I am however completely new to icecast, and I've got myself stuck at the very first hurdle. Here is where I'm at:


  • Downloaded the .tar source file, extracted, and uploaded to a folder on my dreamhost server. Not sure what the other version is about, because I've never heard of "RPM" before (what is that? what is it used for? should I be using that version instead?)

  • SSH'd into my server

  • CD'd to the directory I uploaded to.



The next thing the readme says to do is type "./configure". When I do this, I get the following message come back from the console:

Code:
[ps10807]$ ./configure
-bash: ./configure: Permission denied


Reading the readme file a paragraph on, I find this:

Quote:
A sample config file will be placed in /usr/local/etc (on UNIX) or in
the current working directory (on Win32) and is called icecast.xml


This would explain it, seeing as /usr/local/etc is a restricted area.

So here is my question - is there a way to specify where this goes? preferably in the folder I have set up for it. Better still, is there a precompiled file and config I can simply upload to my server and run in the same way that I do with shoutcast? What exactly does this process I'm trying to follow drop out? (a neat little file I can just run, or does this do a whole installation thing?). Hell, is icecast even what we should be looking at? A little help here guys Razz
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Feb 03, 2010 5:21 pm    Post subject: Reply with quote

The configure script is there is check for the various development packages installed on your system. There's no reason why the script is not executable, you can check that by ls -l configure and see if the x bit is enabled for the user building icecast. It should be enabled unless someone has changed it, if not change it with the chmod utility.

It's also possible that the administrator of the system has made it so that running programs of your own is not allowed, that is something you'll have to discuss with your hosting firm.

Regarding RPM, redhat package management. A packaging file format used for distributions. Typically used to provide pre-built packages ie no building from source, so avoids the requirement for the development packages to be installed.

icecast assumes a prefix of /usr/local, but you can supply an alternative prefix to configure (check configure --help)

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
virus52



Joined: 03 Feb 2010
Posts: 4

PostPosted: Wed Feb 03, 2010 6:33 pm    Post subject: Reply with quote

ok, thank you Smile

I altered the chmod settings, and indeed it does run now. Now I have a new problem.

When I do the ./configure, it does a load of stuff (too much for the Putty console to keep track of). Right at the end it says:

Code:
configure: error: XSLT configuration could not be found


trying the make command tells me:

Code:
[ps10807]$ make
make: *** No targets specified and no makefile found.  Stop.


I also tried using the prefix thing you mentioned (after looking at the configure's --help information). I got the same results.

I'm so confused right now >.<
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Feb 03, 2010 8:19 pm    Post subject: Reply with quote

as I previously said, the configure script checks to see what development packages you have installed. Based on your posting, it looks like you are missing the libxslt development package.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
virus52



Joined: 03 Feb 2010
Posts: 4

PostPosted: Thu Feb 04, 2010 1:28 pm    Post subject: Reply with quote

>.< doh! /slaps_forehead

Sorry, I was having a blond moment Razz Ok, I'll get that libxslt package installed and try it again. Will post back results / further questions as they arise Wink
Back to top
View user's profile Send private message
virus52



Joined: 03 Feb 2010
Posts: 4

PostPosted: Thu Feb 04, 2010 10:22 pm    Post subject: Reply with quote

ok, this is where I'm at now:


  • Downloaded the libxslt source, extracted and uploaded to my server
  • Followed the instructions found here: http://misterblue.com/wwpp/archives/20080302-adding-xsltproc-to-dreamhost
  • What it pumped out was a binary called xsltproc in a folder called "bin" at the root of my server - YAY! Very Happy
  • CD into the icecast source directory, and tried the ./configure again
  • Still cant find XSLT configuration... :S


So what do I do now? Do I need to launch the xsltproc binary? (if so, what options do I need?) Or do I need to do something else to point the icecast's ./configure at the right place?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 04, 2010 10:34 pm    Post subject: Reply with quote

Do you need to build everything from source or can you install (or get installed) some of these development packages?

libxsl, libxml2, libcurl are all dependencies that are available in pre-built form. If you can install the libxslt source in the root of your server then can you not install prebuilt distribution packages?

the configure script checks for xslt-config to find out where you have installed the libs and includes.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pezmc



Joined: 08 Feb 2010
Posts: 9

PostPosted: Mon Feb 08, 2010 3:54 pm    Post subject: Reply with quote

I am trying to do exactly the same, can you please keep me updated as to how you are getting on?

Are there no icecast binaries?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 08, 2010 6:16 pm    Post subject: Reply with quote

icecast binaries are available but those will depend on the distribution you have, whether you need rpm or deb etc

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pezmc



Joined: 08 Feb 2010
Posts: 9

PostPosted: Mon Feb 08, 2010 7:23 pm    Post subject: Reply with quote

Looking for a deb I am Smile
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 08, 2010 7:39 pm    Post subject: Reply with quote

I'm sure you'll find a package called icecast2 in the repositories for debian

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pezmc



Joined: 08 Feb 2010
Posts: 9

PostPosted: Mon Feb 08, 2010 7:50 pm    Post subject: Reply with quote

Do you have a link to an actual binary?
Dreamhost users don't have permissions to use aptitude.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 08, 2010 8:19 pm    Post subject: Reply with quote

you should be able to use the debian.org website to find the packages. eg
http://packages.debian.org/search?keywords=icecast2&searchon=names&suite=stable&section=all

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 -> Icecast Server 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