PDA

View Full Version : HOWTO: Installing new version of GThumb in Breezy


accoleon
October 22nd, 2005, 09:06 PM
Hello everyone, this is my first howto here, hope it helps.

Problem:
Gthumb opens a browser window when you click on a picture in Nautilus, instead of opening/viewing the picture itself. Annoying. It is fixed it gthumb-2.6.8. Unfortunately, it is not available in the Breezy repos just yet.

Solution:

1. Enable universe/multiverse in Breezy repos
2. Download and install checkinstall
sudo apt-get install checkinstall
3. Download gthumb-2.6.8 source from http://gthumb.sourceforge.net
4. Extract the source from the tarball and enter the directory
sudo tar -zxf gthumb-2.6.8.tar.gz
cd gthumb-2.6.8
5. Build dependencies for gthumb
sudo apt-get build-dep gthumb
6. Run configure and make for gthumb
./configure && make
6.1. TIP: If you are on a HT or multiprocessing system, change X into the number of your processors + 1, for faster compilation, e.g., on a P4 HT CPU, use 'make -j3'
./configure && make -jX
7. If all the compilation is done without errors (hopefully, of course, since we've already gotten all the dependencies), use checkinstall to create and install a debian package. Just hit enter through all the questions checkinstall throws at you.
sudo checkinstall -D
8. Let checkinstall run, it will create a .deb package in the gthumb-2.6.8 directory and install it automatically, and if anything goes horribly wrong, you could remove it through dpkg -r, apt-get remove or Synaptic.

If everything goes right, when you open Gthumb by selecting a picture in Nautilus now, it should open it straightaway, instead of displaying the browser!

Hope it helps those affected :) I can try to answer questions, but since i have not encountered any problems with building mine, I might not be able to answer them succinctly.. :)

XDevHald
October 22nd, 2005, 09:49 PM
Notice: This howto has been tested and is being discussed before confirming any action.

Please do not install until other notice.

Thank You!

skorpi0wn
January 9th, 2006, 02:38 PM
What if you get this error when trying to install?

E: Build-dependencies for gthumb could not be satisfied.

Rev. Nathan
January 9th, 2006, 08:07 PM
Worked just fine for me. Timely, though.

tnilsson
January 10th, 2006, 11:40 AM
It worked fine for me! :-)
I discovered that the update manager want to install the old version again...
other than that it is great!

Seņor Ameba
March 30th, 2006, 03:27 PM
Hi guys. Tried and got this;


*********************************
configure:2501: checking for C compiler default output file name
configure:2504: gcc conftest.c >&5
configure:2507: $? = 0
configure:2553: result: a.out
configure:2558: checking whether the C compiler works
configure:2564: ./a.out
./configure: line 2565: ./a.out: Permission denied
configure:2567: $? = 126
configure:2576: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
***********************************



