I thought I was getting close, after being able to compile playcd but now I'm stuck trying to compile globecomice.
The errors:
src/globecomice.c:145: parse error before '*' token
src/globecomice.c: In function 'playFile':
src/globecomice.c:153 'filename' undeclared (first use in this function)
src/globecomice.c:153 (for each undeclared identifier is reported only once for each function it appears in.)
src/globecomice.c: In function 'main':
src/globecomice.c:279: 'shout_conn_t' undeclared (first use in this function)
Icecast will not be supported (You can still use the jukebox via soundcard)
...trouble is I don't have a soundcard in this machine so was banking on getting the icecase server working...
I've gone through all the messages in the forum and can't see anything similar to the problem I'm having. Can anyone help?
For info, I'm running a freshly installed (solely for gjukebox) redhat 8.0.
Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Either they need to be installed (The package is probably named something like libshout1-dev), or they're in a funny place and gcc can't find them. I may be wrong, but the paths gcc checks by default seem to be hard-wired at compile-time. If
locate shout.h
turns up a match, but it's not compiling, you might have to change line 359 of scripts/install.pl from
if (system ("gcc -o scripts/globecomice src/globecomice.c -lshout")>>8) {
to
if (system ("gcc -o scripts/globecomice src/globecomice.c -I[path to directory containing shout directory] -lshout")>>8) {
(for example
if (system ("gcc -o scripts/globecomice src/globecomice.c -I/usr/local/include -lshout")>>8) {
) in order to get gcc to find the file.
(If you've recently installed new software, locate will not find it until you use
updatedb
to rebuild its database. It's usually run by cron daily, early in the morning.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All...
I thought I was getting close, after being able to compile playcd but now I'm stuck trying to compile globecomice.
The errors:
src/globecomice.c:145: parse error before '*' token
src/globecomice.c: In function 'playFile':
src/globecomice.c:153 'filename' undeclared (first use in this function)
src/globecomice.c:153 (for each undeclared identifier is reported only once for each function it appears in.)
src/globecomice.c: In function 'main':
src/globecomice.c:279: 'shout_conn_t' undeclared (first use in this function)
Icecast will not be supported (You can still use the jukebox via soundcard)
...trouble is I don't have a soundcard in this machine so was banking on getting the icecase server working...
I've gone through all the messages in the forum and can't see anything similar to the problem I'm having. Can anyone help?
For info, I'm running a freshly installed (solely for gjukebox) redhat 8.0.
Dave
Seems that gcc can't find your libshout headers.
Either they need to be installed (The package is probably named something like libshout1-dev), or they're in a funny place and gcc can't find them. I may be wrong, but the paths gcc checks by default seem to be hard-wired at compile-time. If
locate shout.h
turns up a match, but it's not compiling, you might have to change line 359 of scripts/install.pl from
if (system ("gcc -o scripts/globecomice src/globecomice.c -lshout")>>8) {
to
if (system ("gcc -o scripts/globecomice src/globecomice.c -I[path to directory containing shout directory] -lshout")>>8) {
(for example
if (system ("gcc -o scripts/globecomice src/globecomice.c -I/usr/local/include -lshout")>>8) {
) in order to get gcc to find the file.
(If you've recently installed new software, locate will not find it until you use
updatedb
to rebuild its database. It's usually run by cron daily, early in the morning.
Please see
http://sourceforge.net/forum/forum.php?thread_id=914431&forum_id=23922
for the fix.