Monday, January 28, 2008

PyCrypto install/build problems

Today I was in need of some basic encryption for my django app, and scoured the internet for answers. To my great surprise, this wasn't even listed as a recipe in the Python Cookbook from O'Reilly, but it was easy to find a good tool online, which I did in pycrypto.

However, I had problems building the project on Feisty Fawn using 'python setup.py install', but apt-get came through graciously

# apt-get install python-crypto

Tuesday, January 22, 2008

Installing Erlang on Fiesty Fawn

I have been playing around with a facebook app prototype in Erlang for some time on my dev box and today I decided to try to take it one step further and put it up on my production server.. My dev machine installed erlang and yaws just fine, but the same could not be said about my production server which also was running Ubuntu Feisty Fawn.

Aptitude burped up a nasty message saying:

The following packages have unmet dependencies: erlang-base-hipe: Depends: libc6 ( >= 2.5-0ubuntu1) but 2.4-1ubuntu12.3 is to be installed Depends: libssl0.9.8 (>= 0.9.8c-1) but 0.9.8-c1) but 0.9.8b-2ubuntu2.2 is to be installed

Fastforward to the solution: install it from the edgy universe instead.

# aptitude install erlang-base-hipe -t edgy