View previous topic :: View next topic |
Author |
Message |
ibuza
Joined: 03 Nov 2009 Posts: 6
|
Posted: Wed Nov 04, 2009 3:16 am Post subject: |
|
|
I got an compilation error with that source code:
Code: |
slave.c:1053:26: error: macro "yp_initialize" passed 1 arguments, but takes just 0
slave.c: In function 'slave_startup':
slave.c:1053: error: 'yp_initialize' undeclared (first use in this function)
slave.c:1053: error: (Each undeclared identifier is reported only once
slave.c:1053: error: for each function it appears in.)
make[3]: *** [slave.o] Error 1
make[3]: Leaving directory `/root/download/icecast-2.3.2-kh17e/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/download/icecast-2.3.2-kh17e/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/download/icecast-2.3.2-kh17e' |
so I commented out the line 1053 in slave.c:
//yp_initialize (config);
Than it compiled but I still had no success with the dumbfile/strftime-issue. It took me a while to figure out that differences between the debian file structure and the file structure used by your code cause my troubles. I now got it to work.
Maybe could give an configuration example for the dumbfile/strftime in the CHANGELOG file. That would make things easier for people that at least got their file structure right...
Thanks for your support!
Last edited by ibuza on Thu Nov 05, 2009 8:11 pm; edited 1 time in total |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Nov 04, 2009 4:54 am Post subject: |
|
|
I guess you have yp disabled to trigger that. I will need to fix that so a warn message is still logged. thanks for letting me know.
I'll also add something into the xml for strftime, to be honest I put it in the back of my mind as I wasn't sure if I was going to keep it like that.
karl. |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Mon Jul 12, 2010 9:58 pm Post subject: |
|
|
HI guys. Is this now a built in feature or do i have to install a patch to get the timestamp feature? I clicked the link to the patch above but it's no longer available.
As I have different DJ's connecting to broadcast every hour I'd love to have a different dump file for each of them rather than having to manually download it, chop it up then upload it to the archives. Having this time stamp feature would save so much work! |
|
Back to top |
|
|
ibuza
Joined: 03 Nov 2009 Posts: 6
|
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Wed Jul 14, 2010 9:08 am Post subject: |
|
|
As I have my server up, running and broadcasting, is it simple a case of compiling that again and it will update it to work with the time stamping?
I hope it's its easy |
|
Back to top |
|
|
ibuza
Joined: 03 Nov 2009 Posts: 6
|
Posted: Wed Jul 14, 2010 9:34 am Post subject: |
|
|
junglised wrote: |
As I have my server up, running and broadcasting, is it simple a case of compiling that again and it will update it to work with the time stamping? |
If your current installation is based on the original source code it will be that easy.
I however had the problem that I used originally the Debian package of icecast which uses a different file structure. |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Wed Jul 14, 2010 9:37 am Post subject: |
|
|
I complied mine from source so that's good news. I'll give it a go now. Hopefully I wont take everything offline haha
Thanks for the help |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Wed Jul 14, 2010 10:30 am Post subject: |
|
|
that was way too easy! It seems to be using more ram than before but only a few meg. My server would sit at around 28 or 32 meg before, now it's sitting at 36 meg |
|
Back to top |
|
|
ibuza
Joined: 03 Nov 2009 Posts: 6
|
Posted: Wed Jul 14, 2010 11:02 am Post subject: |
|
|
junglised wrote: |
It seems to be using more ram than before but only a few meg. My server would sit at around 28 or 32 meg before, now it's sitting at 36 meg |
Are you sure? Did you change something else? I can't imagine that those little changes to the code make such an difference on the memory usage. |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Wed Jul 14, 2010 12:08 pm Post subject: |
|
|
for some reason webmin left an extra process running when i terminated it. It's down to 18mb now with icecast running. timestamping works a treat too. Solves a major headache. We we're going to run a mini server at home that was scheduled to record the stream at certain times when DJs were connected, then upload it to the archive. now we can simply move the stream to the archive folder on the server.
Thanks again! |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Sun Mar 11, 2012 9:32 pm Post subject: |
|
|
Digging up an old thread I know.. How do I apply the patch in the post above?
I've copied the post into a file, run the command "patch < /icepatch" but then it asks for the location of the file to patch. When I type in /usr/bin/icecast I get the following error:
patch: **** malformed patch at line 5: http_parser_t *parser, const char *mount, format_type_t type, |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Mar 11, 2012 10:27 pm Post subject: |
|
|
the tar.gz link above is not a patch, you unpack it and rebuild the source, no patching required.
karl. |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Sat Apr 14, 2012 9:55 am Post subject: |
|
|
I compiled the timestamp source above. Icecast was working fine, admin interface was fine, but the timestamp wasnt working.
I ram yum remove icecast to remove the original version, then compiled the timestamp version again. This time timestamp was showing on the dumped file, however the admin interface is now showing "Could not parse XSLT file file". |
|
Back to top |
|
|
junglised
Joined: 30 Jun 2010 Posts: 25 Location: Wales, UK
|
Posted: Sat Apr 14, 2012 10:23 am Post subject: |
|
|
I've done a completely fresh OS install, installed icecast and I'm getting the same "Could not parse XSLT file" error. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Apr 14, 2012 3:25 pm Post subject: |
|
|
check your error log, I suspect it's either incorrect paths or permissions.
karl. |
|
Back to top |
|
|
|