compiling nautilus-dropbox for powerpc

Need help with C, C++, perl, python, etc?

compiling nautilus-dropbox for powerpc

Postby ricanlinux » 2015-01-17 20:36

I am wanting to get be able to upload and get stuff from dropbox on my powerpc install of wheezy. Debian does not have the app for powerpc machine in stable or tersting. There is a thunar extension in sid but i do not want to risk breaking my system so I decided to grab the wheezy source and compile myself. I am sure I have all the dependancies however I am I am getting this error. I tried searching for a soulution but the internet has not helped me. see below

rican-linux@debian-ppc:~/Build/source/nautilus-dropbox-1.4.0$ debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package nautilus-dropbox
dpkg-buildpackage: source version 1.4.0-3
dpkg-buildpackage: source changed by Raphaël Hertzog <hertzog@debian.org>
dpkg-source --before-build nautilus-dropbox-1.4.0
dpkg-buildpackage: host architecture powerpc
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
fakeroot debian/rules clean
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
dh /usr/share/cdbs/1/class/cmake.mk --with=python2,autoreconf
dh: No packages to build.
dh /usr/share/cdbs/1/rules/debhelper.mk --with=python2,autoreconf
dh: No packages to build.
dh clean --with=python2,autoreconf
dh: No packages to build.
dpkg-source -b nautilus-dropbox-1.4.0
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building nautilus-dropbox using existing ./nautilus-dropbox_1.4.0.orig.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.debian.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.dsc
debian/rules build
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
dh /usr/share/cdbs/1/class/cmake.mk --with=python2,autoreconf
dh: No packages to build.
dh /usr/share/cdbs/1/rules/debhelper.mk --with=python2,autoreconf
dh: No packages to build.
dh build --with=python2,autoreconf
dh: No packages to build.
fakeroot debian/rules binary
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory
dh /usr/share/cdbs/1/class/cmake.mk --with=python2,autoreconf
dh: No packages to build.
dh /usr/share/cdbs/1/rules/debhelper.mk --with=python2,autoreconf
dh: No packages to build.
dh binary --with=python2,autoreconf
dh: No packages to build.
dpkg-genchanges >../nautilus-dropbox_1.4.0-3_powerpc.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed
ricanlinux
 
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

Postby stevepusser » 2015-01-18 00:55

It appears you need a version of cdbs installed that provides those files:

Code: Select all
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory


The wheezy version does have those.

This points to some issue, since debuild will check for those build-deps. What is listed in your debian/control file?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8937
Joined: 2009-10-06 05:53

Re: compiling nautilus-dropbox for powerpc

Postby ricanlinux » 2015-01-18 03:51

Here is my control file. I notice that cdbs was not installed so I installed and will try again.


rican-linux@debian-ppc:~/Build/source/nautilus-dropbox-1.4.0$ cat debian/control
Source: nautilus-dropbox
Section: non-free/gnome
Priority: optional
Maintainer: Raphaël Hertzog <hertzog@debian.org>
Build-Depends: debhelper (>= 8), libnautilus-extension-dev (>= 2.16.0), libglib2.0-dev (>= 2.14.0), python-gtk2 (>= 2.12), python-docutils (>= 0.6), python (>= 2.6.6-3~), dh-autoreconf
Standards-Version: 3.9.3
XS-Autobuild: yes
Homepage: http://www.dropbox.com/
Vcs-Git: git://git.debian.org/collab-maint/nautilus-dropbox.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=col ... ropbox.git

Package: nautilus-dropbox
Architecture: i386 amd64
Depends: procps, python-gtk2 (>= 2.12), python-gpgme, policykit-1, ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
Suggests: nautilus
Conflicts: dropbox
Description: Dropbox integration for Nautilus
Nautilus Dropbox is an extension that integrates the Dropbox web service with
your GNOME Desktop.
.
Installing this package will download the proprietary dropbox binary
from dropbox.com.
ricanlinux
 
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

Postby ricanlinux » 2015-01-18 03:53

still failed. Here is what I get


