A zc.buildout that installs the Dropbox daemon and glibc-2.4 on a Linux x86_64 system without glibc-2.4 (e.g.: DreamHost VPS)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
bootstrap.py
buildout.cfg

README.md

dropbox_linux_x86_64_glibc2.4_buildout

A zc.buildout that installs the Dropbox daemon and glibc-2.4 on a Linux x86_64 system without glibc-2.4 (e.g.: DreamHost VPS)

By Marc Abramowitz http://marc-abramowitz.com

This is an attempt to make repeatable the process that I followed to install Dropbox on my DreamHost VPS. This was tricky because the Dropbox software is closed-source and it contains binaries compiled against glibc 2.4, whereas my VPS server is using glibc 2.3. This buildout downloads and compiles glibc 2.4 and installs it in a sandbox with the Dropbox software. It also sets up Supervisor and uses it to manage the Dropbox daemon.

Installation

$ export TMPDIR=$(pwd)/tmp; mkdir ${TMPDIR}; python bootstrap.py && bin/buildout
...
Installing dropbox.
Downloading http://www.dropbox.com/download/?plat=lnx.x86_64
dropbox: Extracting package to /home/msabramo/dropbox_linux_x86_64_glibc2.4_buildout/parts/dropbox
Installing dropbox-fix.
patching file parts/dropbox/.dropbox-dist/dropboxd
Installing supervisor.
Develop distribution: supervisor 3.0a10
uses namespace packages but the distribution does not require setuptools.
Generated script '/home/msabramo/dropbox_linux_x86_64_glibc2.4_buildout/bin/supervisord'.
Develop distribution: supervisor 3.0a10
uses namespace packages but the distribution does not require setuptools.
Develop distribution: supervisor 3.0a10
uses namespace packages but the distribution does not require setuptools.
Generated script '/home/msabramo/dropbox_linux_x86_64_glibc2.4_buildout/bin/supervisorctl'.

$ bin/supervisord
$ bin/supervisorctl
dropbox                         RUNNING    pid 15199, uptime 0:00:05