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 10:59:04 2006

I'm trying to get LCDProc to compile on OSX as the title says, specifically for my new 3ghz Mac Pro (intel)

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

but if i do a:

./configure --prefix=/usr/local --enable-drivers=all

... the configure finishes fine, so i then try a make and get:

make all-recursive
Making all in shared
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused- function -MT LL.o -MD -MP -MF ".deps/LL.Tpo" \
-c -o LL.o `test -f 'LL.c' || echo './'`LL.c; \
then mv -f ".deps/LL.Tpo" ".deps/LL.Po"; \
else rm -f ".deps/LL.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused- function -MT sockets.o -MD -MP -MF ".deps/sockets.Tpo" \
-c -o sockets.o `test -f 'sockets.c' || echo './'`sockets.c; \
then mv -f ".deps/sockets.Tpo" ".deps/sockets.Po"; \
else rm -f ".deps/sockets.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused- function -MT str.o -MD -MP -MF ".deps/str.Tpo" \
-c -o str.o `test -f 'str.c' || echo './'`str.c; \
then mv -f ".deps/str.Tpo" ".deps/str.Po"; \
else rm -f ".deps/str.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused- function -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" \
-c -o configfile.o `test -f 'configfile.c' || echo './'`configfile.c; \
then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; \
else rm -f ".deps/configfile.Tpo"; exit 1; \
fi
configfile.c: In function 'config_read_string':
configfile.c:139: error: nested functions are disabled, use -fnested- functions to re-enable
make[2]: *** [configfile.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

what am i doing wrong exactly? I'm pretty new at this as you can tell. Have any of you compiled successfully on a mac pro yet?

I should note, i have darwinports installed already and ncurses is working fine under tiger.

-RussI'm trying to get LCDProc to compile on OSX as the title says, specifically for my new 3ghz Mac Pro (intel)

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

but if i do a:

./configure --prefix=/usr/local --enable-drivers=all

... the configure finishes fine, so i then try a make and get:

make  all-recursive
Making all in shared
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I..   -Wall  -O3 -Wno-unused-function -MT LL.o -MD -MP -MF ".deps/LL.Tpo" \
  -c -o LL.o `test -f 'LL.c' || echo './'`LL.c; \
then mv -f ".deps/LL.Tpo" ".deps/LL.Po"; \
else rm -f ".deps/LL.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I..   -Wall  -O3 -Wno-unused-function -MT sockets.o -MD -MP -MF ".deps/sockets.Tpo" \
  -c -o sockets.o `test -f 'sockets.c' || echo './'`sockets.c; \
then mv -f ".deps/sockets.Tpo" ".deps/sockets.Po"; \
else rm -f ".deps/sockets.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I..   -Wall  -O3 -Wno-unused-function -MT str.o -MD -MP -MF ".deps/str.Tpo" \
  -c -o str.o `test -f 'str.c' || echo './'`str.c; \
then mv -f ".deps/str.Tpo" ".deps/str.Po"; \
else rm -f ".deps/str.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I..   -Wall  -O3 -Wno-unused-function -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" \
  -c -o configfile.o `test -f 'configfile.c' || echo './'`configfile.c; \
then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; \
else rm -f ".deps/configfile.Tpo"; exit 1; \
fi
configfile.c: In function 'config_read_string':
configfile.c:139: error: nested functions are disabled, use -fnested-functions to re-enable
make[2]: *** [configfile.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

what am i doing wrong exactly? I'm pretty new at this as you can tell. Have any of you compiled successfully on a mac pro yet?

I should note, i have darwinports installed already and ncurses is working fine under tiger.

-Russ



Archive powered by MHonArc 2.6.18.

Top of page