Installation of nautilus-dropbox source fails

Need help with your Linux distro? All questions are good - not all answers are -but we try

Moderator: jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Installation of nautilus-dropbox source fails

Postby dedanna1029 » 02 Jul 2011, 21:35

I've downloaded and extracted both nautilus-dropbox-0.6.7 and nautilus-dropbox-0.6.8, to install it manually to Arch. 0.6.7 came from AUR packages, 0.6.8 came from the site. Both fail on ./configure with the following error:

Code: Select all

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

Yet, pygtk is installed:

Code: Select all

[root@dedanna nautilus-dropbox-0.6.7]# pacman -Q pygtk
pygtk 2.24.0-1

There is no devel version of pygtk:

Code: Select all

# pacman -Ss pygtk
extra/deluge 1.3.2-1 [2.04 MB] [installed]
    A bittorrent client written with python and pygtk
extra/pygtk 2.24.0-1 [1.55 MB] [installed]
    Python bindings for the GTK widget set
extra/pygtksourceview2 2.10.1-3 [0.03 MB] [installed]
    Python bindings for gtksourceview2
extra/quodlibet 2.3-1 [0.61 MB]
    An audio player written in pygtk
extra/system-config-printer-common 1.3.3-1 [0.05 MB] [installed]
    Pygtk CUPS Configuration
community/emesene 2.11.5-2 [1.37 MB]
    A pygtk MSN Messenger client
community/gnofract4d 3.14-1 [0.79 MB]
    A fractal browser with PyGTK gui
community/gtk-recordmydesktop 0.3.8-5 [0.07 MB] [installed]
    A pygtk frontend for recordmydesktop
community/kiwi 1.9.26-3 [0.29 MB]
    A set of classes and wrappers for PyGTK
community/pympd 0.08.1-2 [0.11 MB]
    A Rhythmbox-like PyGTK+ client for Music Player Daemon
community/wifi-radar 2.0.s08-3 [0.03 MB]
    A PyGTK2 utility for managing WiFi profiles
archlinuxfr/fluxmenu 24-1 [0.02 MB]
    A graphical (pyGTK) menu editor for FluxBox window manager


What am I missing? What do I need to install, or is there a ./configure option I can use?

Code: Select all

# whereis pygtk
pygtk: /usr/lib/pygtk /usr/share/pygtk

It has to be installed manually, as yaourt isn't working right now for me (which is what Arch recommends; installing from yaourt). I can't install from it.

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Installation of nautilus-dropbox source fails

Postby rolf » 02 Jul 2011, 22:24

Code: Select all

$ urpmq -y pygtk
pygtk2.0
pygtk2.0-demos
pygtk2.0-devel
pygtk2.0-libglade


For configure/build software, I'd look for a lib* or -devel package, if something's missing.

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installation of nautilus-dropbox source fails

Postby dedanna1029 » 03 Jul 2011, 00:26

Thanks, but Arch doesn't do devel packages (I looked anyway though). It's all included in the main package. Example:

Code: Select all

pacman -Ss kernel26
pacman -Ss kernel26
core/kernel26 2.6.39.2-1 [36.12 MB] (base) [installed]
    The Linux Kernel and modules
core/kernel26-docs 2.6.39.2-1 [3.28 MB] [installed]
    Kernel hackers manual - HTML documentation that comes with the Linux kernel.
core/kernel26-headers 2.6.39.2-1 [4.27 MB] [installed]
    Header files and scripts for building modules for kernel26
core/kernel26-lts 2.6.32.42-1 [30.34 MB]
    The Linux Kernel and modules - stable longtime supported kernel package
    suitable for servers
core/kernel26-lts-headers 2.6.32.42-1 [3.70 MB]
    Header files and scripts for building modules for kernel26-lts
core/linux-firmware 20110512-2 [9.17 MB] [installed]
    Firmware files for Linux
core/zd1211-firmware 1.4-4 [0.01 MB]
    Firmware for the in-kernel26 zd1211rw wireless driver
extra/kernel26-manpages 2.6.39-1 [2.48 MB] [installed]
    Kernel hackers manual - Section 9 manpages that comes with the Linux kernel.
extra/nvidia 275.09.07-1 [3.97 MB] [installed]
    NVIDIA drivers for kernel26.

That's what's making this so difficult to run down. :(

Code: Select all

pacman -Ss pygtk
extra/pygtk 2.24.0-1 [1.55 MB] [installed]
    Python bindings for the GTK widget set
extra/pygtksourceview2 2.10.1-3 [0.03 MB] [installed]
    Python bindings for gtksourceview2


Edit: And libglade is installed:

Code: Select all

pacman -Ss glade
extra/firefox-i18n-bn-bd 5.0-1 [0.22 MB]
    Bengali (Bangladesh) language pack for Firefox
extra/glade 3.10.0-2 [1.71 MB] [installed]
    User interface builder for GTK+ and GNOME.
extra/glade-perl 1.007-4 [0.02 MB]
    Gtk2-GladeXML perl bindings for glade 2.x
extra/libglade 2.6.4-2 [0.08 MB] [installed]
    Allows you to load glade interface files in a program at runtime
extra/libglademm 2.6.7-1 [0.04 MB] [installed]
    A C++ wrapper for libglade.
Last edited by dedanna1029 on 03 Jul 2011, 00:29, edited 1 time in total.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
b1o
IT and IS Guru-Berserk
Posts: 198
Joined: 15 Mar 2010, 03:16

Re: Installation of nautilus-dropbox source fails

Postby b1o » 03 Jul 2011, 00:28

I think i ran into this too, i think it had something to do with arch using python 3. I think you have to go in to the bin folder and change the name of python2 to python and python to python 2 to make python default again
CPU: i7 950 3.1 ghz |RAM: 12 GB DDR3 |Graphics: Nvidia Geforce gtx 280 |motherboard: Rampage II Extreme |OS: Arch + windows7

Just remember, there is no such thing as a stupid question, until you ask it

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installation of nautilus-dropbox source fails

Postby dedanna1029 » 03 Jul 2011, 00:32

Code: Select all

ls /usr/bin | grep python
python
python2
python2.7
python2.7-config
python2-config
python3
python3.2
python3.2-config
python3.2mu
python3.2mu-config
python3-config
python-config

So I change which specifically to what?

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
b1o
IT and IS Guru-Berserk
Posts: 198
Joined: 15 Mar 2010, 03:16

Re: Installation of nautilus-dropbox source fails

Postby b1o » 03 Jul 2011, 00:38

Change the one called python to pythonb, and remove the 2 from python2.
That way if it doesn't work you know wich to change back :)
I believe that's what i did
CPU: i7 950 3.1 ghz |RAM: 12 GB DDR3 |Graphics: Nvidia Geforce gtx 280 |motherboard: Rampage II Extreme |OS: Arch + windows7

Just remember, there is no such thing as a stupid question, until you ask it

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installation of nautilus-dropbox source fails

Postby dedanna1029 » 03 Jul 2011, 00:39

And then after it's installed, provided installation works, I change the names back? The installation's done btw. So, do I change the names of those two python files back to what they were initially, or ?

Edit: The answer is no. I did it, and when I try to start dropbox now, get:

Code: Select all

 dropbox
  File "/usr/bin/dropbox", line 41
    INFO = u"Dropbox is the easiest way to share and store your files online. Want to learn more? Head to"
                                                                                                         ^
SyntaxError: invalid syntax

Yup changing those back to where you said to got it. I have to wonder though if this will make things difficult for other programs to start?

Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installation of nautilus-dropbox source fails

Postby viking60 » 03 Jul 2011, 01:34

Eh.. I am a simple foreigner but I do not understand what you did here:
Have you implemented the change b1o suggested Y/N ?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installation of nautilus-dropbox source fails

Postby dedanna1029 » 03 Jul 2011, 01:35

Yes. Then it installed. Now, I need to know if I need to rename the files back to what they were originally. I did it to try it (changed them back to what they were initially), but dropbox wouldn't start with that error. So, I changed them back again to the way he had it, and it starts fine.

The problem being, with them named his way, I'm wondering if other proggies requiring python/python2 will now fail to start.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installation of nautilus-dropbox source fails

Postby dedanna1029 » 03 Jul 2011, 01:37

Effing python2 is going to be the death of us all. :P
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installation of nautilus-dropbox source fails

Postby viking60 » 03 Jul 2011, 01:42

No b1o just made it it easier for the programs that refer to python to find the right python version. It will probably solve a lot more of your problems because other programs are likely to have the same problem. All new programs will refer to python3 anyway.
But you may have to change the settings for some old installed ones that need python2. But some renaming seems inevitable one way or the other:
https://wiki.archlinux.org/index.php/Python
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installation of nautilus-dropbox source fails

Postby dedanna1029 » 03 Jul 2011, 01:57

Yeah, like I said, the python2 thing is going to be the death of us all. Wish they hadn't started screwing with it. Anyway... wondering if this could possibly do something for the yaourt issue... *crossing fingers
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Help”