Results 1 to 8 of 8

Thread: How do you compile- On Ubuntu?

  1. #1
    Join Date
    Aug 2005
    Beans
    128
    Distro
    Ubuntu 6.06

    How do you compile- On Ubuntu?

    What do I need to apt-get? Thanks. (Here is what I get when I ./configure)

    loading cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... no
    checking for working aclocal... missing
    checking for working autoconf... missing
    checking for working automake... missing
    checking for working autoheader... missing
    checking for working makeinfo... missing
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking for c++... no
    checking for g++... no
    checking for gcc... gcc
    checking whether the C++ compiler (gcc ) works... no
    configure: error: installation or configuration problem: C++ compiler cannot create executables.


    ----------------------------------------------------------
    After uninstalling my 3 versions of gcc (But not base libs):
    loading cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... no
    checking for working aclocal... missing
    checking for working autoconf... missing
    checking for working automake... missing
    checking for working autoheader... missing
    checking for working makeinfo... missing
    checking for gcc... no
    checking for cc... no
    configure: error: no acceptable cc found in $PATH

  2. #2
    Join Date
    Oct 2005
    Location
    sydney, australia
    Beans
    364
    Distro
    Ubuntu Breezy 5.10

    Re: How do you compile- On Ubuntu?

    sudo apt-get install build-essential

  3. #3
    Join Date
    Nov 2005
    Beans
    44
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do you compile- On Ubuntu?

    What have you apt-getted (apt-gotten?) until now?
    I have build-essentials, automake and gcc3.4 (maybe other bits and pieces).
    ./configure
    make
    sudo make install
    usually just works. Sometimes I need to automake, but I haven't had any problems with that, either.

    You could try and apt-get everything configure says is missing.

    Groet, Erik

  4. #4
    Join Date
    Aug 2005
    Beans
    128
    Distro
    Ubuntu 6.06

    Re: How do you compile- On Ubuntu?

    Thanks!

    New install, apt getted GGC4.0
    Uninstalled, and followed your instructions.
    (I am new to this.. Bear with me!)

    Now, I get error 1 after make AND make install while trying to compile: "TUXEDO T. PENGUIN: A QUEST FOR HERRING. "

  5. #5
    Join Date
    Nov 2005
    Beans
    44
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do you compile- On Ubuntu?

    Before make gives you error 1, you'll see one or more errors. The line above those will probably tell you there's a file missing. Is this correct?

    Groet, Erik

  6. #6
    Join Date
    Aug 2005
    Beans
    128
    Distro
    Ubuntu 6.06

    Re: How do you compile- On Ubuntu?

    Ok.. What is a known good file I can test compiling?


    Thanks!

  7. #7
    Join Date
    Dec 2005
    Location
    where polar bears live - poland.
    Beans
    67
    Distro
    Kubuntu 6.10 Edgy

    Re: How do you compile- On Ubuntu?

    Test compiling? What for?
    There is no such thing.

    If something doesn't compile - check error log. It provides useful informations. For real. Probably some lib is missing.

    And please use search function. There is like 1 question about compiling per hour.
    perform miracles.

  8. #8
    Join Date
    Aug 2005
    Location
    Canada
    Beans
    284
    Distro
    Ubuntu Breezy 5.10

    Re: How do you compile- On Ubuntu?

    Quote Originally Posted by shin
    Test compiling? What for?
    There is no such thing.

    If something doesn't compile - check error log. It provides useful informations. For real. Probably some lib is missing.

    And please use search function. There is like 1 question about compiling per hour.

    They mean where can they get a good working program they can test their compiling ability on.

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
  •