Problems installing from source to headless server

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
gobbledigook
Posts: 4
Joined: Thu Nov 13, 2008 3:23 pm

Problems installing from source to headless server

Post by gobbledigook »

Hi!

i'll admit right from the start that i am new to the command line and we are still developing a love/hate relationship;)

i want to run transmission on my ubuntu server, and access it through the webui. i have looked at the section on headlessusage and checked out the debian section which i think matched ubuntu most closely.

i have downloaded the source as a tarball, unpacked it to /usr/local/src/ and run the commands sudo ./configure then sudo make and finally sudo checkinstall. the results are below, and at the end checkinstall sais it has failed, but i don't know why!?!? could anybody help please?!?! i have edited the transmission-deamon file correctly, but couldn't find the .conf file? or where the index.html file is kept for the webui... i assume this is because the install failed?

any help greatly appreciated:)

dan

server@server:/usr/local/src/transmission-1.40+$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for fallocate... no
checking for lrintf... no
checking for strlcpy... no
checking for daemon... yes
checking for dirname... yes
checking for basename... yes
checking for daemon... (cached) yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for posix_fallocate... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for LIBCURL... yes
checking for /tmp/dummy1_zlib.h... yes
checking for library containing gzopen... -lz
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking how to copy va_list... va_copy
configure: invoking libevent's configure script
checking for GTK... yes
checking for GIO... yes
checking for LIBNOTIFY... yes
checking for DBUS_GLIB... yes
checking for dbus-binding-tool... /usr/bin/dbus-binding-tool
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for intltool >= 0.23... 0.35.0 found
checking for perl... /usr/bin/perl
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking host system type... (cached) i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: creating transmission.spec
config.status: creating beos/Makefile
config.status: creating cli/Makefile
config.status: creating daemon/Makefile
config.status: creating doc/Makefile
config.status: creating libtransmission/Makefile
config.status: creating third-party/Makefile
config.status: creating third-party/miniupnp/Makefile
config.status: creating third-party/libnatpmp/Makefile
config.status: creating macosx/Makefile
config.status: creating wx/Makefile
config.status: creating wx/images/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/icons/Makefile
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
=== configuring in third-party/libevent (/usr/local/src/transmission-1.40+/third-party/libevent)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--enable-static' '--disable-shared' '-q' --cache-file=/dev/null --srcdir=.
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool


Configuration:

Source code location: .
Compiler: g++
Build Command-Line client: yes
Build Daemon: yes
Build BeOS client: no
Build GTK+ client: yes
... gio support: yes
... dbus-glib support: yes
... libnotify support: yes
Build OS X client: no
Build wxWidgets client: no

after this i run sudo make and the output is:

server@server:/usr/local/src/transmission-1.40+$ sudo make
Making all in doc
make[1]: Entering directory `/usr/local/src/transmission-1.40+/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/doc'
Making all in third-party
make[1]: Entering directory `/usr/local/src/transmission-1.40+/third-party'
Making all in libevent
make[2]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libevent'
make all-recursive
make[3]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libevent'
Making all in .
make[4]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libevent'
make[4]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libevent'
Making all in sample
make[4]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libevent/sample'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libevent/sample'
Making all in test
make[4]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libevent/test'
make all-am
make[5]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libevent/test'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libevent/test'
make[4]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libevent/test'
make[3]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libevent'
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libevent'
Making all in libnatpmp
make[2]: Entering directory `/usr/local/src/transmission-1.40+/third-party/libnatpmp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/libnatpmp'
Making all in miniupnp
make[2]: Entering directory `/usr/local/src/transmission-1.40+/third-party/miniupnp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/third-party/miniupnp'
make[2]: Entering directory `/usr/local/src/transmission-1.40+/third-party'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/third-party'
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/third-party'
Making all in libtransmission
make[1]: Entering directory `/usr/local/src/transmission-1.40+/libtransmission'
make all-am
make[2]: Entering directory `/usr/local/src/transmission-1.40+/libtransmission'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/libtransmission'
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/libtransmission'
Making all in daemon
make[1]: Entering directory `/usr/local/src/transmission-1.40+/daemon'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/daemon'
Making all in cli
make[1]: Entering directory `/usr/local/src/transmission-1.40+/cli'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/cli'
Making all in gtk
make[1]: Entering directory `/usr/local/src/transmission-1.40+/gtk'
make all-recursive
make[2]: Entering directory `/usr/local/src/transmission-1.40+/gtk'
Making all in icons
make[3]: Entering directory `/usr/local/src/transmission-1.40+/gtk/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/transmission-1.40+/gtk/icons'
make[3]: Entering directory `/usr/local/src/transmission-1.40+/gtk'
gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.40+\" -DPACKAGE_STRING=\"transmission\ 1.40+\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.40+\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DTR_UNSTABLE=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_DAEMON=1 -DHAVE_STRCASECMP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_POSIX_FALLOCATE=1 -DHAVE_PTHREAD=1 -DHAVE__TMP_DUMMY1_ZLIB_H=1 -DHAVE_ZLIB=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GIO=1 -DHAVE_LIBNOTIFY=1 -DHAVE_DBUS_GLIB=1 -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I.. -I../third-party/ -I../third-party/libevent -DTRANSMISSIONLOCALEDIR=\""/usr/local/share/locale"\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops -MT tr-core.o -MD -MP -MF .deps/tr-core.Tpo -c -o tr-core.o tr-core.c
tr-core.c: In function âtr_core_class_initâ:
tr-core.c:239: error: âdbus_glib_tr_core_object_infoâ undeclared (first use in this function)
tr-core.c:239: error: (Each undeclared identifier is reported only once
tr-core.c:239: error: for each function it appears in.)
make[3]: *** [tr-core.o] Error 1
make[3]: Leaving directory `/usr/local/src/transmission-1.40+/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/gtk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/gtk'
make: *** [all-recursive] Error 1
server@server:/usr/local/src/transmission-1.40+$

server@server:/usr/local/src/transmission-1.40+$ sudo checkinstall

checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y

Preparing package documentation...OK

*****************************************
**** Debian package creation selected ***
*****************************************

*** Warning: The package version "1.40+" is not a
*** Warning: debian policy compliant one. Please specify an alternate one


This package will be built according to these values:

0 - Maintainer: [ root@server ]
1 - Summary: [ ]
2 - Name: [ transmission ]
3 - Version: [ ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ transmission-1.40+ ]
9 - Alternate source location: [ ]
10 - Requires: [ ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
Making install in doc
make[1]: Entering directory `/usr/local/src/transmission-1.40+/doc'
make[2]: Entering directory `/usr/local/src/transmission-1.40+/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/doc'
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/doc'
Making install in third-party
make[1]: Entering directory `/usr/local/src/transmission-1.40+/third-party'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/third-party'
Making install in libtransmission
make[1]: Entering directory `/usr/local/src/transmission-1.40+/libtransmission'
make install-am
make[2]: Entering directory `/usr/local/src/transmission-1.40+/libtransmission'
make[3]: Entering directory `/usr/local/src/transmission-1.40+/libtransmission'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/local/src/transmission-1.40+/libtransmission'
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/libtransmission'
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/libtransmission'
Making install in daemon
make[1]: Entering directory `/usr/local/src/transmission-1.40+/daemon'
make[2]: Entering directory `/usr/local/src/transmission-1.40+/daemon'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'transmission-daemon' '/usr/local/bin/transmission-daemon'
/usr/bin/install -c transmission-daemon /usr/local/bin/transmission-daemon
/bin/bash ../libtool --mode=install /usr/bin/install -c 'transmission-remote' '/usr/local/bin/transmission-remote'
/usr/bin/install -c transmission-remote /usr/local/bin/transmission-remote
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './transmission-daemon.1' '/usr/local/share/man/man1/transmission-daemon.1'
/usr/bin/install -c -m 644 './transmission-remote.1' '/usr/local/share/man/man1/transmission-remote.1'
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/daemon'
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/daemon'
Making install in cli
make[1]: Entering directory `/usr/local/src/transmission-1.40+/cli'
make[2]: Entering directory `/usr/local/src/transmission-1.40+/cli'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'transmissioncli' '/usr/local/bin/transmissioncli'
/usr/bin/install -c transmissioncli /usr/local/bin/transmissioncli
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './transmissioncli.1' '/usr/local/share/man/man1/transmissioncli.1'
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/cli'
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/cli'
Making install in gtk
make[1]: Entering directory `/usr/local/src/transmission-1.40+/gtk'
make install-recursive
make[2]: Entering directory `/usr/local/src/transmission-1.40+/gtk'
Making install in icons
make[3]: Entering directory `/usr/local/src/transmission-1.40+/gtk/icons'
make[4]: Entering directory `/usr/local/src/transmission-1.40+/gtk/icons'
make[4]: Nothing to be done for `install-exec-am'.
for icon in hicolor_apps_16x16_transmission.png hicolor_apps_22x22_transmission.png hicolor_apps_24x24_transmission.png hicolor_apps_32x32_transmission.png hicolor_apps_48x48_transmission.png hicolor_apps_scalable_transmission.svg ; do \
THEME=`echo $icon | cut -d_ -f1`; \
CONTEXT=`echo $icon | cut -d_ -f2`; \
SIZE=`echo $icon | cut -d_ -f3`; \
ICONFILE=`echo $icon | cut -d_ -f4`; \
mkdir -p /usr/local/share/icons/$THEME/$SIZE/$CONTEXT; \
/usr/bin/install -c -m 644 ./$icon /usr/local/share/icons/$THEME/$SIZE/$CONTEXT/$ICONFILE; \
done; \
for icon in ; do \
THEME=`echo $icon | cut -d_ -f1`; \
CONTEXT=`echo $icon | cut -d_ -f2`; \
SIZE=`echo $icon | cut -d_ -f3`; \
ICONFILE=`echo $icon | cut -d_ -f4`; \
mkdir -p /usr/local/share/transmission/icons/$THEME/$SIZE/$CONTEXT; \
/usr/bin/install -c -m 644 ./$icon /usr/local/share/transmission/icons/$THEME/$SIZE/$CONTEXT/$ICONFILE; \
done
Updating Gtk icon cache.
/bin/bash: line 3: gtk-update-icon-cache: command not found
make[4]: [update-icon-cache] Error 127 (ignored)
make[4]: Leaving directory `/usr/local/src/transmission-1.40+/gtk/icons'
make[3]: Leaving directory `/usr/local/src/transmission-1.40+/gtk/icons'
make[3]: Entering directory `/usr/local/src/transmission-1.40+/gtk'
gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.40+\" -DPACKAGE_STRING=\"transmission\ 1.40+\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.40+\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DTR_UNSTABLE=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_DAEMON=1 -DHAVE_STRCASECMP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_POSIX_FALLOCATE=1 -DHAVE_PTHREAD=1 -DHAVE__TMP_DUMMY1_ZLIB_H=1 -DHAVE_ZLIB=1 -D_FILE_OFFSET_BITS=64 -DHAVE_GIO=1 -DHAVE_LIBNOTIFY=1 -DHAVE_DBUS_GLIB=1 -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I.. -I../third-party/ -I../third-party/libevent -DTRANSMISSIONLOCALEDIR=\""/usr/local/share/locale"\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops -MT tr-core.o -MD -MP -MF .deps/tr-core.Tpo -c -o tr-core.o tr-core.c
tr-core.c: In function âtr_core_class_initâ:
tr-core.c:239: error: âdbus_glib_tr_core_object_infoâ undeclared (first use in this function)
tr-core.c:239: error: (Each undeclared identifier is reported only once
tr-core.c:239: error: for each function it appears in.)
make[3]: *** [tr-core.o] Error 1
make[3]: Leaving directory `/usr/local/src/transmission-1.40+/gtk'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/transmission-1.40+/gtk'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/src/transmission-1.40+/gtk'
make: *** [install-recursive] Error 1

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

server@server:/usr/local/src/transmission-1.40+$
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Problems installing from source to headless server

Post by Jordan »

Looks like tr-core-dbus.h isn't being generated, for whatever reason.

Quick hack:

Code: Select all

$ cd gtk/
$ /usr/bin/dbus-binding-tool --mode=glib-server --prefix=tr_core tr-core-dbus.xml > tr-core-dbus.h
$ make
could you pastebin the Makefile in your gtk/ directory so that I can take a look at it? I'm curious to know why this failed.
gobbledigook
Posts: 4
Joined: Thu Nov 13, 2008 3:23 pm

Re: Problems installing from source to headless server

Post by gobbledigook »

Thanks for your swift response!

i have followed your fix and the contents of the Makefile is below. I am not sure what those commands do? or did? but i still can't seem to get it to work... checkinstall works in the /gtk dir and returns that the install was successful, but when i run ./configure then make then checkinstall in the /transmission dir i get an error:

Building Debian package... FAILED!

*** Failed to build the package


and it asks if i would like to see the log file, this contains:

dpkg-deb: parse error, in file `/var/tmp/XTokPgbIJXpXUkaAYlVaO/package/DEBIAN/control' near line 11 package `transmission':
empty value for version

am i supposed to try and build it in /transmission after following your code? or was your code an alternative way of building it? i ask because i can start the transmission-daemon ok but cannot gain access through the web interface, i get error:

Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environmental variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.


so it appears not to be accessible? i'm just really not sure:(

contents of Makefile:

# Makefile.in generated by automake 1.10 from Makefile.am.
# gtk/Makefile. Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.






pkgdatadir = $(datadir)/transmission
pkglibdir = $(libdir)/transmission
pkgincludedir = $(includedir)/transmission
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
bin_PROGRAMS = transmission$(EXEEXT)
#am__append_1 = \
# transmission.res

#am__append_2 = \
# transmission.res

subdir = gtk
DIST_COMMON = $(dist_man_MANS) $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/acx-pthread.m4 \
$(top_srcdir)/m4/check-ssl.m4 $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/pkg.m4 \
$(top_srcdir)/m4/wxwin.m4 $(top_srcdir)/m4/zlib.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \
"$(DESTDIR)$(Productivitydir)" "$(DESTDIR)$(icondir)"
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
PROGRAMS = $(bin_PROGRAMS)
am__objects_1 =
am_transmission_OBJECTS = actions.$(OBJEXT) add-dialog.$(OBJEXT) \
blocklist.$(OBJEXT) conf.$(OBJEXT) details.$(OBJEXT) \
dialogs.$(OBJEXT) file-list.$(OBJEXT) hig.$(OBJEXT) \
main.$(OBJEXT) makemeta-ui.$(OBJEXT) msgwin.$(OBJEXT) \
notify.$(OBJEXT) sexy-icon-entry.$(OBJEXT) \
sexy-marshal.$(OBJEXT) stats.$(OBJEXT) \
torrent-cell-renderer.$(OBJEXT) tracker-list.$(OBJEXT) \
tr-core.$(OBJEXT) tr-icon.$(OBJEXT) tr-prefs.$(OBJEXT) \
tr-torrent.$(OBJEXT) tr-window.$(OBJEXT) util.$(OBJEXT) \
$(am__objects_1)
transmission_OBJECTS = $(am_transmission_OBJECTS)
am__DEPENDENCIES_1 =
transmission_DEPENDENCIES = \
$(top_builddir)/libtransmission/libtransmission.a \
$(top_builddir)/third-party/libevent/libevent.la \
$(top_builddir)/third-party/miniupnp/libminiupnp.a \
$(top_builddir)/third-party/libnatpmp/libnatpmp.a \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) $(am__append_2)
transmission_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(transmission_LDFLAGS) $(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
SOURCES = $(transmission_SOURCES)
DIST_SOURCES = $(transmission_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
man1dir = $(mandir)/man1
NROFF = nroff
MANS = $(dist_man_MANS)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
ProductivityDATA_INSTALL = $(INSTALL_DATA)
iconDATA_INSTALL = $(INSTALL_DATA)
DATA = $(Productivity_DATA) $(icon_DATA)
HEADERS = $(noinst_HEADERS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /usr/local/src/transmission-1.40+/missing --run aclocal-1.10
ALL_LINGUAS =
AMTAR = ${SHELL} /usr/local/src/transmission-1.40+/missing --run tar
AR = ar
AUTOCONF = ${SHELL} /usr/local/src/transmission-1.40+/missing --run autoconf
AUTOHEADER = ${SHELL} /usr/local/src/transmission-1.40+/missing --run autoheader
AUTOMAKE = ${SHELL} /usr/local/src/transmission-1.40+/missing --run automake-1.10
AWK = mawk
CATALOGS =
CATOBJEXT = .gmo
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops
CPP = gcc -E
CPPFLAGS =
CURL_MINIMUM = 7.16.3
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -g -Wall -Wformat-security -W -O3 -funroll-loops
CYGPATH_W = echo
DATADIRNAME = share
DBUS_BINDING_TOOL = /usr/bin/dbus-binding-tool
DBUS_GLIB_CFLAGS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
DBUS_GLIB_LIBS = -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
DBUS_GLIB_MINIMUM = 0.70
DEFS = -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.40+\" -DPACKAGE_STRING=\"transmission\ 1.40+\" -DPACKAGE_BUGR$
DEPDIR = .deps
ECHO = echo
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
F77 =
FFLAGS =
GETTEXT_PACKAGE = transmission
GIO_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GIO_LIBS = -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
GIO_MINIMUM = 2.15.5
GLIB_MINIMUM = 2.6.0
GMOFILES =
GMSGFMT = /usr/bin/msgfmt
GREP = /bin/grep
GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/g$
GTK_LIBS = -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmod$
GTK_MINIMUM = 2.6.0
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
INSTOBJEXT = .mo
INTLLIBS =
INTLTOOL_CAVES_RULE = %.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/p$
INTLTOOL_DESKTOP_RULE = %.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)$
INTLTOOL_DIRECTORY_RULE = %.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddi$
INTLTOOL_EXTRACT = $(top_builddir)/intltool-extract
INTLTOOL_ICONV = /usr/bin/iconv
INTLTOOL_KBD_RULE = %.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/$
INTLTOOL_KEYS_RULE = %.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po$
INTLTOOL_MERGE = $(top_builddir)/intltool-merge
INTLTOOL_MSGFMT = /usr/bin/msgfmt
INTLTOOL_MSGMERGE = /usr/bin/msgmerge
INTLTOOL_OAF_RULE = %.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@
INTLTOOL_PERL = /usr/bin/perl
INTLTOOL_PONG_RULE = %.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po$
INTLTOOL_PROP_RULE = %.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po$
INTLTOOL_SCHEMAS_RULE = %.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)$
INTLTOOL_SERVER_RULE = %.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/$
INTLTOOL_SERVICE_RULE = %.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/p$
INTLTOOL_SHEET_RULE = %.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/p$
INTLTOOL_SOUNDLIST_RULE = %.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddi$
INTLTOOL_THEME_RULE = %.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/p$
INTLTOOL_UI_RULE = %.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.$
INTLTOOL_UPDATE = $(top_builddir)/intltool-update
INTLTOOL_XAM_RULE = %.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/$
INTLTOOL_XGETTEXT = /usr/bin/xgettext
INTLTOOL_XML_NOMERGE_RULE = %.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@
INTLTOOL_XML_RULE = %.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/$
LDFLAGS =
LIBCURL_CFLAGS = -I/usr/local/include
LIBCURL_LIBS = -L/usr/local/lib -lcurl
LIBEVENT_CPPFLAGS = -I$(top_srcdir)/third-party/libevent
LIBNOTIFY_CFLAGS = -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/$
LIBNOTIFY_LIBS = -lnotify -lgtk-x11-2.0 -ldbus-glib-1 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -l$
LIBNOTIFY_MINIMUM = 0.4.4
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
LTLIBOBJS =
MAKEINFO = ${SHELL} /usr/local/src/transmission-1.40+/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = /usr/bin/msgfmt
OBJEXT = o
OPENSSL_CFLAGS =
OPENSSL_LIBS = -lssl -lcrypto
OPENSSL_MINIMUM = 0.9.4
PACKAGE = transmission
PACKAGE_BUGREPORT = http://trac.transmissionbt.com/newticket
PACKAGE_NAME = transmission
PACKAGE_STRING = transmission 1.40+
PACKAGE_TARNAME = transmission
PACKAGE_VERSION = 1.40+
PATH_SEPARATOR = :
PEERID_PREFIX = -TR140Z-
PKG_CONFIG = /usr/bin/pkg-config
POFILES =
POSUB = po
PO_IN_DATADIR_FALSE =
PO_IN_DATADIR_TRUE =
PTHREAD_CC = gcc
PTHREAD_CFLAGS = -pthread
PTHREAD_LIBS =
RANLIB = ranlib
SET_MAKE =
SHELL = /bin/bash
STRIP = strip
USERAGENT_PREFIX = 1.40+
USE_NLS = yes
VERSION = 1.40+
WINDRES =
WX_CFLAGS =
WX_CFLAGS_ONLY =
WX_CONFIG_PATH =
WX_CPPFLAGS =
WX_CXXFLAGS =
WX_CXXFLAGS_ONLY =
WX_LIBS =
WX_LIBS_STATIC =
WX_MINIMUM = 2.6.0
WX_RESCOMP =
WX_VERSION =
XGETTEXT = /usr/bin/xgettext
ZLIB_CFLAGS =
ZLIB_LDFLAGS =
ZLIB_LIBS = -lz
abs_builddir = /usr/local/src/transmission-1.40+/gtk
abs_srcdir = /usr/local/src/transmission-1.40+/gtk
abs_top_builddir = /usr/local/src/transmission-1.40+
abs_top_srcdir = /usr/local/src/transmission-1.40+
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_F77 =
acx_pthread_config =
am__include = include
am__leading_dot = .
am__quote =
am__tar = tar --format=ustar -chf - "$$tardir"
am__untar = tar -xf -
bindir = ${exec_prefix}/bin
build = i686-pc-linux-gnu
build_alias =
build_cpu = i686
build_os = linux-gnu
build_vendor = pc
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = i686-pc-linux-gnu
host_alias =
host_cpu = i686
host_os = linux-gnu
host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = $(SHELL) /usr/local/src/transmission-1.40+/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
subdirs = third-party/libevent
sysconfdir = ${prefix}/etc
target_alias =
top_builddir = ..
top_srcdir = ..
transmissionlocaledir = ${prefix}/${DATADIRNAME}/locale
SUBDIRS = icons
GTK_EXTRA_CPPFLAGS = -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/third-party/ \
$(LIBEVENT_CPPFLAGS) \
-DTRANSMISSIONLOCALEDIR=\""$(transmissionlocaledir)"\" \
$(GTK_EXTRA_CPPFLAGS)

AM_CFLAGS = \
$(GTK_CFLAGS) \
$(LIBCURL_CFLAGS) \
$(GIO_CFLAGS) \
$(DBUS_GLIB_CFLAGS) \
$(LIBNOTIFY_CFLAGS) \
$(OPENSSL_CFLAGS) \
$(ZLIB_CFLAGS) \
$(PTHREAD_CFLAGS)

AM_LDFLAGS = \
$(ZLIB_LDFLAGS)

noinst_HEADERS = \
actions.h \
add-dialog.h \
blocklist.h \
conf.h \
details.h \
dialogs.h \
hig.h \
file-list.h \
lock.h \
logo.h \
makemeta-ui.h \
msgwin.h \
notify.h \
stats.h \
sexy-icon-entry.h \
sexy-marshal.h \
torrent-cell-renderer.h \
tracker-list.h \
tr-core.h \
tr-core-dbus.h \
tr-icon.h \
tr-prefs.h \
tr-torrent.h \
tr-window.h \
ui.h \
util.h

dbus_generated_sources = tr-core-dbus.h
transmission_SOURCES = \
actions.c \
add-dialog.c \
blocklist.c \
conf.c \
details.c \
dialogs.c \
file-list.c \
hig.c \
main.c \
makemeta-ui.c \
msgwin.c \
notify.c \
sexy-icon-entry.c \
sexy-marshal.c \
stats.c \
torrent-cell-renderer.c \
tracker-list.c \
tr-core.c \
tr-icon.c \
tr-prefs.c \
tr-torrent.c \
tr-window.c \
util.c \
$(dbus_generated_sources)

dist_man_MANS = transmission.1
transmission_LDADD = \
$(top_builddir)/libtransmission/libtransmission.a \
$(top_builddir)/third-party/libevent/libevent.la \
$(top_builddir)/third-party/miniupnp/libminiupnp.a \
$(top_builddir)/third-party/libnatpmp/libnatpmp.a $(GTK_LIBS) \
$(GIO_LIBS) $(LIBNOTIFY_LIBS) $(DBUS_GLIB_LIBS) \
$(OPENSSL_LIBS) $(LIBCURL_LIBS) $(ZLIB_LIBS) $(PTHREAD_LIBS) \
-lm $(am__append_2)
DESKTOP_IN_FILES = transmission.desktop.in
DESKTOP_FILES = $(DESKTOP_IN_FILES:.desktop.in=.desktop)
Productivitydir = $(datadir)/applications
Productivity_DATA = $(DESKTOP_FILES)
icon_DATA = transmission.png
icondir = $(datadir)/pixmaps
EXTRA_DIST = \
$(DESKTOP_IN_FILES) \
marshal.list \
tr-core-dbus.xml \
transmission.png

DISTCLEANFILES = \
transmission.desktop

CLEANFILES = $(dbus_generated_sources) $(am__append_1)
BUILT_SOURCES = \
sexy-marshal.h \
sexy-marshal.c

#BUILT_SOURCES = \
# sexy-marshal.h \
# sexy-marshal.c \
# setransmission.res

#transmission_LDFLAGS = \
# -mwindows

all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-recursive

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gtk/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu gtk/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; for p in $$list; do \
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \
|| test -f $$p1 \
; then \
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
else :; fi; \
done

uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
rm -f "$(DESTDIR)$(bindir)/$$f"; \
done

clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
echo " rm -f $$p $$f"; \
rm -f $$p $$f ; \
done
transmission$(EXEEXT): $(transmission_OBJECTS) $(transmission_DEPENDENCIES)
@rm -f transmission$(EXEEXT)
$(transmission_LINK) $(transmission_OBJECTS) $(transmission_LDADD) $(LIBS)

mostlyclean-compile:
-rm -f *.$(OBJEXT)

distclean-compile:
-rm -f *.tab.c

include ./$(DEPDIR)/actions.Po
include ./$(DEPDIR)/add-dialog.Po
include ./$(DEPDIR)/blocklist.Po
include ./$(DEPDIR)/conf.Po
include ./$(DEPDIR)/details.Po
include ./$(DEPDIR)/dialogs.Po
include ./$(DEPDIR)/file-list.Po
include ./$(DEPDIR)/hig.Po
include ./$(DEPDIR)/main.Po
include ./$(DEPDIR)/makemeta-ui.Po
include ./$(DEPDIR)/msgwin.Po
include ./$(DEPDIR)/notify.Po
include ./$(DEPDIR)/sexy-icon-entry.Po
include ./$(DEPDIR)/sexy-marshal.Po
include ./$(DEPDIR)/stats.Po
include ./$(DEPDIR)/torrent-cell-renderer.Po
include ./$(DEPDIR)/tr-core.Po
include ./$(DEPDIR)/tr-icon.Po
include ./$(DEPDIR)/tr-prefs.Po
include ./$(DEPDIR)/tr-torrent.Po
include ./$(DEPDIR)/tr-window.Po
include ./$(DEPDIR)/tracker-list.Po
include ./$(DEPDIR)/util.Po

.c.o:
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c $<

.c.obj:
$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
# source='$<' object='$@' libtool=no \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
# source='$<' object='$@' libtool=yes \
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
# $(LTCOMPILE) -c -o $@ $<

mostlyclean-libtool:
-rm -f *.lo

clean-libtool:
-rm -rf .libs _libs
install-man1: $(man1_MANS) $(man_MANS)
@$(NORMAL_INSTALL)
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
done
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
case "$$ext" in \
1*) ;; \
*) ext='1' ;; \
esac; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed -e 's/^.*\///'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
done
install-ProductivityDATA: $(Productivity_DATA)
@$(NORMAL_INSTALL)
test -z "$(Productivitydir)" || $(MKDIR_P) "$(DESTDIR)$(Productivitydir)"
@list='$(Productivity_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
echo " $(ProductivityDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Productivitydir)/$$f'"; \
$(ProductivityDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Productivitydir)/$$f"; \
done

uninstall-ProductivityDATA:
@$(NORMAL_UNINSTALL)
@list='$(Productivity_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(Productivitydir)/$$f'"; \
rm -f "$(DESTDIR)$(Productivitydir)/$$f"; \
done
install-iconDATA: $(icon_DATA)
@$(NORMAL_INSTALL)
test -z "$(icondir)" || $(MKDIR_P) "$(DESTDIR)$(icondir)"
@list='$(icon_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \
echo " $(iconDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(icondir)/$$f'"; \
$(iconDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(icondir)/$$f"; \
done

uninstall-iconDATA:
@$(NORMAL_UNINSTALL)
@list='$(icon_DATA)'; for p in $$list; do \
f=$(am__strip_dir) \
echo " rm -f '$(DESTDIR)$(icondir)/$$f'"; \
rm -f "$(DESTDIR)$(icondir)/$$f"; \
done

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"

$(RECURSIVE_CLEAN_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique

GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
distdir=`$(am__cd) $(distdir) && pwd`; \
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$top_distdir" \
distdir="$$distdir/$$subdir" \
am__remove_distdir=: \
am__skip_length_check=: \
distdir) \
|| exit 1; \
fi; \
done
check-am: all-am
check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-recursive
all-am: Makefile $(PROGRAMS) $(MANS) $(DATA) $(HEADERS)
installdirs: installdirs-recursive
installdirs-am:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(Productivitydir)" "$(DESTDIR)$(icondir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-recursive

clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am

distclean: distclean-recursive
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

info: info-recursive

info-am:

install-data-am: install-ProductivityDATA install-iconDATA install-man

install-dvi: install-dvi-recursive

install-exec-am: install-binPROGRAMS

install-html: install-html-recursive

install-info: install-info-recursive

install-man: install-man1

install-pdf: install-pdf-recursive

install-ps: install-ps-recursive

installcheck-am:

maintainer-clean: maintainer-clean-recursive
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-ProductivityDATA uninstall-binPROGRAMS \
uninstall-iconDATA uninstall-man

uninstall-man: uninstall-man1

.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
install-strip

.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags ctags-recursive distclean \
distclean-compile distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am html html-am info info-am \
install install-ProductivityDATA install-am \
install-binPROGRAMS install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-iconDATA install-info install-info-am \
install-man install-man1 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags tags-recursive uninstall uninstall-ProductivityDATA \
uninstall-am uninstall-binPROGRAMS uninstall-iconDATA \
uninstall-man uninstall-man1


# these should go in GTK_EXTRA_CPPFLAGS at some point, but not yet because it breaks libnotify's headers
# -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES

sexy-marshal.h: marshal.list
glib-genmarshal --prefix=sexy_marshal ./marshal.list --header > sexy-marshal.h

sexy-marshal.c: marshal.list
echo '#include "sexy-marshal.h"' > sexy-marshal.c
glib-genmarshal --prefix=sexy_marshal ./marshal.list --body >> sexy-marshal.c
%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cach$

$(srcdir)/tr-core.c: tr-core-dbus.h

tr-core-dbus.h: $(srcdir)/tr-core-dbus.xml
$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=tr_core $< > $(@F)

#transmission.res: transmission.rc
# $(WINDRES) -J rc -i transmission.rc -O coff -o transmission.res
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Problems installing from source to headless server

Post by Jordan »

gobbledigook wrote:Thanks for your swift response!
i have followed your fix and the contents of the Makefile is below. I am not sure what those commands do? or did? but i still can't seem to get it to work... checkinstall works in the /gtk dir and returns that the install was successful, but when i run ./configure then make then checkinstall in the /transmission dir i get an error:

Building Debian package... FAILED!

*** Failed to build the package


and it asks if i would like to see the log file, this contains:

dpkg-deb: parse error, in file `/var/tmp/XTokPgbIJXpXUkaAYlVaO/package/DEBIAN/control' near line 11 package `transmission':
empty value for version
I've never seen this before and have no idea what it means. A Debian user will need to intervene here.
am i supposed to try and build it in /transmission after following your code? or was your code an alternative way of building it? i ask because i can start the transmission-daemon ok but cannot gain access through the web interface, i get error:

Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environmental variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.
The hack I mentioned was just to get the gtk code compiling. It's unrelated to this other "checkinstall" issue.

The error message there explains how to get the web interface working.
gobbledigook
Posts: 4
Joined: Thu Nov 13, 2008 3:23 pm

Re: Problems installing from source to headless server

Post by gobbledigook »

Hey!

I have resolved this problem now, i removed all traces of Transmission and its files from my system and then added the repo's to my list and just installed the daemon and other stuff needed.

it would be helpful to put in the documentation somewhere (for noobs like me!!) where to find the .conf files as this took me AGES!!!

thanx for all teh suggestions:)

dan
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Problems installing from source to headless server

Post by Jordan »

gobbledigook wrote:it would be helpful to put in the documentation somewhere (for noobs like me!!) where to find the .conf files as this took me AGES!!!
http://trac.transmissionbt.com/wiki/ConfigFiles
fahlmanc
Posts: 23
Joined: Mon Mar 31, 2008 6:35 am

Re: Problems installing from source to headless server

Post by fahlmanc »

After deciding to install needed files for dbus and libnotify support, I had a similar issue, with odd errors, despite earlier successfully compiling the program. What I needed to do was run make clean first.
Post Reply