December 6, 2008

Trying Erlang

I tested DB and Yaws a bit, and found DB access wasn't working for Solaris version of Erlang.  After some digging, I found that iodbc does not work.  There are two (open source) flavors for ODBC in Unix.  iodbc and unixODBC.  I recompiled Erlang with unixODBC, and DB access works --- sort of.  Still some SQL doesn't work properly, and I haven't figured it out yet.  But it's good enough to test Erlang and Yaws for now.  For Ubuntu, no problem.  Installing Erlang, ODBC, and Yaws were effortless.  But I like Sparc Solaris I use at home. :-)  It's quite old, but still have enough disk space, RAM and works extremely well.

unixODBC: http://www.unixodbc.org/

One thing about Yaws on Solaris -- while I was building Yaws, I got an error from 'id' with option '-u'.  This is due to Solaris 9's 'id' (located in /usr/bin) doesn't support -u option.  I temporarily changed GNU's 'gid' to 'id' and it built correctly.

No comments:

Post a Comment