On Wed, 6 Jun 2001, Michael Smith wrote:> > $(CC) -o example example.c -L../src -lshout -L../../log -logg -lvorbis > > > >The question being, is it getting libshout from ../src or from /usr/lib? > > Try linking it with an explicit library (like > gcc -o example example.c ../src/libshout.a (plus other arguments that it > needs) > > That'll at least ensure that it's statically linked with the right library, > which is enough for testing purposes.hmmmm..So you don't use -l for static libs (I really know next to nothing about this stuff). I'lll give it a shot.> Your config files look fine. Are you sure you're telling icecast to use > this file?Oh yes. If I'm sure of nothing else, I'm sure of this. Since I'm running as a user on someone else's system, it complains a lot if I don't (can't open /usr/local/icecast bla bla bla). And the XML is displayed by the server upon startup, or in my case, is written to nohup.out.> Nothing else comes to mind.Lets hope it's the libs then.> Once you get this working, you might also like to try ices2, which now > does most of what it needs to for an initial release (apart from some > more extension playlist stuff) - it works well (at least for me). It even > has an (untested) oss input module for live encoding from line-in.Cool. This is mainly to establish that the server works. I'll probably try ices on my own system, but the server needs to be where the bandwidth is. Where is ices2 living, is it icecast CVS or bitkeeper? Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
>hmmmm..So you don't use -l for static libs (I really know next to nothing >about this stuff). I'lll give it a shot.You usually do use -l, but this just makes absolutely certain that it's directly linking in what we tell it to, instead of going through the search paths.>Cool. This is mainly to establish that the server works. I'll probably >try ices on my own system, but the server needs to be where the bandwidth >is. Where is ices2 living, is it icecast CVS or bitkeeper?Module 'ices' in icecast bitkeeper. It also relies on several of the same sub-modules as icecast - avl,log,net,thread, and timing. Michael --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wed, 6 Jun 2001, Jack Moffitt wrote:> It won't try to open anything under /usr/local unless you tell it to.urrrr..Yes it will. [geoff:~]$ ice2/ice2 FATAL: could not open /usr/local/icecast/logs/error.log for error logging FATAL: could not open /usr/local/icecast/logs/access.log for access logging FATAL: Could not start logging I'm pretty sure this and other defaults are defined in src/config.c or something like that. Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> Oh yes. If I'm sure of nothing else, I'm sure of this. Since I'm running > as a user on someone else's system, it complains a lot if I don't (can't > open /usr/local/icecast bla bla bla). And the XML is displayed by the > server upon startup, or in my case, is written to nohup.out.It won't try to open anything under /usr/local unless you tell it to. jack. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.