LCDproc development and user support list

Text archives Help


[Lcdproc] hmmm, compile for OS X


Chronological Thread 
  • From: spam AT codeofficer.com (Russell Jones)
  • Subject: [Lcdproc] hmmm, compile for OS X
  • Date: Thu Nov 30 22:33:03 2006

Ok,

I've tried specifying curses and configure no longer complains about that driver, instead i get a complaint about the cfontz driver as such:

configure: error: Unknown driver cfontz

I'm also a little unsure how to "patch the code" as you mentioned so as not to use nested functions.

-Russ

On Nov 30, 2006, at 6:49 AM, Robert Buchholz wrote:

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


_______________________________________________
LCDproc mailing list
LCDproc AT lists.omnipotent.net
http://lists.omnipotent.net/mailman/listinfo/lcdproc


Ok, 

I've tried specifying curses and configure no longer complains about that driver, instead i get a complaint about the cfontz driver as such:

configure: error: Unknown driver cfontz

I'm also a little unsure how to "patch the code" as you mentioned so as not to use nested functions.

-Russ

On Nov 30, 2006, at 6:49 AM, Robert Buchholz wrote:

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


_______________________________________________
LCDproc mailing list





Archive powered by MHonArc 2.6.18.

Top of page