project:jagtalk
This is an old revision of the document!
Table of Contents
jagtalk
jagtalk is modified version of galateatalk.
UTF-8 support
$ ./configure --enable-utf8 $ make $ ./gtalk -C jagtalk.conf
Mac support
see also galateatalk
2010-11-13
currently, audio device is disabled.
$ autoconf $ sh configure --build=i386-apple-freebsd --enable-utf8 --enable-macosx
Makefile should be modified as follows:
CFLAGS = -DPACKAGE_NAME=\"jagtalk\" -DPACKAGE_TARNAME=\"jagtalk\" -DPACKAGE_VERSION=\"1.5.1\" -DPACKAGE_STRING=\"jagta\ lk\ 1.5.1\" -DPACKAGE_BUGREPORT=\"nishimotz@gmail.com\" -DPACKAGE_URL=\"\" -DUTF8=1 -DHAVE_LIBICONV=1 -DMACOSX=1 -DAUTO\ _DA=1 -DWORDS_LITTLEENDIAN=1 -arch i386 -g
$ make
https://github.com/nishimotz/jagtalk/blob/master/jagtalk-macosx.conf
https://github.com/nishimotz/jagtalk/blob/master/chasenrc-euc-jp-macosx
$ ./jagtalk -C jagtalk-macosx.conf rep Run = LIVE set Text = 123 rep Speak.stat = PROCESSING Bus error
in the debug log below, “set Text = 111” is the input from console.
$ gdb jagtalk GNU gdb 6.3.50-20050815 (Apple version gdb-1461) (Wed Dec 23 06:11:18 UTC 2009) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ... done (gdb) run -C jagtalk-macosx.conf Starting program: /Users/nishimotz/code/github/jagtalk/jagtalk -C jagtalk-macosx.conf Reading symbols for shared libraries ++. done rep Run = LIVE set Text = 111 rep Speak.stat = PROCESSING Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000010 0x0000a35f in make_breath () at make_breath.c:103 103 hinshi = aphrase->mptail->hinshiID; (gdb) (gdb) bt #0 0x0000a35f in make_breath () at make_breath.c:103 #1 0x000143e2 in text_analysis (text=0x2340b "111") at text.c:190 #2 0x00007694 in setText (rel=0x23409 "=", val=0x2340b "111") at main.c:596 #3 0x000085fe in main (argc=0, argv=0xbffff9f8) at main.c:994
project/jagtalk.1289635454.txt.gz · Last modified: 2010/11/13 17:04 by nishimotz