On Fri, 24 Aug 2007, Olvar Bergland wrote:
I was attempting to compile Gretl version 1.6.5 on a Linux
(Gentoo) box with NLS turned off. However, I get this error
message:
../lib/src/interact.c: In function 'parseopt':
../lib/src/interact.c:2450: error: expected expression before 'else'
Thanks, Olvar. I'm cc'ing this reply to the gretl-users list
because it might be of interest there.
I haven't tried building gretl with --disable-nls in a long time,
and I see there are quite a few errors. I fixed the one you
mention, but then many more appeared.
I'll have to think about this. Either I should go through the
code and fix everything for a non-nls build, or I should remove
the "--disable-nls" configure option. Right now, I'm inclined
towards the second option. With current GTK being UTF-8 based,
I'm afraid that even if I got non-nls compilation to work, one
might end up with a broken program.
It used to be that most free software that supported NLS offered a
"disable-nls" switch, but I'm not seeing that so much these days,
and maybe there's a good reason for it!
Any further thoughts on this?
--
Allin Cottrell
Department of Economics
Wake Forest University, NC