Wondering if anyone else is having this problem compiling the latest version in CVS. autogen.sh runs fine, configure runs fine, make fails with the following: gcc -DPACKAGE=\"icecast\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 -DHAVE_IPV6=1 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -DCHUID=1 -DCHROOT=1 -I. -I. -I./net -I./thread -I./avl -I./httpp -I./log -I./timing -g -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/include -I/usr/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/include -I/include -I/include -c main.c In file included from xslt.h:5, from main.c:29: /usr/include/libxslt/xslt.h:51: syntax error before `extern' /usr/include/libxslt/xslt.h:58: syntax error before `extern' /usr/include/libxslt/xslt.h:65: syntax error before `extern' /usr/include/libxslt/xslt.h:72: syntax error before `extern' make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/bryan/src/icecast2/icecast/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bryan/src/icecast2/icecast/src' make: *** [all-recursive] Error 1 Using: RedHat 7.2 GCC 2.96 libxslt-1.0.7 libxml-1.8.14 libxml2-2.4.10 It appears to be having a problem with "LIBXSLT_PUBLIC". Any ideas? -bryan --- >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.
Get current CVS again, this has been fixed ... or change the following yourself in src/Makefile.am: -LIBS = @LIBS@ -lxslt -lpthread @SOCKET_LIBS@ @XML_LIBS@ @OGG_LIBS@ @VORBIS_LIBS@ -CFLAGS = -g @CFLAGS@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ +LIBS = @LIBS@ @XSLT_LIBS@ -lpthread @SOCKET_LIBS@ @XML_LIBS@ @OGG_LIBS@ @VORBIS_LIBS@ +CFLAGS = -g @CFLAGS@ @XML_CFLAGS@ @XSLT_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ Run autogen.sh again after that. <p>Moritz P.S.: The latest change makes fileserve actually work, so getting CVS from now should be a good idea anyways. Bryan Jay Miller wrote:> > Wondering if anyone else is having this problem compiling the latest > version in CVS. autogen.sh runs fine, configure runs fine, make fails > with the following: > > gcc -DPACKAGE=\"icecast\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 > -DHAVE_IPV6=1 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -DCHUID=1 -DCHROOT=1 > -I. -I. -I./net -I./thread -I./avl -I./httpp -I./log -I./timing -g > -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE > -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/include > -I/usr/include -I/usr/include/libxml2/libxml -I/usr/include/libxml2 > -I/include -I/include -I/include -c main.c > In file included from xslt.h:5, > from main.c:29:--- >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.
Bryan Jay Miller wrote:> Nope. First I tried adding the text you mentioned to Makefile.am. > autogen.sh and configure went OK. But when I tried to compile, I got > > Makefile:369: *** missing separator. Stop. > > I even deleted my entire source tree and downloaded all the fresh code > from CVS. Same problem. autogen.sh = OK, configure = OK, same compile > error as before. ?Hm, I'm running out of ideas ... I was successful with pretty current libxslt/libxml2, though. I just checked, I had to install libxml2 v2.4.23 and libxslt v1.0.19 prior installing Icecast2 in that shell's homedir. Maybe upgrading those helps? Icecast2 doesn't use libxml1, btw. Other than that, do you get the same result when you point it to the correct xml2-config and xslt-config during ./configure (i.e. autogen.sh, which passes those parameters on to the configure script), just in case you don't do that already? <p>Moritz --- >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.
Nope. First I tried adding the text you mentioned to Makefile.am. autogen.sh and configure went OK. But when I tried to compile, I got Makefile:369: *** missing separator. Stop. I even deleted my entire source tree and downloaded all the fresh code from CVS. Same problem. autogen.sh = OK, configure = OK, same compile error as before. ? -bryan --- >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.