[Lcdproc] hmmm, compile for OS X
Robert Buchholz
rob@thetruth.de
Thu Nov 30 11:54:02 2006
Hi Russel,
Am 30.11.2006 um 11:57 schrieb Russell Jones:
> I've downloaded the latest current nightly build, and when I cd
> into the directory and do a:
>
> ./configure --prefix=/usr/local --enable-drivers=ncurses,cfontz
>
> it complains that:
>
> configure: checking for which drivers to compile...
> configure: error: Unknown driver ncurses
Try "curses", not "ncurses" for the driver's name.
> configfile.c: In function 'config_read_string':
> configfile.c:139: error: nested functions are disabled, use -
> fnested-functions to re-enable
> [...]
Adding "-fnested-functions" to your CFLAGS should help here.
But in the end, it might be a good idea to patch the code and not use
nested functions at all for the sake of having the stack not set
executable.
Regards,
Robert