Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
What is an accpetable C Compiler? I've noticed it come up in a couple of programs I've tried installing but that would come up as my error. Most recently, I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    23

    An Acceptable C Compiler?


    What is an accpetable C Compiler? I've noticed it come up in a couple of programs I've tried installing but that would come up as my error. Most recently, I was trying to install guile-gtk-1.2-0.31/ for the MPlayer-1.0pre7.tar.

    Code:
    [josh@localhost src]$ tar -zxvf guile-gtk-1.2_0.31.orig.tar.gz
    guile-gtk-1.2-0.31/
    guile-gtk-1.2-0.31/gtk-1.2/
    guile-gtk-1.2-0.31/gtk-1.2/Makefile.am
    guile-gtk-1.2-0.31/gtk-1.2/Makefile.in
    guile-gtk-1.2-0.31/gtk-1.2/config.scm.in
    guile-gtk-1.2-0.31/gtk-1.2/gtk.scm
    guile-gtk-1.2-0.31/gtk-1.2/gdk.scm
    guile-gtk-1.2-0.31/gtk-1.2/dynlink.scm
    guile-gtk-1.2-0.31/gtk-1.2/repl.scm
    guile-gtk-1.2-0.31/gtk-1.2/threads.scm
    guile-gtk-1.2-0.31/README
    guile-gtk-1.2-0.31/guile-gtk.h
    guile-gtk-1.2-0.31/AUTHORS
    guile-gtk-1.2-0.31/COPYING
    guile-gtk-1.2-0.31/ChangeLog
    guile-gtk-1.2-0.31/INSTALL
    guile-gtk-1.2-0.31/Makefile.am
    guile-gtk-1.2-0.31/Makefile.in
    guile-gtk-1.2-0.31/NEWS
    guile-gtk-1.2-0.31/TODO
    guile-gtk-1.2-0.31/aclocal.m4
    guile-gtk-1.2-0.31/config.guess
    guile-gtk-1.2-0.31/config.h.in
    guile-gtk-1.2-0.31/config.sub
    guile-gtk-1.2-0.31/configure
    guile-gtk-1.2-0.31/configure.in
    guile-gtk-1.2-0.31/depcomp
    guile-gtk-1.2-0.31/install-sh
    guile-gtk-1.2-0.31/ltmain.sh
    guile-gtk-1.2-0.31/missing
    guile-gtk-1.2-0.31/mkinstalldirs
    guile-gtk-1.2-0.31/guile-gtk.c
    guile-gtk-1.2-0.31/guile-compat.c
    guile-gtk-1.2-0.31/gtk-compat.c
    guile-gtk-1.2-0.31/gtk-support.c
    guile-gtk-1.2-0.31/gtk-threads.c
    guile-gtk-1.2-0.31/gtk-threads.h
    guile-gtk-1.2-0.31/gdk-glue.c
    guile-gtk-1.2-0.31/gtk-glue.c
    guile-gtk-1.2-0.31/linktest.c
    guile-gtk-1.2-0.31/gdk-1.2.defs
    guile-gtk-1.2-0.31/gtk-1.2.defs
    guile-gtk-1.2-0.31/build-guile-gtk-1.2
    guile-gtk-1.2-0.31/gtk/
    guile-gtk-1.2-0.31/gtk/Makefile.am
    guile-gtk-1.2-0.31/gtk/Makefile.in
    guile-gtk-1.2-0.31/gtk/gtk.scm
    guile-gtk-1.2-0.31/gtk/gdk.scm
    guile-gtk-1.2-0.31/gtk/config.scm
    guile-gtk-1.2-0.31/gtk/dynlink.scm
    guile-gtk-1.2-0.31/gtk/repl.scm
    guile-gtk-1.2-0.31/gtk/threads.scm
    guile-gtk-1.2-0.31/examples/
    guile-gtk-1.2-0.31/examples/foo/
    guile-gtk-1.2-0.31/examples/foo/Makefile.am
    guile-gtk-1.2-0.31/examples/foo/configure.in
    guile-gtk-1.2-0.31/examples/foo/foo.c
    guile-gtk-1.2-0.31/examples/foo/foo.h
    guile-gtk-1.2-0.31/examples/foo/foo.defs
    guile-gtk-1.2-0.31/examples/foo/foo.scm
    guile-gtk-1.2-0.31/examples/foo/test-foo.scm
    guile-gtk-1.2-0.31/examples/Makefile.am
    guile-gtk-1.2-0.31/examples/Makefile.in
    guile-gtk-1.2-0.31/examples/configure.in
    guile-gtk-1.2-0.31/examples/calc.scm
    guile-gtk-1.2-0.31/examples/calcrc
    guile-gtk-1.2-0.31/examples/clist.scm
    guile-gtk-1.2-0.31/examples/metaspline.scm
    guile-gtk-1.2-0.31/examples/test-gtk.scm
    guile-gtk-1.2-0.31/examples/calendar.scm
    guile-gtk-1.2-0.31/examples/continuations.scm
    guile-gtk-1.2-0.31/examples/hello-world.scm
    guile-gtk-1.2-0.31/examples/simple.scm
    guile-gtk-1.2-0.31/examples/test-gdk.scm
    guile-gtk-1.2-0.31/examples/tictactoe.scm
    Well, that went fine, so I decided to continue on:

    Code:
    [josh@localhost src]$ cd /usr/local/src/guile-gtk-1.2-0.31/
    [josh@localhost guile-gtk-1.2-0.31]$ ./configure
    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 gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH

    So what do I do? All I wanted was a quicktime player! :P

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Try getting an RPM for GCC (and while you're at it binutils and glibc)

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    23
    Quote Originally Posted by lakerdonald
    binutils and glibc
    Well, I went to install the GCC and it told me I ndeed the Binutils.
    I went to instal the Binutils, and it told me it couldn't be installed because of unsatisfied libopcodes-2.14.90.0.5.so . So How do I instal an .so file? Or what do I do with it?

    Glibc: I found a glibc-2.3.5.tar.gz which I unpacked in the Konsole. It made itself a folder (of course) with a zillion files. So I did this:

    Code:
    [root@localhost glibc-2.3.5]# ./configure
    configure: error: you must configure in a separate build directory
    [root@localhost glibc-2.3.5]#
    ..So I'm not exactly sure what I'm supposed to do with that big folder! Help! :P

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Well, you need to create a seperate directory and do:
    Code:
    ../glibc-2.3.5/configure --options --more-options
    .
    BUT that will be moot, as you can't compile something without having a compiler (See: Your original Problem )
    So, I'd suggest that you do, in this order:
    1. Install glibc rpm
    2. Install binutils rpm
    3. Install gcc rpm
    4. Compile whatever it was you were compiling in the first place (I'm too lazy to scroll down )
    And if you have trouble locating RPMs for your specific distro/arch, try http://rpm.pbone.net

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Location
    UK
    Posts
    8
    Hi

    Did you install the development packages when you installed linux, they should include a basic c compiler to allow you to install gcc from source. They can be found in the install section of the software bit in configure my computer.

    I hit this problem and found this method to work. Found gcc-3.4.4 to work, latest version gcc-4.0.0 won't compile.

  6. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Quote Originally Posted by travd
    Hi

    Did you install the development packages when you installed linux, they should include a basic c compiler to allow you to install gcc from source. They can be found in the install section of the software bit in configure my computer.

    I hit this problem and found this method to work. Found gcc-3.4.4 to work, latest gcc-4.0.0 didn't work.
    DON'T, I repeat, DON'T install gcc-4.0.0 unless you meet the following requirements:
    1. You are suicidal
    2. You are a developer
    3. You are masochistic (see number 1)
    4. You are very bored

  7. #7
    Just Joined!
    Join Date
    Jun 2005
    Posts
    23
    Quote Originally Posted by lakerdonald
    Well, you need to create a seperate directory and do:
    Code:
    ../glibc-2.3.5/configure --options --more-options
    .
    BUT that will be moot, as you can't compile something without having a compiler (See: Your original Problem )
    So, I'd suggest that you do, in this order:
    1. Install glibc rpm
    2. Install binutils rpm
    3. Install gcc rpm
    4. Compile whatever it was you were compiling in the first place (I'm too lazy to scroll down )
    And if you have trouble locating RPMs for your specific distro/arch, try http://rpm.pbone.net
    Using rpmdrake:

    1. Sorry, the following package can't be selected:
    glibc-2.3.4-8mdk.i586 (due to unsatisfied rpm >=4.2.2
    2. Sorry, the following package can't be selected:
    binutils-2.16.90.0.2-3mdk.i586 (Due to unsatisfied libopcodes-2.16.90.0.2.so
    3. Sorry, the following package can't be selected:
    gcc-4.0.0-3mdk.i586 (Due to unsatisfied binutils [>=2.16.90.0.2-2mdk]

    Ah! Why is my linux screwed. Help! :P

  8. #8
    Just Joined!
    Join Date
    Jun 2005
    Posts
    23
    Also:

    Code:
    [root@localhost josh]# urpmi gcc
    Some package requested cannot be installed:
    binutils-2.16.90.0.2-3mdk.i586 (due to unsatisfied libbinutils2[== 2.16.90.0.2-3mdk])
    gcc-2.95.3-1owl.i386 (due to missing binutils-2.16.90.0.2-3mdk.i586) (Y/n) y
    medium "contrib" uses an invalid list file:
      mirror is probably not up-to-date, trying to use alternate method
    [root@localhost josh]#
    How am I supposed to know which mioror is up to date. I've tried a few and all have given me that not up to date mirror error.

  9. #9
    Just Joined!
    Join Date
    Jun 2005
    Location
    UK
    Posts
    8
    I think you can see what mirrors have been configured in "configure your computer, software management and media management."

    I would remove the offending mirrors, leaving the installation cds, and reconfigure urpmi from the command line using easy urpmi - http://easyurpmi.zarb.org/

  10. #10
    Just Joined!
    Join Date
    Jun 2005
    Posts
    23
    Quote Originally Posted by travd
    I think you can see what mirrors have been configured in "configure your computer, software management and media management."

    I would remove the offending mirrors, leaving the installation cds, and reconfigure urpmi from the command line using easy urpmi - http://easyurpmi.zarb.org/
    Hrmmm, whats funny is that only 1 of the 3 installation CDs show up as only 1 of 3 would install. I've tried installing Linux probably 7 times and each time they would only let me install disc one. A friend of mine used my discs and all 3 CDs installed fine. If only I had a DVD burner, then I could do it all at once and not have half of my problems. As for the EasyUrpmi site, thats what I was refering to, how do I know which Mirrors are up to date?

Page 1 of 2 1 2 LastLast

Posting Permissions

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