Quantcast
Channel: Philipp Klaus's Computing Blog » Ubuntu 11.04
Viewing all articles
Browse latest Browse all 10

FlickrMS – Mounting Flickr as FUSE File System

$
0
0

Requirement: flickcurl

flickcurl is a library to access the Flickr API via C.

On Debian/Ubuntu simply install libflickcurl-dev:

sudo apt-get install libflickcurl-dev

or get the latest dev version:

sudo apt-get install libxml2-dev libcurl4-openssl-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev libgpg-error-dev libraptor1-dev libtasn1-3-dev libxslt1-dev raptor-utils
cd ~/Downloads
git clone git://github.com/dajobe/flickcurl.git
cd flickcurl
./autogen.sh
make
sudo make install

Apply for API keys http://www.flickr.com/services/api/keys/apply/ and change the settings file ~/.flickcurl.conf:

# This file should be installed as ~/.flickcurl.conf or $HOME/.flickcurl.conf
# The fields must be created by registering with Flickr for
# an API key, shared secret and then authenticating.
# See http://librdf.org/flickcurl/api/flickcurl-auth.html for details

auth_token=1234567-8901234567890123
api_key=0123456789abcdef0123456789abcdef
secret=fedcba9876543210

Check all functions of flickcurl:

flickcurl -h

FlickrMS

Read more about FlickrMS in its readme file.

sudo apt-get install libglib2.0-dev
cd ~/Downloads
git clone git://github.com/patrickjennings/FlickrMS.git
cd FlickrMS
make
sudo make install

When using the custom flickcurl version, I currently get the following error:

Package flickcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `flickcurl.pc’ to the PKG_CONFIG_PATH environment variable.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images