s243a wrote:
dropbox-2019.02.14-x86_64.tazpkg
built from deb file, with nautilus patch (see
post)
(untested)
Edit: I get the following error when I try to run dropbox:
Code: Select all
sh-4.4# dropbox start -i
Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox", line 1443, in start
download()
File "/usr/bin/dropbox", line 295, in download
gi.require_version('Gdk', '3.0')
File "/usr/lib/python3.6/site-packages/gi/__init__.py", line 127, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available
I also had to install python3-pygobject manually for some reason. Adding the dependency didn't seem to atomically install this for me. I'll check to see if I spelled it right.
I see that rather than installing python3-pygobject, that I can build it using pip:
Code: Select all
Execute pip3 install pycairo to build and install Pycairo
Execute pip3 install PyGObject to build and install PyGObject
https://pygobject.readthedocs.io/en/lat ... arted.html
Presumably having a devx will be helpful to build these python packages. Fortunately I just built devX:
https://www.dropbox.com/s/0nbhvhfyw6lts ... 4.sfs?dl=0
using a
modified version of mistfires /usr/bin/mk-devx script.
Since I already have this installed (via python3-gobject. I ran the following command:
Code: Select all
pip3 install --upgrade --force-reinstall PyGObject
but it didn't work so I have some troubleshooting to do. The first step is to add the "--no-clean" option so that pip doesn't delete the temporary files.
Edit 2:
Code: Select all
pip3 install --no-clean --upgrade --force-reinstall PyGObject
Now nativate to tmp folder. In my case:
Code: Select all
/tmp/pip-install-r57wjyvc/PyGObject
then try to build with the command:
and I get the error:
Code: Select all
Package 'pixman-1', required by 'cairo', not found
Command '('pkg-config', '--print-errors', '--exists', 'cairo >= 0')' returned non-zero exit status 1.
I have installed xorg-pixman maybe I need to tell pkg-config how to find it.
Edit 3:
The solution was to install xorg-pixman-dev. I also needed to install libpng-dev libpng16-dev
I get now get the error:
Code: Select all
Package 'xcb-shm', required by 'cairo', not found
Command '('pkg-config', '--print-errors', '--exists', 'cairo >= 0')' returned non-zero exit status 1.
I'll try installing the following packages to fix the error:
xorg-libxshmfence-dev xcb-util-xrm-dev xorg-libxcb-dev xorg-xcb-util-dev xorg-xcb-util-cursor-dev xorg-xcb-util-image-dev xorg-xcb-util-keysyms-dev xorg-xcb-util-renderutil-dev xorg-xcb-util-wm-dev
That seemd to solve the issue. I now get the error:
Code: Select all
Package 'xproto', required by 'xau', not found
Command '('pkg-config', '--print-errors', '--exists', 'cairo >= 0')' returned non-zero exit status 1.
I'll try installing xorg-dev-proto to fix this error. That fixed the error.
I now get the error
Code: Select all
Package py3cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `py3cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'py3cairo' found
Command '('pkg-config', '--print-errors', '--exists', 'py3cairo >= 1.11.1')' returned non-zero exit status 1.
I'll install python3-pycairo-dev to see if that fixes the error. That fixed the error.
I new get the error.
Code: Select all
gi/gimodule.c:24:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-slitaz-linux-gcc' failed with exit status 1
I'll try installing python3-dev to fix this error.
I now get the error:
Code: Select all
/usr/include/bits/local_lim.h:38:10: fatal error: linux/limits.h: No such file or directory
#include <linux/limits.h>
^~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-slitaz-linux-gcc' failed with exit status 1
I think that limits.h comes from the kernal sources.