rican-linux@debian-ppc:~/Build/source/nautilus-dropbox-1.4.0$ debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package nautilus-dropbox
dpkg-buildpackage: source version 1.4.0-3
dpkg-buildpackage: source changed by Raphaël Hertzog <hertzog@debian.org>
dpkg-source --before-build nautilus-dropbox-1.4.0
dpkg-buildpackage: host architecture powerpc
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
fakeroot debian/rules clean
dh clean --with=python2,autoreconf
dh: No packages to build.
dpkg-source -b nautilus-dropbox-1.4.0
dpkg-source: info: using options from nautilus-dropbox-1.4.0/debian/source/options: --compression=bzip2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building nautilus-dropbox using existing ./nautilus-dropbox_1.4.0.orig.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.debian.tar.bz2
dpkg-source: info: building nautilus-dropbox in nautilus-dropbox_1.4.0-3.dsc
debian/rules build
dh build --with=python2,autoreconf
dh: No packages to build.
fakeroot debian/rules binary
dh binary --with=python2,autoreconf
dh: No packages to build.
dpkg-genchanges >../nautilus-dropbox_1.4.0-3_powerpc.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed
ricanlinux
 
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

Postby stevepusser » 2015-01-18 05:56

You have an odd debian/rules file; I looked at the debian wheezy one, and it does not mention the cdbs .mk files:

Code: Select all
#!/usr/bin/make -f

%:
   dh $@ --with=python2,autoreconf

override_dh_autoreconf:
   dh_autoreconf --as-needed

override_dh_makeshlibs:
   # Don't generate a shlibs file for the plugin
   dh_makeshlibs -X/usr/lib/nautilus/

override_dh_auto_install:
   dh_auto_install
   # Drop useless files
   rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.a
   rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.la


So you have to find out why your files are different.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8937
Joined: 2009-10-06 05:53

Re: compiling nautilus-dropbox for powerpc

Postby ricanlinux » 2015-01-18 06:59

my debian/rules file is the same as the one you posted

Code: Select all
#!/usr/bin/make -f

%:
   dh $@ --with=python2,autoreconf

override_dh_autoreconf:
   dh_autoreconf --as-needed

override_dh_makeshlibs:
   # Don't generate a shlibs file for the plugin
   dh_makeshlibs -X/usr/lib/nautilus/

override_dh_auto_install:
   dh_auto_install
   # Drop useless files
   rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.a
   rm -f debian/nautilus-dropbox/usr/lib/nautilus/extensions-*/libnautilus-dropbox.la
ricanlinux
 
Posts: 63
Joined: 2007-05-02 00:02

Re: compiling nautilus-dropbox for powerpc

Postby stevepusser » 2015-01-18 21:02

The build log in your first post is saying that's not the case:

Code: Select all
debian/rules:2: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
debian/rules:3: /usr/share/cdbs/1/class/cmake.mk: No such file or directory


It's saying those are lines 2 and 3 of the rules file.

Anyway, you would not get dropbox to work, anyway, because every version in Debian is broken, plus I don't think Dropbox ever compiled a powerpc version of their software. The Debian nautilus-dropbox used to download the i386 or amd64 client from the Net, but Dropbox has changed.

See: http://forum.mepiscommunity.org/viewtop ... 04&t=37555

I use copy.com myself, but their client is Intel-based only, too. You probably could use their web interface. Or an open-source alternative to Dropbox.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8937
Joined: 2009-10-06 05:53

Re: compiling nautilus-dropbox for powerpc

Postby ricanlinux » 2015-01-18 22:07

Well that stinks to hear! I am trying to transfer video and photo files from my iphone to my powerbook. I am able to mount and transfer music to using the tutorial on the Debia wiki. However I cannot transfer my vidoes I made on my iphone. I found out that I can send them to google drive and pull them from there, but I am looking for other ways. I think I can also set up an Own Clound server to do it. Just trying to see what my options are. Thanks again for all your help.
ricanlinux
 
Posts: 63
Joined: 2007-05-02 00:02


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable