Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] Compiling Icecast2 on RedHat9 or maybe another Linux
Compiling programs can be a daunting task, it shouldnt be but thats how linux is when starting out. The configure script is merely looking for xslt-config you can do the following locate xslt-config it should be under /usr/bin/ If it isnt get a copy of libxslt on rpmfind.net or do the following from the command prompt wget ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/libxslt-1.0.27-3.i386.rpm wget ftp://rpmfind.net/linux/redhat/9/en/os/i386/SRPMS/libxslt-1.0.27-3.src.rpm then rpm -ivh libxslt-1.0.27-3.i386.rpm rpm -ivh libxslt-1.0.27-3.src.rpm further more to get a list of compile time options you can type ./configure ---help to get a full list of flags to enter, now run the autogen.sh script again, or you can do the following ./configure --prefix=/usr/local/icecast2 --with-xslt-config=/usr --with-curl =/usr --with-ogg=/usr assuming all libs are installed under /usr and not /usr/local not sure what the default location autogen.sh looks for all libs, but play with it and im sure you will eventualy get it. Hope that helps <p><p><p><p>Dave St John Mediacast1 Administration ----- Original Message ----- From: "Macsym" <macsym69@yahoo.fr> To: <icecast-dev@xiph.org> Sent: Saturday, December 06, 2003 9:45 PM Subject: [icecast-dev] Compiling Icecast2 on RedHat9 or maybe another Linux <p>> Hi Dave,> > I am now trying to compile Icecast2 under RedHat9. I get some errors whenI> try to ./configure so the make file is not created. Can you take a look at > the attached file and tell me what is wrong? I tried to compile it on > another RedHat9 computer but I got the same results... > I think I will dedicate one computer ONLY to icecast2. In this case, could > you advise me the best Linux distribution to work with Icecast2? I need a > distribution quite easy to install... > > Thank you very much in advance, > > MAX > > -----Original Message----- > From: owner-icecast-dev@xiph.org [mailto:owner-icecast-dev@xiph.org] On > Behalf Of Macsym > Sent: Sunday, December 07, 2003 12:10 AM > To: icecast-dev@xiph.org > Subject: RE: [icecast-dev] Compiling Icecast2 on Windows > > Hi Dave, > > I'll definitely compile it on RedHat9 instead of Windows... I am currently > re-installing RH. I'll post all errors (if I get some) in my next message. > > Thanks again, > > MAX > > -----Original Message----- > From: owner-icecast-dev@xiph.org [mailto:owner-icecast-dev@xiph.org] On > Behalf Of Dave St John > Sent: Sunday, December 07, 2003 12:03 AM > To: icecast-dev@xiph.org > Subject: Re: [icecast-dev] Compiling Icecast2 on Windows > > Its easier to compile it on linux than windows, you need MS Visual studio6> for windows > then you need to get all the associated libraries for windows, yet evenmore> work. > > Icecast2 specific you need the following > libcurl > http://curl.haxx.se/libcurl/ download > > http://curl.haxx.se/download/curl-7.10.8.tar.gz > libxml,libxlst > take a look over at rpmfind.net for the latest rh9 > specific, be sure to grab the src rpms as well. > > then you will need to checkout libshout, vorbis, ogg from xiph repository. > compile and install ogg first, then vorbis, then libshout. > > You should then be good to go for autogen.sh under the icecast2 cvscheckout> directory. > > If you run into compile problems, post the errors you get. > Hope that helps > > > > > Dave St John > Mediacast1 Administration > ----- Original Message ----- > From: "Macsym" <macsym69@yahoo.fr> > To: <icecast-dev@xiph.org> > Sent: Saturday, December 06, 2003 2:31 PM > Subject: [icecast-dev] Compiling Icecast2 on Windows > > > > Hi, > > > > I got some problems to compile Icecast2 under Redhat9. Can somebody > explain > > me step by step what do I have to do to compile Icecast2 under WINDOWS?Is> > there an online tutorial? What compiler do I have to use? > > > > Thanks in advance, > > > > MAX > > > > > > --- >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-dev-request@xiph.org' > > containing only the word 'unsubscribe' in the body. No subject isneeded.> > Unsubscribe messages sent to the list will be ignored/filtered. > > > > > --- >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-dev-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. > > > --- >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-dev-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. ><p>--- >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-dev-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.
Macsym
2004-Aug-06 14:57 UTC
[icecast-dev] Compiling Icecast2 on RedHat9 or maybe another Linux
Hi Dave, I am now trying to compile Icecast2 under RedHat9. I get some errors when I try to ./configure so the make file is not created. Can you take a look at the attached file and tell me what is wrong? I tried to compile it on another RedHat9 computer but I got the same results... I think I will dedicate one computer ONLY to icecast2. In this case, could you advise me the best Linux distribution to work with Icecast2? I need a distribution quite easy to install... Thank you very much in advance, MAX -----Original Message----- From: owner-icecast-dev@xiph.org [mailto:owner-icecast-dev@xiph.org] On Behalf Of Macsym Sent: Sunday, December 07, 2003 12:10 AM To: icecast-dev@xiph.org Subject: RE: [icecast-dev] Compiling Icecast2 on Windows Hi Dave, I'll definitely compile it on RedHat9 instead of Windows... I am currently re-installing RH. I'll post all errors (if I get some) in my next message. Thanks again, MAX -----Original Message----- From: owner-icecast-dev@xiph.org [mailto:owner-icecast-dev@xiph.org] On Behalf Of Dave St John Sent: Sunday, December 07, 2003 12:03 AM To: icecast-dev@xiph.org Subject: Re: [icecast-dev] Compiling Icecast2 on Windows Its easier to compile it on linux than windows, you need MS Visual studio 6 for windows then you need to get all the associated libraries for windows, yet even more work. Icecast2 specific you need the following libcurl > http://curl.haxx.se/libcurl/ download > http://curl.haxx.se/download/curl-7.10.8.tar.gz libxml,libxlst > take a look over at rpmfind.net for the latest rh9 specific, be sure to grab the src rpms as well. then you will need to checkout libshout, vorbis, ogg from xiph repository. compile and install ogg first, then vorbis, then libshout. You should then be good to go for autogen.sh under the icecast2 cvs checkout directory. If you run into compile problems, post the errors you get. Hope that helps <p><p><p>Dave St John Mediacast1 Administration ----- Original Message ----- From: "Macsym" <macsym69@yahoo.fr> To: <icecast-dev@xiph.org> Sent: Saturday, December 06, 2003 2:31 PM Subject: [icecast-dev] Compiling Icecast2 on Windows <p>> Hi,> > I got some problems to compile Icecast2 under Redhat9. Can somebodyexplain> me step by step what do I have to do to compile Icecast2 under WINDOWS? Is > there an online tutorial? What compiler do I have to use? > > Thanks in advance, > > MAX > > > --- >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-dev-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. ><p>--- >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-dev-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. <p>--- >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-dev-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. -------------- next part -------------- [root@localhost icecast-2.0-beta-2]# ./configure --prefix=/usr/local/icecast2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... (cached) yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking for nanosleep... yes checking for poll... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for socklen_t... yes checking for va_copy... va_copy checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for library containing sethostent... none required checking for library containing getnameinfo... none required checking for endhostent... yes checking for getaddrinfo... yes checking for inet_aton... yes checking for writev... yes checking for struct sockaddr_storage.ss_family... yes checking for inet_pton... yes checking for xslt-config... no configure: error: XSLT configuration could not be found [root@localhost icecast-2.0-beta-2]#
Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] Compiling Icecast2 on RedHat9 or maybe another Linux
Btw if it burped on libxslt, you probably want to make sure you have libxml as well Just follow the same routine you did with libxslt wget ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/libxml-1.8.17-8.i386.rpm wget ftp://rpmfind.net/linux/redhat/9/en/os/i386/SRPMS/libxml-1.8.17-8.src.rpm <p><p><p><p><p>Dave St John Mediacast1 Administration ----- Original Message ----- From: "Macsym" <macsym69@yahoo.fr> To: <icecast-dev@xiph.org> Sent: Saturday, December 06, 2003 9:45 PM Subject: [icecast-dev] Compiling Icecast2 on RedHat9 or maybe another Linux <p>> Hi Dave,> > I am now trying to compile Icecast2 under RedHat9. I get some errors whenI> try to ./configure so the make file is not created. Can you take a look at > the attached file and tell me what is wrong? I tried to compile it on > another RedHat9 computer but I got the same results... > I think I will dedicate one computer ONLY to icecast2. In this case, could > you advise me the best Linux distribution to work with Icecast2? I need a > distribution quite easy to install... > > Thank you very much in advance, > > MAX > > -----Original Message----- > From: owner-icecast-dev@xiph.org [mailto:owner-icecast-dev@xiph.org] On > Behalf Of Macsym > Sent: Sunday, December 07, 2003 12:10 AM > To: icecast-dev@xiph.org > Subject: RE: [icecast-dev] Compiling Icecast2 on Windows > > Hi Dave, > > I'll definitely compile it on RedHat9 instead of Windows... I am currently > re-installing RH. I'll post all errors (if I get some) in my next message. > > Thanks again, > > MAX > > -----Original Message----- > From: owner-icecast-dev@xiph.org [mailto:owner-icecast-dev@xiph.org] On > Behalf Of Dave St John > Sent: Sunday, December 07, 2003 12:03 AM > To: icecast-dev@xiph.org > Subject: Re: [icecast-dev] Compiling Icecast2 on Windows > > Its easier to compile it on linux than windows, you need MS Visual studio6> for windows > then you need to get all the associated libraries for windows, yet evenmore> work. > > Icecast2 specific you need the following > libcurl > http://curl.haxx.se/libcurl/ download > > http://curl.haxx.se/download/curl-7.10.8.tar.gz > libxml,libxlst > take a look over at rpmfind.net for the latest rh9 > specific, be sure to grab the src rpms as well. > > then you will need to checkout libshout, vorbis, ogg from xiph repository. > compile and install ogg first, then vorbis, then libshout. > > You should then be good to go for autogen.sh under the icecast2 cvscheckout> directory. > > If you run into compile problems, post the errors you get. > Hope that helps > > > > > Dave St John > Mediacast1 Administration > ----- Original Message ----- > From: "Macsym" <macsym69@yahoo.fr> > To: <icecast-dev@xiph.org> > Sent: Saturday, December 06, 2003 2:31 PM > Subject: [icecast-dev] Compiling Icecast2 on Windows > > > > Hi, > > > > I got some problems to compile Icecast2 under Redhat9. Can somebody > explain > > me step by step what do I have to do to compile Icecast2 under WINDOWS?Is> > there an online tutorial? What compiler do I have to use? > > > > Thanks in advance, > > > > MAX > > > > > > --- >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-dev-request@xiph.org' > > containing only the word 'unsubscribe' in the body. No subject isneeded.> > Unsubscribe messages sent to the list will be ignored/filtered. > > > > > --- >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-dev-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. > > > --- >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-dev-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. ><p>--- >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-dev-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.
Karl Heyes
2004-Aug-06 14:57 UTC
[icecast-dev] Compiling Icecast2 on RedHat9 or maybe another Linux
On Sun, 2003-12-07 at 07:55, Dave St John wrote:> Btw if it burped on libxslt, you probably want to make sure you have libxml > as well > Just follow the same routine you did with libxslt > wget > ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/libxml-1.8.17-8.i386.rpm > wget > ftp://rpmfind.net/linux/redhat/9/en/os/i386/SRPMS/libxml-1.8.17-8.src.rpmMost distributions split up packages into run-time and development. The run-time libs are only needed for the pre-built apps, but if you are rebuilding any application that requires those libs then you will need the development package as well. For RH you will need to libxslt-devel package. karl. --- >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-dev-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.