From poking at config.log, looks like the OpenSSL detection fails because socket is not linked in. I did an export CFLAGS=-lsocket and export LDFLAGS=-lsocket At this point compile seems to go okay through digestmd5.lo, but fails later on auth_getpwent.c I found a patch posted for that that seems to work, so now compiles okay, have yet to test.