Find the answer to your Linux question:
Results 1 to 7 of 7
Ok, I've downloaded some files that end in .tar.gz I have no problem gzipping them/untarring them etc. I usually then, do a ./configure make make install and it installs. However, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2003
    Posts
    5

    installing software (./configure etc....)


    Ok, I've downloaded some files that end in .tar.gz
    I have no problem gzipping them/untarring them etc.

    I usually then, do a
    ./configure
    make
    make install

    and it installs.

    However, with some of the stuff I've downloaded (snort 2.0). I can do the "./configure" fine. But when I go to do the "make" it gives me an error "no make install file exists". Something along those lines. What am I doing wrong?

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Doesn't ./configure return failure at any test? It could, of course, be that the package is packaged incorrectly, but I really wouldn't bet on that.

  3. #3
    Linux User
    Join Date
    Feb 2003
    Location
    Norway, Asker
    Posts
    267
    try to read the INSTALL file, there might be something like "make linux" etc,,

  4. #4
    Just Joined!
    Join Date
    Apr 2003
    Posts
    5
    no make linux. Most of my problems are due to errors after using ./configure


    General question. Isnt the "normal" order of instructions

    ./configure
    make
    make install
    ?????

    that seems to work for the *majority* of the packages I download.

  5. #5
    Linux User
    Join Date
    Feb 2003
    Location
    Norway, Asker
    Posts
    267
    yes that should work, but i use an more automated way:

    Code:
    ./configure && make && su -c "make install"
    its pretty easy:

    it the configure script fails, it wont proceed to make, but if its sucsessful, it will start the make, and the same goes for make install.
    and the su -c "make install" ask's you for your root password, and executes "make install" in the directory the sourcecode is in(the directory you are in, to be 100% correct)

    saves some times, when i forget im compiling, and it wont stop at the end of configure, but will compile everythig.

    but, a golden rule is to read the INSTALL/README file(s) when installing programs from source

  6. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Are you sure that ./configure finishes successfully? Doesn't it return any errors?

  7. #7
    Just Joined!
    Join Date
    Apr 2003
    Posts
    5
    Quote Originally Posted by Dolda2000
    Are you sure that ./configure finishes successfully? Doesn't it return any errors?
    godamn mandrake. You think if you do a full install it would include bison and flex. ok, actually it's my fault. I'm inherently lazy and wasnt reading the config errors.

    snorts installed now after installing bison and flex.

Posting Permissions

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