compile error: "LC_CTYPE_MASK" redefined
After a `cvs update' on guile-core, make fails at: , | ./guile-snarf -o i18n.x i18n.c -DHAVE_CONFIG_H -I.. -I.. -g -O2 -Wall -Wmissing-prototypes -Werror | i18n.c:129:1: error: "LC_CTYPE_MASK" redefined | In file included from i18n.c:51: | /usr/include/locale.h:161:1: error: this is the location of the previous definition | i18n.c:130:1: error: "LC_COLLATE_MASK" redefined | /usr/include/locale.h:164:1: error: this is the location of the previous definition | i18n.c:131:1: error: "LC_MESSAGES_MASK" redefined | /usr/include/locale.h:166:1: error: this is the location of the previous definition | i18n.c:132:1: error: "LC_MONETARY_MASK" redefined | /usr/include/locale.h:165:1: error: this is the location of the previous definition | i18n.c:133:1: error: "LC_NUMERIC_MASK" redefined | /usr/include/locale.h:162:1: error: this is the location of the previous definition | i18n.c:134:1: error: "LC_TIME_MASK" redefined | /usr/include/locale.h:163:1: error: this is the location of the previous definition | i18n.c:137:1: error: "LC_PAPER_MASK" redefined | /usr/include/locale.h:167:1: error: this is the location of the previous definition | i18n.c:142:1: error: "LC_NAME_MASK" redefined | /usr/include/locale.h:168:1: error: this is the location of the previous definition | i18n.c:147:1: error: "LC_ADDRESS_MASK" redefined | /usr/include/locale.h:169:1: error: this is the location of the previous definition | i18n.c:152:1: error: "LC_TELEPHONE_MASK" redefined | /usr/include/locale.h:170:1: error: this is the location of the previous definition | i18n.c:157:1: error: "LC_MEASUREMENT_MASK" redefined | /usr/include/locale.h:171:1: error: this is the location of the previous definition | i18n.c:162:1: error: "LC_IDENTIFICATION_MASK" redefined | /usr/include/locale.h:172:1: error: this is the location of the previous definition | make[2]: *** [i18n.x] Error 1 | make[2]: Leaving directory `/home/william/repo/cvs/guile/guile-core/libguile' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/home/william/repo/cvs/guile/guile-core' | make: *** [all] Error 2 ` What's wrong here? -- William 《题大庾岭北驿》 作者:宋之问 阳月南飞雁,传闻至此回。 我行殊未已,何日复归来。 江静潮初落,林昏瘴不开, 明朝望乡处,应见陇头梅。 ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user
Re: Guile Introspection
() Andy Wingo <[EMAIL PROTECTED]> () Mon, 09 Jul 2007 12:57:41 +0200 (I would really like to be able to get line numbers so that the documentation that I autogenerate based on introspection can be ordered as it appears in the source. I poked at this a couple hours and failed.) below is some code you can try. to play: save as x.scm and issue the shell command: guile -s x.scm. thi (define (lc alist) (list (assq-ref alist 'line) (assq-ref alist 'column))) (define (posn form) (display "posn: ") (write (cond ((not (pair? form)) "not a pair") ((source-properties form) => lc) (else #f))) (newline)) (define p (open-input-file "x.scm")) (define (r) (read-enable 'positions) (let ((form (read p))) (or (eof-object? form) (begin (display "form: ") (write form) (newline) (posn form) (r) 42 (r) ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user
Re: compile error: "LC_CTYPE_MASK" redefined
William Xu <[EMAIL PROTECTED]> writes: > After a `cvs update' on guile-core, make fails at: Make sure you also run `autoheader && autoreconf -i'. Besides, what platform are you compiling on? Thanks, Ludovic. ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user
Siag lives
Ran across a couple of articles on the venerable Siag Office project, which uses Guile as an extension language to a spreadsheet and an editor. Apparently, there has been a bit of new work on Siag. There was a version 3.6.1 from last November after a couple of years without a new release. Siag: http://siag.nu/ linux.com article: http://www.linux.com/feature/116353 osnews article: http://osnews.com/comment.php?news_id=18243 -- Mike Gran ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user