Results 1 to 4 of 4

Thread: compiling error

  1. #1
    Join Date
    Dec 2005
    Beans
    7

    compiling error

    root@ubuntu:/home/hax/gtkmm/gtkmm-2.2.12# ./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)... no
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables

    having trouble trying to get gtkmm-2.2.12 installed. Also i have this C compiler cannot cresate executables error when it try to compile other sources. Really need some help tryed to do sudo apt-get install gcc but i already have the newest version. Also when i try to install gtkmm threw synaptics i am missing some repos so if i could get the repos that would be great.

  2. #2
    Join Date
    Dec 2005
    Location
    Bristol, UK
    Beans
    32

    Re: compiling error

    Could you try writing a very simple "hello, world" program and then compiling it, and see what happens? Then, post a reply with any error messages that you get from that compilation step.

  3. #3
    Join Date
    Aug 2005
    Location
    Japan
    Beans
    439
    Distro
    Ubuntu 6.10 Edgy

    Re: compiling error

    Code:
    sudo apt-get install build-essential
    And then try it again.

  4. #4
    Join Date
    Dec 2005
    Location
    רעננה
    Beans
    2

    Re: compiling error

    hey, installing build-essential did help me.
    Thank you

Bookmarks

Posting Permissions

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