Last (but not least) post on Shell-fm: on Windows 7.

You may say I’m in love with shell-fm, and that’s pretty much true since I’m in love with Last.fm, so in love that I want it (shell-fm) also on Windows systems.
Now it’s time to do the installation on a completely development-tools free system. Unlike debian and mac os x, there’s no gcc, make and so on. BAD, really BAD (the whole process is gonna be a 30 minute work, shame on you Windows!)

Let’s try to fix it installing a Unix-like environment with Cygwin!
That’s it, download&install Cygwin.
During installation be sure to select to install at least these packages(use the search toolbar):

gcc,

make,

libao (all that you can find),

pkg-config,

git,

gcc-c++,

gcc-core,

wget,

nano

then hit next and let the tool install the unix system for you.

Begin downloading shell-fm with git.

As for the mac version, install libmad manually, giving a

wget http://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz

(version may differ or maybe not, it’s an old project) in a cygwin terminal session and then ‘unzipp it’ with

tar -zxvf libmad-0.15.1b.tar.gz

then procede with the usual process of ./configure , make e make install ( not as root, cygwin does not have a root user).

Go here for libmad installation process and shell-fm installation process: now that we have a unix system with cygwin it’s is pretty much the same thing on windows too
https://piergiu.wordpress.com/2012/07/23/again-shell-fm/
The only thing to do is to copy libmad libraries into the right place, like so:

cd /usr/local/lib/
cp * /usr/lib/gcc/i686-pc-cygwin/3.4.4/

and then do make of shell-fm, and make install.
Now a bunch of images during the process. Enjoy!

Questo slideshow richiede JavaScript.

HUGE BONUS!!!

Morrissey with a cat on his head

Morrissey with a cat on his head

OcaIDE, Eclipse, ocaml, unix

/bin/sh: ocamlc: command not found

is what you get?

There’s a problem in your PATH, locate your ocaml installation dirs, like /usr/local/bin and /usr/local/lib/ocaml and export them into the path, then launch eclipse from the same environment as the one you’ve just created from your terminal (where you launched the export command), with ./eclipse and stuff, you know that part.
Now eclipse+ocaide should do its job.

 

You don’t believe me, don’t you? I’m also running the debugger! I can now finally understand certain pieces of code running under the hood!

Stupid Things

Do not name your .py file like a library you are going to use.

.../user$ python curses.py
 Traceback (most recent call last):
 File "curses.py", line 4, in
 import curses
 File "/Users/user/Documents/python/curses.py", line 6, in
 stdscr = curses.initscr()
 AttributeError: 'module' object has no attribute 'initscr'


This is an example of a typical “between chair and keyboard”-error.