LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How you access dropbox? (http://www.linuxquestions.org/questions/slackware-14/how-you-access-dropbox-4175437949/)

narke 11-20-2012 07:17 AM

How you access dropbox?
 
I tried to install dropbox client got from its office web site. The the packages claim that it need libnautilus-extension package which seems depends on gnome. I know, slack don't have gnome. How you access dropbox? Need to install gnome and libautilus-extension?

Thanks.

allend 11-20-2012 07:26 AM

The SlackBuild worked fine for me. In KDE, an icon will appear. http://slackbuilds.org/repository/14.0/network/dropbox/

Alien Bob 11-20-2012 07:30 AM

Check out http://slackware.com/~alien/slackbuilds/dropbox-client/

It is my re-packaging of the fedora RPM and does some smart stuff to make it work without Gnome and with Slackware.
First time you start the client, it will download the Dropbox daemon automatically.
You will end up with a dropbox icon in your system tray. Opening the dropbox directory will work using the desktop environment's default file manager (dolphin in KDE, Thunar in XFCE)

Eric

narke 11-27-2012 12:06 AM

By installing Alien's client together with the slackbuilds's syncing daemon, it works great! Thanks a lot!

dimm0k 12-19-2012 09:58 AM

I'm getting the following in my attempt to package the dropbox client... am I missing something?

Code:

An installation script was detected in ./install/doinst.sh, but
was not executed.
mv: cannot stat ‘/tmp/build/package-dropbox-client/usr/share/man’: No such file or directory
./dropbox-client.SlackBuild FAILED at line 213


dimm0k 12-21-2012 11:28 PM

does dropbox require multilib?

chrisretusn 12-21-2012 11:44 PM

No, I am running it (Alien Bob's) on Slackware64

dimm0k 12-23-2012 07:36 PM

weird... i can't get it to package using the SlackBuild...

chrisretusn 12-24-2012 07:46 AM

Builds just fine for me. Any errors? Are you running it as root?

dimm0k 12-24-2012 11:38 PM

Yep, running it as root... bombs shortly after unpacking the rpm with this

Code:

An installation script was detected in ./install/doinst.sh, but
was not executed.
mv: cannot stat ‘/tmp/build/package-dropbox-client/usr/share/man’: No such file or directory
./dropbox-client.SlackBuild FAILED at line 213


chrisretusn 12-25-2012 10:20 PM

Strange?

Perhaps the rpm is corrupt. Delete the rpm file(s) from your build directory to force Alien Bob's script to download the needed rpm file. Then run the script again as root (su -).

The only other thing I can think of is a permissions problem in /tmp

Alien Bob 12-26-2012 03:14 AM

Also, there is a lot more output from the SlackBuild than you showed us. Paste the full output so we can havea better look.

Eric

dimm0k 12-26-2012 08:34 PM

Ok, so I removed the .rpm to let the script download it fresh and still no go. Permissions on my /tmp are drwxrwxrwt and mounted as

Code:

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,mode=1777,size=4G)
Here's the full output when I execute the script...

Code:

Source 'nautilus-dropbox-1.4.0-1.fedora.x86_64.rpm' not available yet...                                                                                                                                                                                                     
Will download file to /usr/custom/src/slackware/dropbox/client                                                                                                                                                                                                               
2012-12-26 21:31:22 URL:http://linux.dropbox.com/packages/fedora/nautilus-dropbox-1.4.0-1.fedora.x86_64.rpm [98739/98739] -> "/usr/custom/src/slackware/dropbox/client/nautilus-dropbox-1.4.0-1.fedora.x86_64.rpm" [1]                                                       
++                                                                                                                                                                                                                                                                           
|| dropbox-client-1.4.0                                                                                                                                                                                                                                                       
++                                                                                                                                                                                                                                                                           
Extracting the archive(s) for dropbox-client...                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                             
Slackware package maker, version 3.14159.                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                             
Searching for symbolic links:                                                                                                                                                                                                                                                 
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-3.0/libnautilus-dropbox.so -> ../extensions-2.0/libnautilus-dropbox.so                                                                                                                                   
                                                                                                                                                                                                                                                                             
Making symbolic link creation script:                                                                                                                                                                                                                                         
( cd nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-3.0 ; rm -rf libnautilus-dropbox.so )                                                                                                                                                               
( cd nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-3.0 ; ln -sf ../extensions-2.0/libnautilus-dropbox.so libnautilus-dropbox.so )                                                                                                                     
                                                                                                                                                                                                                                                                             
It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed ‘./nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-3.0/libnautilus-dropbox.so’

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/build/tmp-dropbox-client/nautilus-dropbox-1.4.0-1.fedora.x86_64.tgz

./
install/
install/doinst.sh
nautilus-dropbox-1.4.0-1.fedora.x86_64/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-uptodate.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-uptodate.icon
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-unsyncable.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-unsyncable.icon
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-syncing.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-syncing.icon
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/man/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/man/man1/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/man/man1/dropbox.1.gz
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/64x64/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/64x64/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/64x64/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/48x48/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/48x48/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/48x48/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/32x32/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/32x32/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/32x32/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/256x256/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/256x256/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/256x256/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/24x24/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/24x24/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/24x24/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/22x22/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/22x22/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/22x22/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/16x16/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/16x16/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/16x16/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/applications/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/applications/dropbox.desktop
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-3.0/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-2.0/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-2.0/libnautilus-dropbox.so
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/bin/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/bin/dropbox

Slackware package /tmp/build/tmp-dropbox-client/nautilus-dropbox-1.4.0-1.fedora.x86_64.tgz created.

Exploding package /tmp/build/tmp-dropbox-client/nautilus-dropbox-1.4.0-1.fedora.x86_64.tgz in current directory:
./
install/
install/doinst.sh
nautilus-dropbox-1.4.0-1.fedora.x86_64/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-uptodate.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-uptodate.icon
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-unsyncable.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-unsyncable.icon
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-syncing.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/nautilus-dropbox/emblems/emblem-dropbox-syncing.icon
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/man/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/man/man1/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/man/man1/dropbox.1.gz
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/64x64/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/64x64/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/64x64/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/48x48/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/48x48/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/48x48/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/32x32/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/32x32/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/32x32/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/256x256/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/256x256/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/256x256/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/24x24/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/24x24/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/24x24/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/22x22/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/22x22/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/22x22/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/16x16/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/16x16/apps/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/icons/hicolor/16x16/apps/dropbox.png
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/applications/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/share/applications/dropbox.desktop
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-3.0/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-2.0/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/lib64/nautilus/extensions-2.0/libnautilus-dropbox.so
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/bin/
nautilus-dropbox-1.4.0-1.fedora.x86_64/usr/bin/dropbox

An installation script was detected in ./install/doinst.sh, but
was not executed.
mv: cannot stat ‘/tmp/build/package-dropbox-client/usr/share/man’: No such file or directory
./dropbox-client.SlackBuild FAILED at line 213


chrisretusn 12-26-2012 11:56 PM

Well I don't see anything out of the ordinary in your post above. I don't put my /tmp on tmpfs, but that should not cause this problem. Just for kicks, I put /tmp on tmpfs using same parameters you have shown. The script run fine.

Have you modified Alien Bob's script?

Alien Bob 12-27-2012 03:02 AM

I guess you are not running real Slackware then but some derivative distro? OR else you have replaced one or more original Slackware packages with some from another distro?

The rpm2tgz command on your computer creates the toplevel directory "nautilus-dropbox-1.4.0-1.fedora.x86_64/" in the resulting .tgz file. On Slackware however, the resulting .tgz file does not contain "nautilus-dropbox-1.4.0-1.fedora.x86_64/" as toplevel directory. I quickly verified this on Slackware 13.37 and 14.0 and it has not been different in earlier versions either.

This is what the rpm2tgz command (which is used in dropbox-client.SlackBuild to extract the Fedora RPM) does on my machine. See the difference?
Code:

# rpm2tgz nautilus-dropbox-1.4.0-1.fedora.x86_64.rpm

Slackware package maker, version 3.14159.

Searching for symbolic links:
usr/lib64/nautilus/extensions-3.0/libnautilus-dropbox.so -> ../extensions-2.0/libnautilus-dropbox.so

Making symbolic link creation script:
( cd usr/lib64/nautilus/extensions-3.0 ; rm -rf libnautilus-dropbox.so )
( cd usr/lib64/nautilus/extensions-3.0 ; ln -sf ../extensions-2.0/libnautilus-dropbox.so libnautilus-dropbox.so )

It is recommended that you make these lines your new installation script.

Would you like to make this stuff the install script for this package
and remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed `./usr/lib64/nautilus/extensions-3.0/libnautilus-dropbox.so'

Creating your new ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/nautilus-dropbox-1.4.0-1.fedora.x86_64.tgz

./
usr/
usr/bin/
usr/bin/dropbox
usr/lib64/
usr/lib64/nautilus/
usr/lib64/nautilus/extensions-2.0/
usr/lib64/nautilus/extensions-2.0/libnautilus-dropbox.so
usr/lib64/nautilus/extensions-3.0/
usr/share/
usr/share/man/
usr/share/man/man1/
usr/share/man/man1/dropbox.1.gz
usr/share/applications/
usr/share/applications/dropbox.desktop
usr/share/nautilus-dropbox/
usr/share/nautilus-dropbox/emblems/
usr/share/nautilus-dropbox/emblems/emblem-dropbox-unsyncable.png
usr/share/nautilus-dropbox/emblems/emblem-dropbox-uptodate.png
usr/share/nautilus-dropbox/emblems/emblem-dropbox-uptodate.icon
usr/share/nautilus-dropbox/emblems/emblem-dropbox-unsyncable.icon
usr/share/nautilus-dropbox/emblems/emblem-dropbox-syncing.png
usr/share/nautilus-dropbox/emblems/emblem-dropbox-syncing.icon
usr/share/icons/
usr/share/icons/hicolor/
usr/share/icons/hicolor/48x48/
usr/share/icons/hicolor/48x48/apps/
usr/share/icons/hicolor/48x48/apps/dropbox.png
usr/share/icons/hicolor/256x256/
usr/share/icons/hicolor/256x256/apps/
usr/share/icons/hicolor/256x256/apps/dropbox.png
usr/share/icons/hicolor/64x64/
usr/share/icons/hicolor/64x64/apps/
usr/share/icons/hicolor/64x64/apps/dropbox.png
usr/share/icons/hicolor/16x16/
usr/share/icons/hicolor/16x16/apps/
usr/share/icons/hicolor/16x16/apps/dropbox.png
usr/share/icons/hicolor/24x24/
usr/share/icons/hicolor/24x24/apps/
usr/share/icons/hicolor/24x24/apps/dropbox.png
usr/share/icons/hicolor/22x22/
usr/share/icons/hicolor/22x22/apps/
usr/share/icons/hicolor/22x22/apps/dropbox.png
usr/share/icons/hicolor/32x32/
usr/share/icons/hicolor/32x32/apps/
usr/share/icons/hicolor/32x32/apps/dropbox.png
install/
install/doinst.sh
WARNING:  /usr/share/man (with possibly not gzipped man pages) detected

Slackware package /tmp/nautilus-dropbox-1.4.0-1.fedora.x86_64.tgz created.



All times are GMT -5. The time now is 10:47 PM.