[Lcdproc] hmmm, compile for OS X
Russell Jones
spam@codeofficer.com
Thu Nov 30 10:59:04 2006
--Apple-Mail-1--254013818
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
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.
-Russ
--Apple-Mail-1--254013818
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><FONT class=3D"Apple-style-span" =
face=3D"Courier">I'm trying to get LCDProc to compile on OSX as the =
title says, specifically for my new 3ghz Mac Pro =
(intel)</FONT><DIV><FONT class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier">I've downloaded the latest =
current nightly build, and when I=A0cd into the directory and do =
a:</FONT></DIV><DIV><FONT class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><B>./configure =
--prefix=3D/usr/local =
--enable-drivers=3Dncurses,cfontz</B></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier">it</FONT><FONT =
class=3D"Apple-style-span" face=3D"Courier"> complains =
that:</FONT></DIV><DIV><FONT class=3D"Apple-style-span" =
face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><B>configure: checking for =
which drivers to compile...</B></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><B>configure: error: Unknown =
driver ncurses</B></FONT></DIV><DIV><FONT class=3D"Apple-style-span" =
face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier">but if i do =
a:</FONT></DIV><DIV><FONT class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><B>./configure =
--prefix=3D/usr/local --enable-drivers=3Dall</B></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier">... the configure finishes =
fine, so i then try a make and get:</FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><B>make=A0 =
all-recursive</B></DIV><DIV><B>Making all in shared</B></DIV><DIV><B>if =
gcc -DHAVE_CONFIG_H -I. -I. -I..=A0 -I..=A0=A0 -Wall=A0 -O3 =
-Wno-unused-function -MT LL.o -MD -MP -MF ".deps/LL.Tpo" =
\</B></DIV><DIV><B>=A0 -c -o LL.o `test -f 'LL.c' || echo './'`LL.c; =
\</B></DIV><DIV><B>then mv -f ".deps/LL.Tpo" ".deps/LL.Po"; =
\</B></DIV><DIV><B>else rm -f ".deps/LL.Tpo"; exit 1; =
\</B></DIV><DIV><B>fi</B></DIV><DIV><B>if gcc -DHAVE_CONFIG_H -I. -I. =
-I..=A0 -I..=A0=A0 -Wall=A0 -O3 -Wno-unused-function -MT sockets.o -MD =
-MP -MF ".deps/sockets.Tpo" \</B></DIV><DIV><B>=A0 -c -o sockets.o `test =
-f 'sockets.c' || echo './'`sockets.c; \</B></DIV><DIV><B>then mv -f =
".deps/sockets.Tpo" ".deps/sockets.Po"; \</B></DIV><DIV><B>else rm -f =
".deps/sockets.Tpo"; exit 1; \</B></DIV><DIV><B>fi</B></DIV><DIV><B>if =
gcc -DHAVE_CONFIG_H -I. -I. -I..=A0 -I..=A0=A0 -Wall=A0 -O3 =
-Wno-unused-function -MT str.o -MD -MP -MF ".deps/str.Tpo" =
\</B></DIV><DIV><B>=A0 -c -o str.o `test -f 'str.c' || echo './'`str.c; =
\</B></DIV><DIV><B>then mv -f ".deps/str.Tpo" ".deps/str.Po"; =
\</B></DIV><DIV><B>else rm -f ".deps/str.Tpo"; exit 1; =
\</B></DIV><DIV><B>fi</B></DIV><DIV><B>if gcc -DHAVE_CONFIG_H -I. -I. =
-I..=A0 -I..=A0=A0 -Wall=A0 -O3 -Wno-unused-function -MT configfile.o =
-MD -MP -MF ".deps/configfile.Tpo" \</B></DIV><DIV><B>=A0 -c -o =
configfile.o `test -f 'configfile.c' || echo './'`configfile.c; =
\</B></DIV><DIV><B>then mv -f ".deps/configfile.Tpo" =
".deps/configfile.Po"; \</B></DIV><DIV><B>else rm -f =
".deps/configfile.Tpo"; exit 1; =
\</B></DIV><DIV><B>fi</B></DIV><DIV><B>configfile.c: In function =
'config_read_string':</B></DIV><DIV><B>configfile.c:139: error: nested =
functions are disabled, use -fnested-functions to =
re-enable</B></DIV><DIV><B>make[2]: *** [configfile.o] Error =
1</B></DIV><DIV><B>make[1]: *** [all-recursive] Error =
1</B></DIV><DIV><B>make: *** [all] Error 2</B></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" =
face=3D"Courier">=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D</FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier">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?</FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" face=3D"Courier">I should note, i have =
darwinports installed already and ncurses is working fine under =
tiger.</FONT></DIV><DIV><FONT class=3D"Apple-style-span" =
face=3D"Courier"><BR =
class=3D"khtml-block-placeholder"></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" =
face=3D"Courier">-Russ</FONT></DIV></BODY></HTML>=
--Apple-Mail-1--254013818--