Find the answer to your Linux question:
Results 1 to 4 of 4
I installed Debian after having finished with LFS, it works perfectly and I have everything I want/need, however I'd like to upgrade my IRC client (irssi) to 0.8.11 from 0.8.10 ...
  1. #1
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474

    GCC cannot create executables

    I installed Debian after having finished with LFS, it works perfectly and I have everything I want/need, however I'd like to upgrade my IRC client (irssi) to 0.8.11 from 0.8.10 and that's not in the repositories. The problem is that the first time I tried configuring it I didn't have GCC, so I got that from the repositories then I tried again. Next error was Glib. So I installed glib from the repositories too and it still couldn't find it. Usually what I do then is compile the same version as what is in the repositories and that solves the problem, however this time around it didn't.

    Now today when I tried again, GCC can't even start to configure anything. It says "Cannot create executables". This is irrespective of what I try to configure/compile/install. I've had this problem before then I just compile GCC itself (for some reason it could do that). Again, not this time around. So I tried re-installing it from the repositories, to no luck.

    What can I do now to fix this...life is useless without a compiler...

    EDIT: It says the following when trying to compile:
    Code:
    uholtz@sysinit:~/Apps/irssi-0.8.11$ ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    uholtz@sysinit:~/Apps/irssi-0.8.11$
    This is the config.log

    PS: I'm sorry if there is a post similar to this, I have seen one like this recently if I'm not mistaken and did do a search on it but it returned 0 results.

    Thanks in advance for any help.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    did you install glibc?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    Yeah the C libraries are installed. I don't know what's wrong ??

  4. #4
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    SOLVED: I installed libtool, flex, bison and gdb. Now the compiler goes further. I still don't understand why it doesn't see glib though even though it's installed.

    EDIT: I got glib working and after trial and error, irssi --version outputs irssi 0.8.11

    Thanks

Posting Permissions

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