Hi,
I'm trying to get Mondo rescue on my new slack install.
Mindi works great, but Mondo is giving me problems.
I need gnewt installed to get Mondo going but I keep getting a compilation error:
First I get a note after running config:
Code:
Note (probably harmless): No library found for -lnewt
Writing Makefile for whiperl
And if I ignore it and go ahead with make I get this:
Code:
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include/newt -I../../include/gnewt -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -c listbox.c
rm -f .libs/listbox.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include/newt -I../../include/gnewt -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -Wp,-MD,.deps/listbox.pp -c -fPIC -DPIC listbox.c -o .libs/listbox.lo
listbox.c: In function 'listboxEvent':
listbox.c:916: error: label at end of compound statement
make[3]: ***[listbox.lo] Error 1
make[3]: Leaving directory `/root/mondo/gnewt-0.06/src/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/mondo/gnewt-0.06/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mondo/gnewt-0.06'
make: *** [all-recursive-am] Error 2
I google for a couple of days and got nowhere.
Any ideas or suggestions are more than welcome.
I do have gtk+-1.2 and gtk+2 installed.