Find the answer to your Linux question:
Results 1 to 10 of 10
i think there are other stuff i have to update in order for it to work, but i am trying to install xine and this is what happens in console: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113

    installing xine


    i think there are other stuff i have to update in order for it to work, but i am trying to install xine and this is what happens in console:

    [root@localhost xine-lib-1-rc6a]# ./configure
    checking build system type... i686-pc-linux-gnuoldld
    checking host system type... i686-pc-linux-gnuoldld
    checking target system type... i686-pc-linux-gnuoldld
    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 for style of include used by make... GNU
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    can someone please help me?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    you need a C compiler to compile/install any program from source. you need to download/ install gcc which is one the most common and best supported C compilers out there.
    -lakerdonald

  3. #3
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    ok, i installed gcc and i get the same error. i am trying to install xine by uncompressing it, 'cd' to its location, and ./configure. am i doing something wrong?

  4. #4
    Linux Newbie
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    144
    you'll need to either use an RPM or use another system, mount your root disk , move to the GCC folder and type
    Code:
    ./configure --prefix=/<mount point>

  5. #5
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    sorry, i am a linux nub and i dont understand that. i tried to use rpms but i have missing dependencies, and that was making me angry.

  6. #6
    Linux Newbie
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    144
    well you'll need to satisfy the dependencies, because without GCC you basically have a PC that can do what it has already, but nothing else.

  7. #7
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    ok, i got gcc installed (thank god!) but now i am having problems installing xine, this is what happens when i try to configure it:

    [root@localhost xine-lib-1-rc6a]# ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    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 for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... 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 dependency style of gcc... gcc3
    checking for strerror in -lcposix... no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for gawk... (cached) gawk
    checking for inline... inline
    checking for a sed that does not truncate output... /bin/sed
    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 how to recognise dependent libraries... pass_all
    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 g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.

  8. #8
    Linux Newbie
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    144
    aswell as GCC-Core you'll also need
    GCC-C++ and G++ by the looks of things... these can be downloaded in RPM format aswell.

  9. #9
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    ok, i have gcc installed an all that such, so i su to root and cd to the xine directory and type ./configure and a does a bunch of stuff, and at the end it says:

    checking for gzsetparams in -lz... no
    configure: error: zlib needed

    so i try to isntall zlib and it says i already have it.... wtf?

  10. #10
    Just Joined!
    Join Date
    Nov 2004
    Posts
    1
    I had the same problem: zlib was needed while the RPM of zlib was ready installed. So I tried to download unzip and compile (./configure, make, make install) the tar.gz version of zlib library. The problem disappear! I'm sure that when some library already installed are requested you have to install the tar.gz version of it.
    (sorry 4 my english)

    Good job.[/quote]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •