Find the answer to your Linux question:
Results 1 to 10 of 10
Hey I'm trying to compile gnutella -0.96.3 on etch. I've gotten through most of the problems, but this last one had got me stumped. Use which C compiler? [cc] gcc ...
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    36

    gnutella compile error

    Hey I'm trying to compile gnutella -0.96.3 on etch. I've gotten through most of the problems, but this last one had got me stumped.
    Use which C compiler? [cc] gcc

    Checking for GNU cc in disguise and/or its version number...

    *** WHOA THERE!!! ***
    Your C compiler "gcc" doesn't seem to be working!
    You'd better start hunting for one and let me know about it.
    I have gcc installed. I don't know what to make of the error and there's not much description to help me solve it. Any ideas. Thankx.

  2. #2
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    218
    hi
    what do you get when you type gcc -v at the prompt.

  3. #3
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Why not just install it like that ?
    Code:
    apt-get install gtk-gnutella
    I understand the Etch version is 0.96.1, but does that really matter ?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  4. #4
    Just Joined!
    Join Date
    Dec 2006
    Posts
    36
    Snooze:/# gcc -v
    Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
    Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
    Thread model: posix
    gcc version 3.3.5 (Debian 1:3.3.5-13)
    Well I tried installing it from the debian sources and I was able to get it to run, but I couldn't connect to any sources. Now I've never used Gnutella before so maybe I wasn't doing it correctly. I found a tutorial online on how to use, but everytime I enter an ip address nothing happened and the connection was lost.

    I then decided to try to install the latest version and see if that helped.

  5. #5
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Then make sure you have the package build-essential installed.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #6
    Just Joined!
    Join Date
    Dec 2006
    Posts
    36
    I've tried downloading build-essential, but I get a lot of errors ranging from package xyz is not availiable to need a newer version of package abc.

  7. #7
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Just:
    Code:
    apt-get install build-essential
    doesn't work?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  8. #8
    Just Joined!
    Join Date
    Dec 2006
    Posts
    36
    No it gives me this:
    Snooze:~# apt-get install build-essential
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    build-essential: Depends: libc6-dev but it is not going to be installed or
    libc-dev
    Depends: g++ (>= 3:3.3) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
    and when I try to install libc6-dev i get:

    Snooze:~# apt-get install libc6-dev
    Reading package lists... Done
    Building dependency tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge5) but 2.3.6.ds1-13 is to be installed
    Depends: linux-kernel-headers but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
    Something wrong with my version of libc6. I don't know if its the version of etch I have or the depositories. Because a lot of programs want the other version of libc6, but that's the not the version avaliable. I have (I believe) libc6_2.3.6 installed.

  9. #9
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    what happens when you run apt-get -f install?
    Brilliant Mediocrity - Making Failure Look Good

  10. #10
    Just Joined!
    Join Date
    Dec 2006
    Posts
    36
    Right now apt-get install libc6-dev gives me this:

    Snooze:~# apt-get install libc6-dev
    Reading package lists... Done
    Building dependency tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.

    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge5) but 2.3.6.ds1-13 is to be installed
    E: Broken package
    The reason it suggested doing apt-get -f install before is because I had a broken package, fglrx..., on my computer and it wanted me to get rid of it. Fglrx does not show up in the output of the apt-get install libc6-dev which I posted above because I deleted it. Fglrx wasn't the problem, it was just something I was trying to get to work. Sorry for the confusion. Anyway this is what apt-get -f install produces.

    Snooze:~# apt-get -f install
    Reading package lists... Done
    Building dependency tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

Posting Permissions

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