Wednesday, January 9, 2008

Build targets: erlang, yaws, erlyweb

Migrating to another OS, means you have to get, hack, build some apps, to achieve/approximate the same user-experience as the previous OS.

So, my first few build targets for slamd64 were: erlang, yaws, erlyweb.
And some other stuff that are quite handy: valgrind, valkyrie, ddd (dead project).

I had to create some Slackbuilds for erlang and yaws, but erlyweb was the easiest to install.
A Slackbuild in Slackware parlance, means, a script to build a installable archive file, to deploy software on a slackware-ish systems. If anyone wants these Slackbuilds for i386 or x86_64 architectures, just drop a message, and describe a method for me to send you the files.

Installing erlang and yaws, was a bit more elaborate. Luckily, these two support the standard method of building and deploying software i.e. ./configure && make && make install.I always use my tool buildslackbuild to generate slackbuilds, if the standard method is used.
Mental note: Write about buildslackbuild

Erlyweb was easy. All it requires is a symbolic soft link from erlyweb-<version>/ebin to /usr/lib/erlang/lib/erlyweb-<version>

comme ça:

mkdir /usr/lib/erlang/lib/erlyweb-.../
cd /home/user/.../erlyweb-.../ && make
ln -s /home/user/.../erlyweb-.../ebin /usr/lib/erlang/lib/erlyweb-.../

No comments: