[Pianod] Build 111 - user persistence changes

Perette Barella perette at barella.org
Tue Feb 12 16:54:34 PST 2013


> It looks like the (pianod) Makefile still needs to be updated with -lcrypt if __linux__
I've added that, it'll be in the next version when I get to that.

> egfault from the call to crypt() again.  Only on my FC machine though, not on ALARM or Raspbian.  Seems like #include <crypt.h> does not necessarily get it to /usr/include/crypt.h instead of .../src/libpiano/crypt.h.  

This is really a fault with the Makefile.  We should be compiling the libraries individually and then linking them.

What we really need is someone who knows Makefiles to rewrite and fix this one, preferably using one of the cross-platform build systems like autoconfig.  I looked into it a few months back, but it's too far outside my expertise.

> The only way to get the segfault to go away on my current system was to rename libpiano/crypt.h to libpiano/libpianocrypt.h.  This of course meant also changing: libpiano/crypt.c libpiano/request libpiano/response and the Makefile.

That would work around it for now.

Perette




More information about the Pianod mailing list