The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing icecast dependencies help needed please

Discussion in 'cPanel Developers' started by Soheil, May 6, 2005.

  1. Soheil

    Soheil Active Member

    Joined:
    Jun 24, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Hello. I am trying to install icecast on redhat 9.0 with cpanel
    I have the latest stable release of everything installed on my server.

    Problem 1:
    When I try to install icecase via rpm, I get this error:
    error: Failed dependencies:
    curl >= 7.10.0 is needed by icecast-2.2.0-1
    libtheora is needed by icecast-2.2.0-1
    libtheora.so.0 is needed by icecast-2.2.0-1

    Note: curl version I have installed:
    curl 7.12.0 (i686-pc-linux-gnu) libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4


    Problem 2:
    I downloaded libtheora-1.0alpha4.tar.gz and tried to configure and install. I get:
    checking for ogg >= 1.1... Package ogg was not found in the pkg-config search path.
    Perhaps you should add the directory containing `ogg.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'ogg' found
    checking for Ogg... yes
    checking for oggpackB_read... no
    configure: error: newer libogg version (>1.0) required
    root@www [/usr/src/libtheora-1.0alpha4]# libogg -v
    -bash: libogg: command not found


    Can someone please tell me what I need to do to get rid of these problems?
    Thanks so much.
     
  2. h2oski

    h2oski Well-Known Member

    Joined:
    Dec 12, 2001
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Assuming you have ogg.pc in /usr/local/lib/pkgconfig/

    try
    ln -s /usr/local/lib/pkgconfig/ogg.pc /usr/lib/pkgconfig/

    If not you can get libogg from here:
    http://www.vorbis.com/download_unix_1.0.1.psp
     
  3. Soheil

    Soheil Active Member

    Joined:
    Jun 24, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, I fixed on eproblem :)

    Now, I have a couple of more problems if someone can help please:



    I am running cpanel on redhad linux 9 with the latest patches.
    I want to install icecast and icecast requires Theora to be installed.
    So after running the autoconf of Theora, I ran make and then make install.
    The output of make install is below.

    Now, when I want to install icecase from the rpm, I get this error:
    rpm -i icecast-2.2.0-1.i386.rpm
    error: Failed dependencies:
    curl >= 7.10.0 is needed by icecast-2.2.0-1
    libtheora is needed by icecast-2.2.0-1
    libtheora.so.0 is needed by icecast-2.2.0-1

    As a sidenote, it also complains about curl, which I have installed, so if someone cn help with that, I surely appreciate it:
    curl -V
    curl 7.12.0 (i686-pc-linux-gnu) libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
    Protocols: ftp gopher telnet dict ldap http file https ftps



    make install output:


    Making install in lib
    make[1]: Entering directory `/usr/src/libtheora-1.0alpha4/lib'
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4/lib'
    /bin/sh ../mkinstalldirs /usr/local/lib
    /bin/sh ../libtool --mode=install /usr/bin/install -c libtheora.la /usr/local/lib/libtheora.la
    /usr/bin/install -c .libs/libtheora.so.0.1.0 /usr/local/lib/libtheora.so.0.1.0
    (cd /usr/local/lib && rm -f libtheora.so.0 && ln -s libtheora.so.0.1.0 libtheora.so.0)
    (cd /usr/local/lib && rm -f libtheora.so && ln -s libtheora.so.0.1.0 libtheora.so)
    /usr/bin/install -c .libs/libtheora.lai /usr/local/lib/libtheora.la
    /usr/bin/install -c .libs/libtheora.a /usr/local/lib/libtheora.a
    ranlib /usr/local/lib/libtheora.a
    chmod 644 /usr/local/lib/libtheora.a
    PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
    ----------------------------------------------------------------------
    Libraries have been installed in:
    /usr/local/lib

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
    during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
    during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4/lib'
    make[1]: Leaving directory `/usr/src/libtheora-1.0alpha4/lib'
    Making install in include
    make[1]: Entering directory `/usr/src/libtheora-1.0alpha4/include'
    Making install in theora
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4/include/theora'
    make[3]: Entering directory `/usr/src/libtheora-1.0alpha4/include/theora'
    make[3]: Nothing to be done for `install-exec-am'.
    /bin/sh ../../mkinstalldirs /usr/local/include/theora
    mkdir -p -- /usr/local/include/theora
    /usr/bin/install -c -m 644 theora.h /usr/local/include/theora/theora.h
    make[3]: Leaving directory `/usr/src/libtheora-1.0alpha4/include/theora'
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4/include/theora'
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4/include'
    make[3]: Entering directory `/usr/src/libtheora-1.0alpha4/include'
    make[3]: Nothing to be done for `install-exec-am'.
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/usr/src/libtheora-1.0alpha4/include'
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4/include'
    make[1]: Leaving directory `/usr/src/libtheora-1.0alpha4/include'
    Making install in doc
    make[1]: Entering directory `/usr/src/libtheora-1.0alpha4/doc'
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4/doc'
    make[3]: Entering directory `/usr/src/libtheora-1.0alpha4/doc'
    make[3]: Nothing to be done for `install-exec-am'.
    /bin/sh ../mkinstalldirs /usr/local/share/doc/libtheora-1.0alpha4
    mkdir -p -- /usr/local/share/doc/libtheora-1.0alpha4
    if test -d libtheora; then \
    for dir in libtheora/*; do \
    if test -d $dir; then \
    b=`basename $dir`; \
    /bin/sh ../mkinstalldirs /usr/local/share/doc/libtheora-1.0alpha4/$b; \
    for f in $dir/*; do \
    /usr/bin/install -c -m 644 $f /usr/local/share/doc/libtheora-1.0alpha4/$b; \
    done \
    fi \
    done \
    fi
    mkdir -p -- /usr/local/share/doc/libtheora-1.0alpha4/html
    mkdir -p -- /usr/local/share/doc/libtheora-1.0alpha4/latex
    /bin/sh ../mkinstalldirs /usr/local/share/doc/libtheora-1.0alpha4
    /usr/bin/install -c -m 644 vp3-format.txt /usr/local/share/doc/libtheora-1.0alpha4/vp3-format.txt
    /usr/bin/install -c -m 644 color.html /usr/local/share/doc/libtheora-1.0alpha4/color.html
    /usr/bin/install -c -m 644 doxygen-build.stamp /usr/local/share/doc/libtheora-1.0alpha4/doxygen-build.stamp
    make[3]: Leaving directory `/usr/src/libtheora-1.0alpha4/doc'
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4/doc'
    make[1]: Leaving directory `/usr/src/libtheora-1.0alpha4/doc'
    Making install in examples
    make[1]: Entering directory `/usr/src/libtheora-1.0alpha4/examples'
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4/examples'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4/examples'
    make[1]: Leaving directory `/usr/src/libtheora-1.0alpha4/examples'
    Making install in debian
    make[1]: Entering directory `/usr/src/libtheora-1.0alpha4/debian'
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4/debian'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4/debian'
    make[1]: Leaving directory `/usr/src/libtheora-1.0alpha4/debian'
    make[1]: Entering directory `/usr/src/libtheora-1.0alpha4'
    make[2]: Entering directory `/usr/src/libtheora-1.0alpha4'
    make[2]: Nothing to be done for `install-exec-am'.
    /bin/sh ./mkinstalldirs /usr/local/lib/pkgconfig
    mkdir -p -- /usr/local/lib/pkgconfig
    /usr/bin/install -c -m 644 theora.pc /usr/local/lib/pkgconfig/theora.pc
    make[2]: Leaving directory `/usr/src/libtheora-1.0alpha4'
    make[1]: Leaving directory `/usr/src/libtheora-1.0alpha4'
     

Share This Page