Here is the whole file;
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gthumb configure 2.6.9, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Jedah
uname -m = i686
uname -r = 2.6.12-9-386
uname -s = Linux
uname -v = #1 Mon Oct 10 13:14:36 BST 2005

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1589: checking for a BSD-compatible install
configure:1644: result: /usr/bin/install -c
configure:1655: checking whether build environment is sane
configure:1698: result: yes
configure:1731: checking for gawk
configure:1747: found /usr/bin/gawk
configure:1757: result: gawk
configure:1767: checking whether make sets $(MAKE)
configure:1787: result: yes
configure:2033: checking build system type
configure:2051: result: i686-pc-linux-gnu
configure:2059: checking host system type
configure:2073: result: i686-pc-linux-gnu
configure:2093: checking for style of include used by make
configure:2121: result: GNU
configure:2192: checking for gcc
configure:2208: found /usr/bin/gcc
configure:2218: result: gcc
configure:2462: checking for C compiler version
configure:2465: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2468: $? = 0
configure:2470: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:2473: $? = 0
configure:2475: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2478: $? = 1
configure:2501: checking for C compiler default output file name
configure:2504: gcc conftest.c >&5
configure:2507: $? = 0
configure:2553: result: a.out
configure:2558: checking whether the C compiler works
configure:2564: ./a.out
./configure: line 2565: ./a.out: Permission denied
configure:2567: $? = 126
configure:2576: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_COMPONENT_CFLAGS_set=
ac_cv_env_COMPONENT_CFLAGS_value=
ac_cv_env_COMPONENT_LIBS_set=
ac_cv_env_COMPONENT_LIBS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_GTHUMB_CFLAGS_set=
ac_cv_env_GTHUMB_CFLAGS_value=
ac_cv_env_GTHUMB_LIBS_set=
ac_cv_env_GTHUMB_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /media/AMOEBA/gthumb-2.6.9/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /media/AMOEBA/gthumb-2.6.9/missing --run tar'
AR=''
AUTOCONF='${SHELL} /media/AMOEBA/gthumb-2.6.9/missing --run autoconf'
AUTOHEADER='${SHELL} /media/AMOEBA/gthumb-2.6.9/missing --run autoheader'
AUTOMAKE='${SHELL} /media/AMOEBA/gthumb-2.6.9/missing --run automake-1.7'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
COMPONENT_CFLAGS=''
COMPONENT_LIBS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_DEPRECATIONS_FALSE=''
ENABLE_DEPRECATIONS_TRUE=''
EXEEXT=''
EXIF_CFLAGS=''
EXIF_LIBS=''
F77=''
FFLAGS=''
GCONFTOOL=''
GCONF_SCHEMAS_INSTALL_FALSE=''
GCONF_SCHEMAS_INSTALL_TRUE=''
GCONF_SCHEMA_CONFIG_SOURCE=''
GCONF_SCHEMA_FILE_DIR=''
GETTEXT_PACKAGE=''
GLIB_GENMARSHAL=''
GLIB_MKENUMS=''
GLIB_REQUIRED=''
GMOFILES=''
GMSGFMT=''
GNOME_VFS_REQUIRED=''
GTHUMB_CFLAGS=''
GTHUMB_LIBS=''
GTK_REQUIRED=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_ICONV=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_MSGFMT=''
INTLTOOL_MSGMERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XGETTEXT=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
JPEG_LIBS=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBBONOBOUI_REQUIRED=''
LIBBONOBO_REQUIRED=''
LIBEXIF_REQUIRED=''
LIBGLADE_REQUIRED=''
LIBGNOMECANVAS_REQUIRED=''
LIBGNOMEPRINTUI_REQUIRED=''
LIBGNOMEPRINT_REQUIRED=''
LIBGNOMEUI_REQUIRED=''
LIBGNOME_REQUIRED=''
LIBGPHOTO_CFLAGS=''
LIBGPHOTO_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBXML_REQUIRED=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /media/AMOEBA/gthumb-2.6.9/missing --run makeinfo'
MKINSTALLDIRS=''
MODULE_LIBTOOL_FLAGS=''
MSGFMT=''
OBJEXT=''
ORBIT_CFLAGS=''
ORBIT_CONFIG=''
ORBIT_IDL=''
ORBIT_LIBS=''
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
PACKAGE='gthumb'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gthumb'
PACKAGE_NAME='gthumb'
PACKAGE_STRING='gthumb 2.6.9'
PACKAGE_TARNAME='gthumb'
PACKAGE_VERSION='2.6.9'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
PNG_LIBS=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
RENDER_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TIFF_LIBS=''
USE_NLS=''
VERSION='2.6.9'
VIEWER_IDL_INCLUDES=''
XGETTEXT=''
YACC=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/media/AMOEBA/gthumb-2.6.9/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "gthumb"
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gthumb"
#define PACKAGE_NAME "gthumb"
#define PACKAGE_STRING "gthumb 2.6.9"
#define PACKAGE_TARNAME "gthumb"
#define PACKAGE_VERSION "2.6.9"
#define VERSION "2.6.9"

configure: exit 1

Seņor Ameba
March 30th, 2006, 03:37 PM
My, that's what i call copy/paste : p