Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Installing .tar files

  1. #1
    Join Date
    May 2008
    Location
    Egypt
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Installing .tar files

    Hi, i just started using Ubuntu Hardy Heron, it's been like three days now and i had my ups and downs with this new OS, anyway now the prob is installing "tarballs"... i read lots of guide and everything but still got some problems after typing "./configure"

    Code:
    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)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking aspell.h usability... yes
    checking aspell.h presence... yes
    checking for aspell.h... yes
    checking pspell/pspell.h usability... yes
    checking pspell/pspell.h presence... yes
    checking for pspell/pspell.h... yes
    checking for new_aspell_speller in -laspell... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
    configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
    so it seems that i am having some problems towards the end at this point:

    Code:
    checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
    configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
    Can't understand what is the prob is it a configuration problem or a missing package, any help would be appreciated and thanks in advance

  2. #2
    Join Date
    May 2008
    Location
    San Antonio, Texas
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Installing .tar files

    You have to unpackage tar files. I dont know if thats what u r trying to do or not. I run this command and it will unpackage and install.

    Code:

    tar xjvf file_name_here.tar.bz2

  3. #3
    Join Date
    Jun 2005
    Beans
    6,115

    Re: Installing .tar files

    you really dont have to compile if you dont need to, by chance what are you trying to install?
    HOME BUILT SYSTEM! http://brainstorm.ubuntu.com/idea/22804/ Please vote up!
    remember kiddies: sudo rm -rf= BAD!, if someone tells you to do this, please ignore them unless YOU WANT YOUR SYSTEM WIPED

  4. #4
    Join Date
    May 2008
    Location
    Egypt
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing .tar files

    i did that, then i "cd" to the newly created folder and type "./configure" that is where i get the problem, if i try typing "make" it does nothing just gives an error saying there is no file to make...

  5. #5
    Join Date
    Jun 2005
    Beans
    6,115

    Re: Installing .tar files

    well like i said what are you trying to compile, and why?
    most of all you will ever need is in the repositories
    HOME BUILT SYSTEM! http://brainstorm.ubuntu.com/idea/22804/ Please vote up!
    remember kiddies: sudo rm -rf= BAD!, if someone tells you to do this, please ignore them unless YOU WANT YOUR SYSTEM WIPED

  6. #6
    Join Date
    May 2008
    Location
    Egypt
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing .tar files

    i was trying to compile "gtkspell-2.0.10" a spellcheck plug in for emesene (not sure if it's only for that) i looked for it on the net and found only a ".tar.gz" archive & didn't find it in the Synaptic Package Manager.

  7. #7
    Join Date
    Feb 2007
    Location
    perdita
    Beans
    1,625
    Distro
    Ubuntu

    Re: Installing .tar files

    It's probably a missing package.
    Make sure you have libgtk2.0-0 and libgtk2.0-dev installed:
    Code:
    sudo apt-get install libgtk2.0-0 libgtk2.0-dev
    Also a little tip if you want to compile a package from the repositories from source:
    Code:
    apt-get source <package>
    apt-get build-dep <package>
    The first command gets the source code and the second one gets all necessary dependencies.
    Then all you have to do is extract, configure, compile and eventually install.

  8. #8

    Re: Installing .tar files

    Whether it works for what you want search in synaptic libgtkspell and or aspell

  9. #9
    Join Date
    Feb 2007
    Location
    perdita
    Beans
    1,625
    Distro
    Ubuntu

    Re: Installing .tar files

    Quote Originally Posted by ExpertAnalysis View Post
    I know what's giving you that error message. What you need to resolve these matters is a fresh, clean install.
    gtk+-2.0.pc is in the libgtk2.0-dev package:
    http://packages.ubuntu.com/cgi-bin/s...=gtk%2B-2.0.pc

    So unless he really messed around in /usr/lib, there should be no need to reinstall.
    In the worst case, it might even be possible to solve this problem by hacking around manually like setting the pkg-config search path as suggested by the error message.
    And even then reinstalling the necessary packages is probably easier.

  10. #10
    Join Date
    May 2008
    Location
    Egypt
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Installing .tar files

    well installed the package and worked totally fine, type "./configure", "make" & it worked great, last question i remember reading there are 2 commands for install, right? one which created an entry in Synaptic Manager anyone care to share that command & where can i actually find a place to read all commands on the net?

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •