You are not logged in.

#1 2011-08-13 21:03:12

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

[SOLVED] Pygtk not found when building Dropbox

Hi All

I'm running into a problem with pygtk not being found when I try to build Dropbox.

I know Python is installed:

pacman -Qi python
Name           : python
Version        : 3.2.1-1
URL            : http://www.python.org/
Licenses       : custom
Groups         : None
Provides       : python3
Depends On     : expat  bzip2  gdbm  openssl  libffi  zlib
Optional Deps  : tk: for tkinter
                 sqlite3
Required By    : sip
Conflicts With : None
Replaces       : python3
Installed Size : 76832.00 K
Packager       : Stéphane Gaudreault <stephane@archlinux.org>
Architecture   : i686
Build Date     : Mon 11 Jul 2011 01:49:58 PM BST
Install Date   : Thu 11 Aug 2011 11:14:44 AM BST
Install Reason : Explicitly installed
Install Script : No
Description    : Next generation of the python high-level scripting language

I also know pygtk is installed:

$ pacman -Qi pygtk
Name           : pygtk
Version        : 2.24.0-2
URL            : http://www.pygtk.org/
Licenses       : LGPL
Groups         : None
Provides       : None
Depends On     : libglade  python2-cairo  pygobject
Optional Deps  : python2-numpy
Required By    : ccsm  fusion-icon  libdesktop-agnostic  meld  orca
                 python2-bonobo  python2-gconf  python2-gnomecanvas
                 python2-libgnome  python-wnck  rabbitvcs
Conflicts With : None
Replaces       : None
Installed Size : 17524.00 K
Packager       : Stéphane Gaudreault <stephane@archlinux.org>
Architecture   : i686
Build Date     : Thu 14 Jul 2011 12:06:09 PM BST
Install Date   : Sat 13 Aug 2011 09:39:01 PM BST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Python bindings for the GTK widget set

However, when I try to compile the package I get:

.....
checking for NAUTILUS... yes
checking for GLIB... yes
checking for python... /usr/bin/python
checking for pygtk... no
configure: error: couldn't find pygtk

I've tried adding all the paths I can find for pygtk but no luck. I also tried running python from the cli and "import pygtk", and python just said it couldn't find pygtk.

Current Path:

echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/usr/include/pygtk-2.0/pygtk

I also tried the AUR PKGBUILD for Dropbox but got errors about dropbox.png and dropbox.desktop not being available.

Totally stuck now has anyone got any ideas?

Thanks
Rich

Last edited by RichAustin (2011-08-15 18:46:20)

Offline

#2 2011-08-13 21:05:12

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED] Pygtk not found when building Dropbox

I think you need Python2. Not sure though.

Edit: Jugding by the dependencies it does need Python2.

Last edited by bocke (2011-08-13 21:10:06)

Offline

#3 2011-08-13 21:14:21

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Pygtk not found when building Dropbox

Thanks bocke for the idea. I checked and it seems I have Python 2 and 3:

pacman -Qi python2
Name           : python2
Version        : 2.7.2-2
URL            : http://www.python.org/
Licenses       : PSF
Groups         : None
Provides       : None
Depends On     : bzip2  gdbm  openssl  zlib  expat  sqlite3  libffi
Optional Deps  : tk: for IDLE
Required By    : brltty  compizconfig-python  dbus-python  dockmanager
                 gnome-menus  gobject-introspection  libplist
                 libreoffice-common  mutagen  pygobject  pygobject-devel
                 pyorbit  pysvn-py2  python2-cairo  python2-distribute
                 python2-gnomevfs  python2-sip  python-configobj
                 python-dulwich  python-simplejson  pyxdg  totem
Conflicts With : python<3
Replaces       : None
Installed Size : 69420.00 K
Packager       : Stéphane Gaudreault <stephane@archlinux.org>
Architecture   : i686
Build Date     : Wed 29 Jun 2011 12:19:01 PM BST
Install Date   : Sat 13 Aug 2011 10:10:25 PM BST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : A high-level scripting language

However, your idea is maybe correct cos in the listing above there is a line:

Conflicts With : python<3

So maybe if I remove python3?

Offline

#4 2011-08-13 21:27:35

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED] Pygtk not found when building Dropbox

This is from Firefox pkgbuild:

export PYTHON="/usr/bin/python2"

Maybe you can try the same?

Offline

#5 2011-08-13 21:42:25

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Pygtk not found when building Dropbox

bocke wrote:

This is from Firefox pkgbuild:

export PYTHON="/usr/bin/python2"

Maybe you can try the same?

That is a neat idea and it did seem to point to python2 ok but still not finding pygtk:

checking for python... /usr/bin/python2
checking for pygtk... no
configure: error: couldn't find pygtk

Offline

#6 2011-08-13 21:54:38

bocke
Member
Registered: 2011-07-15
Posts: 40

Re: [SOLVED] Pygtk not found when building Dropbox

Configure script calls PYTHON_CHECK_MODULE macro (see configure.in). I don't know how those work now when Arch is using Python3 as default. Maybe the macro is checking Python 3 for module Pygtk?

Btw, you'll have another problem when you solve that. You'll have to change all #!/usr/bin/python headers to #!/usr/bin/python2. See emesene PKGBUILD for more details.

Edit: answer to something a few posts before:

RichAustin wrote:

So maybe if I remove python3?

That won't work as Python 2 is renamed to python2. IE: /usr/bin/python2 calls Python 2. /usr/bin/python calls Python 3. And you might break some dependencies along the way.  I guess pacman would handle those automatically, but you'll still have to deinstall the packages that depend on Pyhton 3. If some of those are base packages, you might cause more trouble.

Last edited by bocke (2011-08-13 21:58:39)

Offline

#7 2011-08-13 22:03:27

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Pygtk not found when building Dropbox

bocke wrote:

Configure script calls PYTHON_CHECK_MODULE macro (see configure.in). I don't know how those work now when Arch is using Python3 as default. Maybe the macro is checking Python 3 for module Pygtk?

Btw, you'll have another problem when you solve that. You'll have to change all #!/usr/bin/python headers to #!/usr/bin/python2. See emesene PKGBUILD for more details.

Edit: answer to something a few posts before:

RichAustin wrote:

So maybe if I remove python3?

That won't work as Python 2 is renamed to python2. IE: /usr/bin/python2 calls Python 2. /usr/bin/python calls Python 3. And you might break some dependencies along the way.  I guess pacman would handle those automatically, but you'll still have to deinstall the packages that depend on Pyhton 3. If some of those are base packages, you might cause more trouble.

Ok bocke. I'll look at sorting it out in the morning. Thanks for the help.

Offline

#8 2011-08-13 22:07:11

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Pygtk not found when building Dropbox

well, we cannot help you unless you paste config.log  to see why pygtk test failed.

guessing, i'll say that you don't have pkg-config installed and is solved by installing base-devel

Last edited by wonder (2011-08-13 22:07:53)


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2011-08-14 11:06:25

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Pygtk not found when building Dropbox

wonder wrote:

well, we cannot help you unless you paste config.log  to see why pygtk test failed.

guessing, i'll say that you don't have pkg-config installed and is solved by installing base-devel

pkg-config is installed:

 pacman -Qi pkg-config
Name           : pkg-config
Version        : 0.26-1
URL            : http://pkgconfig.freedesktop.org/wiki/
Licenses       : GPL
Groups         : base-devel
Provides       : pkgconfig=0.26
Depends On     : glibc  popt  glib2
Optional Deps  : None
Required By    : None
Conflicts With : pkgconfig
Replaces       : pkgconfig
Installed Size :  76.00 K
Packager       : Stéphane Gaudreault <stephane@archlinux.org>
Architecture   : i686
Build Date     : Tue 24 May 2011 03:31:17 PM BST
Install Date   : Sat 13 Aug 2011 06:15:47 PM BST
Install Reason : Explicitly installed
Install Script : No
Description    : A system for managing library compile/link flags

I didn't actually know about config.log but should have checked cos it is pretty obvious:

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

It was created by nautilus-dropbox configure 0.6.8, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ ./configure 

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

hostname = localhost.localdomain
uname -m = i686
uname -r = 3.0-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Sat Aug 6 16:49:00 CEST 2011

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

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

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/core_perl


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

configure:2273: checking for a BSD-compatible install
configure:2341: result: /bin/install -c
configure:2352: checking whether build environment is sane
configure:2402: result: yes
configure:2543: checking for a thread-safe mkdir -p
configure:2582: result: /bin/mkdir -p
configure:2595: checking for gawk
configure:2611: found /usr/bin/gawk
configure:2622: result: gawk
configure:2633: checking whether make sets $(MAKE)
configure:2655: result: yes
configure:2797: checking for gcc
configure:2813: found /usr/bin/gcc
configure:2824: result: gcc
configure:3053: checking for C compiler version
configure:3062: gcc --version >&5
gcc (GCC) 4.6.1
Copyright (C) 2011 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:3073: $? = 0
configure:3062: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.6.1/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libstdcxx-pch --enable-checking=release
Thread model: posix
gcc version 4.6.1 (GCC) 
configure:3073: $? = 0
configure:3062: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3073: $? = 1
configure:3062: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3073: $? = 1
configure:3095: checking for C compiler default output file name
configure:3117: gcc    conftest.c  >&5
configure:3121: $? = 0
configure:3158: result: a.out
configure:3174: checking whether the C compiler works
configure:3183: ./a.out
configure:3187: $? = 0
configure:3202: result: yes
configure:3209: checking whether we are cross compiling
configure:3211: result: no
configure:3214: checking for suffix of executables
configure:3221: gcc -o conftest    conftest.c  >&5
configure:3225: $? = 0
configure:3247: result: 
configure:3253: checking for suffix of object files
configure:3275: gcc -c   conftest.c >&5
configure:3279: $? = 0
configure:3300: result: o
configure:3304: checking whether we are using the GNU C compiler
configure:3323: gcc -c   conftest.c >&5
configure:3323: $? = 0
configure:3332: result: yes
configure:3341: checking whether gcc accepts -g
configure:3361: gcc -c -g  conftest.c >&5
configure:3361: $? = 0
configure:3402: result: yes
configure:3419: checking for gcc option to accept ISO C89
configure:3483: gcc  -c -g -O2  conftest.c >&5
configure:3483: $? = 0
configure:3496: result: none needed
configure:3527: checking for style of include used by make
configure:3555: result: GNU
configure:3580: checking dependency style of gcc
configure:3690: result: gcc3
configure:3734: checking build system type
configure:3748: result: i686-pc-linux-gnu
configure:3768: checking host system type
configure:3781: result: i686-pc-linux-gnu
configure:3801: checking for a sed that does not truncate output
configure:3865: result: /bin/sed
configure:3883: checking for grep that handles long lines and -e
configure:3941: result: /bin/grep
configure:3946: checking for egrep
configure:4008: result: /bin/grep -E
configure:4013: checking for fgrep
configure:4075: result: /bin/grep -F
configure:4110: checking for ld used by gcc
configure:4177: result: /usr/bin/ld
configure:4184: checking if the linker (/usr/bin/ld) is GNU ld
configure:4199: result: yes
configure:4211: checking for BSD- or MS-compatible name lister (nm)
configure:4260: result: /usr/bin/nm -B
configure:4378: checking the name lister (/usr/bin/nm -B) interface
configure:4385: gcc -c -g -O2  conftest.c >&5
configure:4388: /usr/bin/nm -B "conftest.o"
configure:4391: output
00000000 B some_variable
configure:4398: result: BSD nm
configure:4401: checking whether ln -s works
configure:4405: result: yes
configure:4413: checking the maximum length of command line arguments
configure:4533: result: 1572864
configure:4550: checking whether the shell understands some XSI constructs
configure:4560: result: yes
configure:4564: checking whether the shell understands "+="
configure:4570: result: yes
configure:4605: checking for /usr/bin/ld option to reload object files
configure:4612: result: -r
configure:4681: checking for objdump
configure:4697: found /usr/bin/objdump
configure:4708: result: objdump
configure:4740: checking how to recognize dependent libraries
configure:4936: result: pass_all
configure:4996: checking for ar
configure:5012: found /usr/bin/ar
configure:5023: result: ar
configure:5101: checking for strip
configure:5117: found /usr/bin/strip
configure:5128: result: strip
configure:5200: checking for ranlib
configure:5216: found /usr/bin/ranlib
configure:5227: result: ranlib
configure:5317: checking command to parse /usr/bin/nm -B output from gcc object
configure:5435: gcc -c -g -O2  conftest.c >&5
configure:5438: $? = 0
configure:5442: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5445: $? = 0
configure:5499: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
configure:5502: $? = 0
configure:5540: result: ok
configure:6349: checking how to run the C preprocessor
configure:6380: gcc -E  conftest.c
configure:6380: $? = 0
configure:6394: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6394: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nautilus-dropbox"
| #define PACKAGE_TARNAME "nautilus-dropbox"
| #define PACKAGE_VERSION "0.6.8"
| #define PACKAGE_STRING "nautilus-dropbox 0.6.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "nautilus-dropbox"
| #define VERSION "0.6.8"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6419: result: gcc -E
configure:6439: gcc -E  conftest.c
configure:6439: $? = 0
configure:6453: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:6453: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "nautilus-dropbox"
| #define PACKAGE_TARNAME "nautilus-dropbox"
| #define PACKAGE_VERSION "0.6.8"
| #define PACKAGE_STRING "nautilus-dropbox 0.6.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "nautilus-dropbox"
| #define VERSION "0.6.8"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:6482: checking for ANSI C header files
configure:6502: gcc -c -g -O2  conftest.c >&5
configure:6502: $? = 0
configure:6575: gcc -o conftest -g -O2   conftest.c  >&5
configure:6575: $? = 0
configure:6575: ./conftest
configure:6575: $? = 0
configure:6586: result: yes
configure:6599: checking for sys/types.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for sys/stat.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for stdlib.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for string.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for memory.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for strings.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for inttypes.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for stdint.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6599: checking for unistd.h
configure:6599: gcc -c -g -O2  conftest.c >&5
configure:6599: $? = 0
configure:6599: result: yes
configure:6614: checking for dlfcn.h
configure:6614: gcc -c -g -O2  conftest.c >&5
configure:6614: $? = 0
configure:6614: result: yes
configure:6798: checking for objdir
configure:6813: result: .libs
configure:7105: checking if gcc supports -fno-rtti -fno-exceptions
configure:7123: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
configure:7127: $? = 0
configure:7140: result: no
configure:7160: checking for gcc option to produce PIC
configure:7432: result: -fPIC -DPIC
configure:7444: checking if gcc PIC flag -fPIC -DPIC works
configure:7462: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:7466: $? = 0
configure:7479: result: yes
configure:7503: checking if gcc static flag -static works
configure:7531: result: yes
configure:7546: checking if gcc supports -c -o file.o
configure:7567: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:7571: $? = 0
configure:7593: result: yes
configure:7601: checking if gcc supports -c -o file.o
configure:7648: result: yes
configure:7681: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:8671: result: yes
configure:8708: checking whether -lc should be explicitly linked in
configure:8713: gcc -c -g -O2  conftest.c >&5
configure:8716: $? = 0
configure:8731: gcc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:8734: $? = 0
configure:8746: result: no
configure:8910: checking dynamic linker characteristics
configure:9343: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:9343: $? = 0
configure:9573: result: GNU/Linux ld.so
configure:9675: checking how to hardcode library paths into programs
configure:9700: result: immediate
configure:10220: checking whether stripping libraries is possible
configure:10225: result: yes
configure:10260: checking if libtool supports shared libraries
configure:10262: result: yes
configure:10265: checking whether to build shared libraries
configure:10286: result: yes
configure:10289: checking whether to build static libraries
configure:10293: result: yes
configure:10332: checking for pkg-config
configure:10348: found /usr/bin/pkg-config
configure:10360: result: yes
configure:10370: checking for pkg-config
configure:10388: found /usr/bin/pkg-config
configure:10401: result: /usr/bin/pkg-config
configure:10517: checking pkg-config is at least version 0.9.0
configure:10520: result: yes
configure:10531: checking for NAUTILUS
configure:10539: $PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED"
configure:10542: $? = 0
configure:10557: $PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED"
configure:10560: $? = 0
configure:10615: result: yes
configure:10621: checking for GLIB
configure:10629: $PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED"
configure:10632: $? = 0
configure:10647: $PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED"
configure:10650: $? = 0
configure:10705: result: yes
configure:10712: checking for python
configure:10730: found /usr/bin/python
configure:10742: result: /usr/bin/python
configure:10755: checking for pygtk
configure:10768: result: no
configure:10770: error: couldn't find pygtk

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_NAUTILUS_CFLAGS_set=
ac_cv_env_NAUTILUS_CFLAGS_value=
ac_cv_env_NAUTILUS_LIBS_set=
ac_cv_env_NAUTILUS_LIBS_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_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_PYTHON=/usr/bin/python
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_HAVE_PKGCONFIG=yes
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
pkg_cv_GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  '
pkg_cv_GLIB_LIBS='-lglib-2.0  '
pkg_cv_NAUTILUS_CFLAGS='-DGSEAL_ENABLE -pthread -I/usr/include/nautilus -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14  '
pkg_cv_NAUTILUS_LIBS='-pthread -lnautilus-extension -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng14 -lm -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  '

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

ACLOCAL='${SHELL} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/missing --run autoconf'
AUTOHEADER='${SHELL} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/missing --run autoheader'
AUTOMAKE='${SHELL} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EMBLEM_DIR=''
EXEEXT=''
FGREP='/bin/grep -F'
GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  '
GLIB_LIBS='-lglib-2.0  '
GREP='/bin/grep'
HAVE_PKGCONFIG='yes'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NAUTILUS_CFLAGS='-DGSEAL_ENABLE -pthread -I/usr/include/nautilus -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14  '
NAUTILUS_EXTENSION_DIR=''
NAUTILUS_LIBS='-pthread -lnautilus-extension -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng14 -lm -lcairo-gobject -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  '
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='nautilus-dropbox'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='nautilus-dropbox'
PACKAGE_STRING='nautilus-dropbox 0.6.8'
PACKAGE_TARNAME='nautilus-dropbox'
PACKAGE_URL=''
PACKAGE_VERSION='0.6.8'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PYTHON='/usr/bin/python'
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='0.6.8'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
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} /home/richard/builds/dropbox/nautilus-dropbox-0.6.8/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "nautilus-dropbox"
#define PACKAGE_TARNAME "nautilus-dropbox"
#define PACKAGE_VERSION "0.6.8"
#define PACKAGE_STRING "nautilus-dropbox 0.6.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "nautilus-dropbox"
#define VERSION "0.6.8"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 1

Rich

Offline

#10 2011-08-14 11:14:25

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Pygtk not found when building Dropbox

why aren't you using https://aur.archlinux.org/packages.php?ID=19615 ? that build was prepared


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2011-08-14 11:44:53

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Pygtk not found when building Dropbox

wonder wrote:

why aren't you using https://aur.archlinux.org/packages.php?ID=19615 ? that build was prepared

I had tried a different package previously and not seen this one therefore I attempted to build from source. I downloaded this one, quoted above, which resulted in the following:

makepkg
==> ERROR: changelog file (ChangeLog) does not exist.
==> ERROR: install file (nautilus-dropbox.install) does not exist.

Offline

#12 2011-08-14 12:27:11

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Pygtk not found when building Dropbox

well, learn how to use aur. get the tarball not the PKGBUILD


Give what you have. To someone, it may be better than you dare to think.

Offline

#13 2011-08-14 12:39:25

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] Pygtk not found when building Dropbox

Remember: There is a wiki article https://wiki.archlinux.org/index.php/AU … g_packages. It states to acquire the package in #1 therein.


To know or not to know ...
... the questions remain forever.

Offline

#14 2011-08-15 18:45:48

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: [SOLVED] Pygtk not found when building Dropbox

Ok, well I got it sorted out I think. Thanks very much for the help, really appreciated. I'm new  to the package build process and had misunderstood a few things.

Rich

Offline

#15 2011-12-24 02:01:51

RoyDong
Member
Registered: 2011-12-15
Posts: 9

Re: [SOLVED] Pygtk not found when building Dropbox

I'v the same problem, and I solved.

Make sure you have installed python2.x, then make a soft link /usr/bin/python point to /usr/bin/python2.x:
      sudo ln -s /usr/bin/python2.x /usr/bin/python

there is no need for python3.X unless you prefer it.

maybe after this you will find another configuer error: docutils not found. just pacman -S docutils!

after that I successfully installed dropbox.

Offline

#16 2012-05-04 03:11:33

freetstar
Member
Registered: 2011-03-31
Posts: 6

Re: [SOLVED] Pygtk not found when building Dropbox

there is a dirty hack

you may try
vim configure
:1,$s/python/python2/g
in this way,you are use python2 to compile this package


btw ,i got a problem when i enter the "make" command,it say that docgen.py env["command"] keyerror
then a take a look at docgen.py file,there are 3 lines:

env = {"__name__":"__notmain__"}
execfile("dropbox", env)
commands = env["commands"]

however...i'm confused ,when i run make ,my dropbox doesnt installed ,how it can be running execfile

than you guys in advance

Offline

#17 2012-05-04 03:23:51

freetstar
Member
Registered: 2011-03-31
Posts: 6

Re: [SOLVED] Pygtk not found when building Dropbox

e....
i'm wrong in last reply,dropbox is a plain text file,not a command

however i figure it out in this way:

cp dropbox.in dropbox
make
(... then it also say some error)
make (i just make it again)
sudo make install


finally i got dropbox!weird..

Offline

#18 2013-09-04 12:07:58

adept
Member
Registered: 2013-09-04
Posts: 1

Re: [SOLVED] Pygtk not found when building Dropbox

i have the same problem. and decided to rename in the file all python to python2(becouse im have installed python2)

Offline

#19 2013-09-04 12:25:48

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: [SOLVED] Pygtk not found when building Dropbox

Welcome to our forums adept
Please do not awaken the dead though: https://wiki.archlinux.org/index.php/Fo … Bumping.22

Closing.

Offline

Board footer

Powered by FluxBB