Nevermind, fixed it. For the benefit of others if they have this problem:
According to a Debian bug report,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448165, this is an issue with the 1.3 version of libevent using a BSD-only macro. It is fixed in version 1.4.11, which I downloaded from here:
http://monkey.org/~provos/libevent/.
That fixed the *build* problem with Socket, however, I still got the exception,
Socket -
Exception: Error loading object '/usr/local/lib/io/addons/Socket/_build/dll/libIoSocket.so': '/usr/local/lib/io/addons/Socket/_build/dll/libIoSocket.so: undefined symbol: IoEvRequest_proto'
---------
open AddonLoader.io 65
Object Socket SocketTest.io 1
TestSuite run run.io 2
PASSED
I tried all of the following:
* Used apt-get to remove libevent-dev 1.3
* Then rebuilt and installed libevent 1.4 from source
* Changed libevent's install directory from /usr/local/lib to /usr/lib
* Ran ldconfig every which way
* Rebuilt libevent1.4 and Io multiple times (doing make clean first)
Nothing I did got rid of the 1.3 .so files in my /usr/lib, so in frustration I finally rm'ed all of the libevent.1.3* files from my system! There was now no *possible* reference to them - except, if I did an ls -lah /usr/lib, there they freaking were, linked to from libevent.so. Argh. For some reason, running ldconfig one more time changed the link to point to 1.4 after this.
After that I ran make all && make test. This time I got a different error:
Socket -
Exception: Error loading object '/usr/local/lib/io/addons/Socket/_build/dll/libIoSocket.so': 'libevent-1.3e.so.1: cannot open shared object file: No such file or directory'
---------
open AddonLoader.io 65
Object Socket SocketTest.io 1
TestSuite run run.io 2
PASSED
But now I knew I was on the right track so I ran sudo make install on Io, and then when I ran make test again, Socket worked.