Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hi Im having trouble with installing tar.gz packages i know its quite stupid but i'm a total Newbie to linux i am past ./configure stage and am up to the ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7

    [SOLVED] Tarball Installation Problems

    Hi
    Im having trouble with installing tar.gz packages
    i know its quite stupid but i'm a total Newbie to linux
    i am past ./configure stage and am up to the 'make' stage.
    but when i type make install i get an error message saying 'make: *** No rule to make target `install'. Stop.'
    I am using a Linux version 2.6.24-16-generic Ubuntu 4.2.3
    would appreciate any help!
    Cheers!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which package are you trying to install?
    Are you in same folder, the one where you execute ./configure command?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7
    well a number of packages
    first of all rar for unix which is confirmed to work with ubuntu and redhat
    and im going into the folder where im executing ./configure but as i said when i type 'make install' as su it brings up and error
    'make: *** No rule to make target `install'. Stop.'

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute ./configure command again. Does configure throw any error? Could you post last 6-7 lines of the output?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7
    Here's an example with a program called glights

    # ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    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.
    # make
    make: *** No targets specified and no makefile found. Stop.
    # ls
    aclocal.m4 config.log data Makefile.am NEWS
    AUTHORS configure depcomp Makefile.in po
    ChangeLog configure.in INSTALL missing README
    config.h.in COPYING install-sh mkinstalldirs src

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    configure: error: C compiler cannot create executables
    This is an error message.
    Execute this
    Code:
    sudo apt-get clean all
    sudo apt-get update
    sudo apt-get install build-essential
    Execute ./configure command again.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7
    ok ive done that now im getting this message lol:

    checking pkg-config is at least version 0.9.0... yes
    checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.0.0, libglade-2.0) were not met:

    No package 'gtk+-2.0' found
    No package 'libglade-2.0' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables PACKAGE_CFLAGS
    and PACKAGE_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

    and then after that i type make and i get that old message again:
    # make
    make: *** No targets specified and no makefile found. Stop.

    im really confused :S

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    sudo apt-get install libglade2-0 libglade2-dev
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Sep 2008
    Posts
    7
    you are now my hero!
    thanks for all your help!
    i can now successfully install files at last!!
    will recommend you 100% !
    cheers!

  10. #10
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    Since you are a new user, i suggest you use synaptic and apt-get to install programs.
    apt-get works like this:
    To update all your programs at once:
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    To install a new program:
    Code:
    sudo apt-get install build-essential
    Synaptic has a GUI and can do the same things as apt-get.

Page 1 of 2 1 2 LastLast

Posting Permissions

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