Find the answer to your Linux question:
Results 1 to 8 of 8

Thread: how to compile

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Location
    The Depths of Angband
    Posts
    51

    Question how to compile


    ive just started using linux and i would like to install a game for linux, its called angband, and i used to play it on pc.

    i downloaded the .tar.bz2 and it showed some wierd compiling instructions:

    run "./configure", "make", and "make install" in the directory

    how do i do that!?

  2. #2
    Just Joined!
    Join Date
    Jul 2005
    Location
    Philly, PA
    Posts
    92
    First you have to unzip/unpack the file, in this case

    bunzip2 filename.tar.bz2

    Do this in a terminal window. Then after the file has uncompressed cd to the newly created folder. Once there type these commands.

    ./configure
    make
    su
    make install

    or

    ./configure
    make && make install

    To install the package you must be root. Don't worry you will be prompted for the root password.


    Peace V

  3. #3
    Just Joined!
    Join Date
    May 2006
    Location
    The Depths of Angband
    Posts
    51

    Cool

    thanks!

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2006
    Location
    The Depths of Angband
    Posts
    51

    Exclamation

    grrrr........



    fingolfin@fingolfin:~$ cd desktop
    bash: cd: desktop: No such file or directory
    fingolfin@fingolfin:~$ cd Desktop
    fingolfin@fingolfin:~/Desktop$ cd angband-3.0.6
    fingolfin@fingolfin:~/Desktop/angband-3.0.6$ ./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 for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    fingolfin@fingolfin:~/Desktop/angband-3.0.6$

    help, please

    :'(

  6. #5
    In case you didn't read your other thread:
    Code:
    sudo apt-get install gcc

  7. #6
    Code:
    sudo apt-get install build-essential
    works better

  8. #7
    @cuiq

    I followed those steps for installing a different game but when i get to the su command and i type in my password (same one i use for login and admin tasks), it says wrong password even when its the only password i use for user names.

  9. #8

    Heres your help

    go to System, Administration, Users and Groups, put in your password, click on
    root and click properties on the side, go down to Password and erase the password in User password & Confirm and put in whatever password you want to use to log in as root and there you go.

Posting Permissions

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