Installing Gmail Filesystem
Gmail Filesystem no longer works with the latest Gmail interface, and will not be maintained in the future. Fortunately Dave Hansen has converted the code to use IMAP instead of the Gmail UI, please look at Dave's IMAP Gmailfs page for details.
- Make sure you have Python 2.3 (or later) installed. Most Linux distributions will have their own package for this (you'll also need the appropriate python2.3-dev packages).
- Recent kernels include FUSE by default. If you run an older kernel you will need to install version 2.x of FUSE. Some Linux distributions (such as Debian) come with a package. If your distro doesn't, you can find the source at FUSE's SourceForge download page. Depending on your platform you may have to copy fusermount to /usr/bin for correct operation.
-
Download the Python FUSE bindings from FUSE's CVS repository.
Checkout the python module using:
cvs -d:pserver:anonymous@fuse.cvs.sourceforge.net:/cvsroot/fuse co -P python
Then follow the instructions in python/INSTALL. -
Download a copy of libgmail. Recent releases currently work however if you experience problems you may wish to grab the CVS version of libgmail by f ollowing the instructions here. After downloading (or checking out) the file, copy libgmail.py and lgconstants.py to somewhere Python can find them (/usr/local/lib/python2.3/site-packages/ works for Debian, others may vary).
-
Download gmailfs-0.8.0.tar.gz. After untarring, copy gmailfs.py to somewhere easily accessible (for example, /usr/local/bin/gmailfs.py). Copy mount.gmailfs to the /sbin directory.
>