Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: [SOLVED] Compiling Fron Source

  1. #11
    Join Date
    Jan 2008
    Beans
    4,757

    Re: Compiling Fron Source

    I recommend that you set the install folder to your /usr/local directory, so the installation doesn't get mixed up with the main Ubuntu files.

    Code:
    ./configure PREFIX=/usr/local/
    make
    sudo make install
    Regards
    Iain

  2. #12
    Join Date
    Jan 2007
    Location
    Brighton, UK.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiling Fron Source

    Quote Originally Posted by tinivole View Post
    I recommend that you set the install folder to your /usr/local directory, so the installation doesn't get mixed up with the main Ubuntu files.

    Code:
    ./configure PREFIX=/usr/local/
    make
    sudo make install
    Regards
    Iain
    Ah, OK, thanks.

    I would never have considered doing this.

    Cheers.
    The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place.
    DA

  3. #13
    Join Date
    Aug 2007
    Location
    Manchester, UK
    Beans
    10,285
    Distro
    Ubuntu

    Re: Compiling Fron Source

    I should note that it's a good idea to keep the .deb somewhere (I have ~/compiled for that). Just in case

  4. #14
    Join Date
    Jan 2007
    Location
    Brighton, UK.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiling Fron Source

    OK,

    So here are the compile errors that I'm getting.

    The missing dependency errors seem to be near the bottom of this log.

    Can't figure this one out by myself !

    simon@laptop-dell:~/fsv-0.9$ ./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}... yes
    checking for working aclocal... found
    checking for working autoconf... found
    checking for working automake... found
    checking for working autoheader... found
    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 ranlib... ranlib
    checking for POSIXized ISC... no
    checking for dirent.h that defines DIR... yes
    checking for opendir in -ldir... no
    checking for ANSI C header files... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for strings.h... yes
    checking for sys/time.h... yes
    checking for unistd.h... yes
    checking for working const... yes
    checking for mode_t... yes
    checking for uid_t in sys/types.h... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking for comparison_fn_t... yes
    checking for st_blocks in struct stat... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for working fnmatch... yes
    checking for strftime... yes
    checking for getcwd... yes
    checking for gettimeofday... yes
    checking for mktime... yes
    checking for strcspn... yes
    checking for strdup... yes
    checking for strspn... yes
    checking for strtod... yes
    checking for strtoul... yes
    checking for scandir... yes
    checking for inline... inline
    checking for off_t... yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for argz.h... yes
    checking for limits.h... yes
    checking for locale.h... yes
    checking for nl_types.h... yes
    checking for malloc.h... yes
    checking for string.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... yes
    checking for getcwd... (cached) yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for strchr... yes
    checking for strcasecmp... yes
    checking for strdup... (cached) yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for stpcpy... yes
    checking for LC_MESSAGES... yes
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for libintl.h... yes
    checking for gettext in libc... yes
    checking for msgfmt... no
    checking whether catgets can be used... no
    checking for msgfmt... (cached) no
    checking for gmsgfmt... no
    checking for xgettext... :
    checking for gtk-config... no
    checking for GTK - version >= 1.2.1... no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    configure: error: Cannot find proper GTK+ version
    Thanks.
    The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place.
    DA

  5. #15
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Compiling Fron Source

    You may run into more of these problems but, this one can probably fixed with:

    Code:
    sudo apt-get install libgtk2.0-dev
    Don't try to make something "fast" until you are able to quantify "slow".

  6. #16
    Join Date
    Jan 2007
    Location
    Brighton, UK.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiling Fron Source

    Cool,

    Thanks.

    I'll try it in a bit.
    The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place.
    DA

  7. #17
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Compiling Fron Source

    I find the easiest way to solve this sort of problem when configure complains about stuff is to go to System->Administration->Synaptic Package Manager and search for the thing you are missing. You'll likely need to just install the -dev package. If you are just compiling a custom package that already exists in the Ubuntu repos, this is a fantastic command:

    Code:
    sudo apt-get build-dep name_of_the_package
    Don't try to make something "fast" until you are able to quantify "slow".

  8. #18
    Join Date
    Aug 2006
    Location
    Thailand
    Beans
    1,667
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: Compiling Fron Source

    Another thing that is often overlooked is that if you are "rolling your own" package, you will also need to download the .dev packages for many of the dependencies.
    i.e. If the package you want to compile requires the afflib package, it will also almost certainly need the afflib.dev package.

    Regards,
    Roger
    There are only two things in life that are mandatory.
    Birth and Death.
    Everything else is optional.
    Ubuntu User #10495

  9. #19
    Join Date
    Jan 2007
    Location
    Brighton, UK.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiling Fron Source

    Quote Originally Posted by vor View Post
    You may run into more of these problems but, this one can probably fixed with:

    Code:
    sudo apt-get install libgtk2.0-dev
    Turns out that I needed libgtk1.2-dev due to an incompatability.

    I'm now getting Mesa errors, even though I installed all of the relevant libraries.

    This eye candy is taking up too much of my time, so I'm giving up.

    Thanks for everyones help.

    Cheers.
    The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place.
    DA

  10. #20
    Join Date
    Jan 2007
    Location
    Brighton, UK.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Compiling Fron Source

    For anyone interested this was resolved by adding;

    Code:
    gtkglarea
    This site had the answer, and it also has a couple of other rather cool 3D file visualisers.

    http://w3.linux-magazine.com/issue/7...e_Browsers.pdf
    The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place.
    DA

Page 2 of 2 FirstFirst 12

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
  •