Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46963 - icecast don't emerge USE="-oggvorbis"
Summary: icecast don't emerge USE="-oggvorbis"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-06 07:52 UTC by Bash
Modified: 2004-05-13 09:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2004-04-06 07:52:58 UTC
checking for inet_pton... yes
checking for xslt-config... /usr/bin/xslt-config
checking for xsltParseStylesheetFile... yes
checking for fgrep... grep -F
checking for ogg_sync_init in libogg... configure: error: must have Ogg Vorbis v1.0 installed!

!!! ERROR: net-misc/icecast-2.0.0 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1.USE="-oggvorbis" emerge icecast
2.
3.

Actual Results:  
icecast ebuild have optional 'oggvorbis' flag, but it is required for core of
icecast

---from docs---
* libxml2 - http://xmlsoft.org/downloads.html
* libxslt - http://xmlsoft.org/XSLT/downloads.html
* curl - http://curl.haxx.se/download.html (>= version 7.10 required)
  NOTE: icecast may be compiled without curl, however this will
        disable all Directory server interaction (YP).
* ogg/vorbis - http://www.vorbis.com/files (>= version 1.0 required)
---------------
Comment 1 Nick Hadaway 2004-04-06 21:10:23 UTC
You are absolutely right.  icecast-2.0.0.ebuild has been updated in portage.  Please let me know if you find any further problems.
Comment 2 Bash 2004-04-06 22:15:35 UTC
How about adding init.d script for starting icecast as service and adding new user icecast? It is becouse icecast can't start at root, and it must drop it's priv.

So, something like this in ebuild

pkg_setup() {
        enewgroup icecast XXX                                                                                                              
        enewuser icecast XXX /bin/false /dev/null icecast
}

And it is good idea to have in icecast.xml config
 <logdir>/var/log/icecast</logdir>
with
 chown root:icecast /var/log/icecast
 chmod 770 /var/log/icecast

at this time, i can't write more, becouse it is all need some testing :)
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-05-13 09:27:46 UTC
please file a new bug for more features