Linux Common Lisp Quickstart HOWTO

Due to some questions on #lisp, I decided to throw together a quick, step-by-step solution to setting up a basic, but working, Common Lisp installation on Linux. The implementation used will be SBCL

This HOWTO assumes basic linux knowledge as well as knowledge of your distro’s package management system.

  1. Install SBCL from your distro’s repo or download binary build from SBCL website
  2. Install Emacs – I recommend Emacs-22 or 23. Again, for fast install, I recommend going with your distro packages – if you need/want specially patched version, you probably don’t need my hand-holding
  3. Install clbuild
  4. run cd clbuild; ./clbuild check and install any remaining dependencies.
  5. Depending on your distro SBCL packages, install local build of SBCL through ./clbuild compile-implementation sbcl. It will be used by clbuild after that and saved in ./clbuild/target
  6. Install SLIME: ./clbuild install slime
    and configure it by adding result of ./clbuild slime-configuration to your emacs config. I recommend switching slime-autodoc to t
  7. Test it by running emacs and invoking M-x slime
  8. Now go over to Cliki and maybe entertain yourself to Practical Common Lisp

Update:2010-04-10: Fixed links broken by lack of wildcard entry on sbcl.org

Advertisements

Broadcom 4318, ndiswrapper and wpa_supplicant under Linux

I don’t know about others, but for a long time I had problems with using WPA with my Broadcom wireless card in Ruri. Thankfully all troubles are now gone :)

The steps for a working wpa_supplicant are simple:

  1. Download the latest wpa_supplicant. I recommend at least version 6.3 (5.x didn’t work for me)
  2. Install it and configure it to use Linux Wireless Extensions driver interface, for example by supplying -Dwext to it’s command-line options. Exact configuration depends on your linux distribution – on Gentoo it’s a wpa_supplicant_interface="-Dwext -iinterface" line in /etc/conf.d/net
  3. Start it up and voila – wpa_supplicant should be able to properly associate with networks from now on. Do some checking with wpa_gui

Happy wireless surfing :)


HOWTO Get SMC FastIR IRDA to work under linux

Requirements:

  • Knowledge how to modify module set of kernel or roll your own
  • linux 2.6.x
  • Laptop with SMC IrDA chip

Many laptops nowadays come with IrDA served through an SMC IrCC SIR/FIR controller. Unfortunately, it’s setup is not done “by default”, leading people to think that IrDA simply doesn’t works. This is not true. Here’s a howto (not full, you have to read your distro’s manuals about how to adapt it to your system. Console commands however are universal on 99% percent of distros)

Read the rest of this entry »