LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-24-2004, 03:22 AM   #1
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Rep: Reputation: 15
Icecast 2


Scenario:
I tried setting up IceCast 2 on my local PC running Windows 2000, Apache 2, MySQL and PHP 4 and did some live audio streaming. It did great. Now I want to try this on a Fedora Core 1 box and completely elliminate all traces of Micro$oft products in my PC.

The problem:
1. I know nothing about Linux (except for ls and cd).
2. Everything else follows...

Can somebody help with this (Pls. no Matian language again)...

Last edited by grayram; 11-24-2004 at 03:25 AM.
 
Old 11-24-2004, 03:39 AM   #2
hutuworm
Member
 
Registered: Aug 2004
Posts: 130

Rep: Reputation: 15
You may want to try the simple one: http://ample.sourceforge.net/
 
Old 11-24-2004, 03:43 AM   #3
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Does this one support streaming audio coming from external source? (e.g. microphone, mixer, etc.). Thanks
 
Old 11-24-2004, 03:43 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I think the first thing to actually do is try. Grab the source, and read the posts on installing applications in Linux. Or possibly there is an RPM out there for your system. From there, it's much easier to walk you through areas where you run into trouble.

That is of course if you do need the robustness of IceCast and something smaller won't suffice (for example, ample as mentioned above).

Cool
 
Old 11-24-2004, 04:51 AM   #5
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
sorry for asking...
 
Old 11-24-2004, 05:03 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Oh no, please, don't take my response as that. Rather I meant to give it a go, and if you run into problems, it'll be a lot easier to guide you through at that point.

If you need some in depth help with installing applications, there are multitudes of threads that give very good instructions, nonetheless, if you cannot understand them, let us know so we can clarify the portion you can't understand.

Cool
 
Old 11-24-2004, 09:43 AM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,627

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
FWIW IceCast 2.1.0 has RPM's available and is fairly straight forward to setup. I'd say give it a try, and let us know if you run into any problems.

--jeremy
 
Old 11-25-2004, 08:33 PM   #8
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks guys!

I'll give that a go then I'll get back whether successful or not.

Thanks again.
 
Old 11-25-2004, 08:48 PM   #9
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Hi again. Still no success.

This is what I did:

Code:
tar xvzf /path-to-tarball/icecast-1.3.7.tar.gz
It did OK. And then

Code:
 ./configure
creating cache ./config.cache
Building icecast-1.3.7...
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for uname... uname
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking your OS... Linux
checking for socket... yes
checking for connect... yes
checking for log... no
checking for log in -lm... yes
checking for gethostbyname... yes
checking for nanosleep... yes
checking whether to support readline... no
checking whether to use libwrap... no
checking whether to use crypted passwords... no
checking for pthread functions in standard libraries... no
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for sys/soundcard.h... yes
checking for machine/soundcard.h... no
checking for pthread.h... yes
checking for assert.h... yes
checking for sys/resource.h... yes
checking for math.h... yes
checking for signal.h... yes
checking for sys/signal.h... yes
checking for mcheck.h... yes
checking for malloc.h... yes
checking for history.h... no
checking for Python.h... no
checking for working const... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... (cached) void
checking for unix98 socklen_t... yeah
checking for strftime... yes
checking for vprintf... yes
checking for gettimeofday... yes
checking for strstr... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for rename... yes
checking for setpgid... yes
checking for basename... yes
checking for setsockopt... yes
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for umask... yes
checking for inet_addr... yes
checking for inet_aton... yes
checking for localtime_r... yes
checking for select... yes
checking for pthread_attr_setstacksize... yes
checking for inet_ntoa... yes
checking for mcheck... yes
checking for mallinfo... yes
checking for mtrace... yes
checking for sigaction... yes
checking for pthread_sigmask... yes
checking for lseek... yes
checking if libm is bundled with some lib we're already linking... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/authenticate/Makefile
creating conf/Makefile
creating templates/Makefile
creating conf/icecast.conf.dist
creating doc/Makefile
creating config.h
Ok, everything seems ok. Now do 'make'.
You can then run make install to install as you specified
[root@xeon icecast-1.3.7]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/icecast-1.3.7'
Making all in src
make[2]: Entering directory `/usr/local/src/icecast-1.3.7/src'
Making all in authenticate
make[3]: Entering directory `/usr/local/src/icecast-1.3.7/src/authenticate'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -Wall -ansi -pedantic -I../../src      -g -O2 -c basic.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -Wall -ansi -pedantic -I../../src      -g -O2 -c user.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -Wall -ansi -pedantic -I../../src      -g -O2 -c group.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -Wall -ansi -pedantic -I../../src      -g -O2 -c mount.c
rm -f libauthenticate.a
ar cru libauthenticate.a basic.o user.o group.o mount.o
ranlib libauthenticate.a
make[3]: Leaving directory `/usr/local/src/icecast-1.3.7/src/authenticate'
make[3]: Entering directory `/usr/local/src/icecast-1.3.7/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c client.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c admin.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c source.c
source.c: In function `find_mount_with_req':
source.c:591: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c connection.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c directory.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c commands.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c sock.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c threads.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c logtime.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c commandline.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c utility.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c avl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c avl_functions.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c match.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c relay.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c timer.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c alias.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c restrict.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c static.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c http.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c ice_string.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c dir.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c vars.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c memory.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c ice_resolv.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c item.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c pool.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -Wall -ansi -pedantic      -g -O2 -c interpreter.c
gcc  -g -O2  -o icecast  main.o client.o admin.o source.o connection.o log.o directory.o commands.o sock.o threads.o logtime.o commandline.o utility.o avl.o avl_functions.o match.o relay.o timer.o alias.o restrict.o static.o http.o ice_string.o dir.o vars.o memory.o ice_resolv.o item.o pool.o interpreter.o authenticate/libauthenticate.a   -lm  -lpthread
commands.o(.text+0x401e): In function `com_dump':
/usr/local/src/icecast-1.3.7/src/commands.c:2151: undefined reference to `errno'
collect2: ld returned 1 exit status
make[3]: *** [icecast] Error 1
make[3]: Leaving directory `/usr/local/src/icecast-1.3.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/icecast-1.3.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/icecast-1.3.7'
make: *** [all-recursive-am] Error 2
[root@xeon icecast-1.3.7]# make install
Making install in src
make[1]: Entering directory `/usr/local/src/icecast-1.3.7/src'
Making install in authenticate
make[2]: Entering directory `/usr/local/src/icecast-1.3.7/src/authenticate'
make[3]: Entering directory `/usr/local/src/icecast-1.3.7/src/authenticate'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/src/icecast-1.3.7/src/authenticate'
make[2]: Leaving directory `/usr/local/src/icecast-1.3.7/src/authenticate'
make[2]: Entering directory `/usr/local/src/icecast-1.3.7/src'
gcc  -g -O2  -o icecast  main.o client.o admin.o source.o connection.o log.o directory.o commands.o sock.o threads.o logtime.o commandline.o utility.o avl.o avl_functions.o match.o relay.o timer.o alias.o restrict.o static.o http.o ice_string.o dir.o vars.o memory.o ice_resolv.o item.o pool.o interpreter.o authenticate/libauthenticate.a   -lm  -lpthread
commands.o(.text+0x401e): In function `com_dump':
/usr/local/src/icecast-1.3.7/src/commands.c:2151: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [icecast] Error 1
make[2]: Leaving directory `/usr/local/src/icecast-1.3.7/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/icecast-1.3.7/src'
make: *** [install-recursive] Error 1
As we can see there are some Martian phonetics displayed after that. I did it right, right? Can somebody help me please decipher these codes into human-readable language?

Thanks.

Last edited by grayram; 11-25-2004 at 08:53 PM.
 
Old 11-26-2004, 05:09 AM   #10
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
When you get an error and it does not complete a successful 'make' a make install is not the way to continue If somebody somehow goofed when writing something, you could be installing things that didn't really end up being compiled, or compiled completely, and then you'd have yourself a ton of worthless files trollin around your system.

I'd say the way to go is probably grabbing either the CVS version, see if that undefined reference is fixed, or an older version where it may not exist, OR the better option to grab the RPM that Jeremy referred to as it would be much easier to install on your system.

Cool
 
Old 11-26-2004, 09:07 AM   #11
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,627

Rep: Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658Reputation: 2658
Also, the 1.3.x tree is no longer supported. You may want to grab 2.1.x and try again.

--jeremy
 
Old 11-26-2004, 09:08 PM   #12
grayram
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Fedora Core 5
Posts: 35

Original Poster
Rep: Reputation: 15
Now hear'ya all: ITS WORKING!!!!

Thanks to everyone who most patiently helped with my problem, no matter how stupid the questions are sometimes.

If you also have some problems dealing with live audio streaming or palnning to setup one, email or chat with me at jhourlad01@yahoo.com.

And of course, if you have real questions and want real answers POST IT HEAR AT LINUXQUESTIONS.ORG!!!

This site rules!!!!! Chow...
 
Old 11-27-2004, 01:54 AM   #13
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Woohoo!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
icecast Ju Deddo Koinu Linux - Software 2 07-19-2010 05:18 AM
IceCast webwolf70 Linux - Software 2 03-09-2005 09:00 PM
Icecast / Shoutcast Ratclaws Linux - Software 1 03-09-2005 09:19 AM
Icecast or Shoutcast? inkysplat Linux - Software 2 11-05-2003 03:20 AM
Icecast Canadian_2k2 Linux - Software 3 01-15-2003 09:05 AM


All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration