* installing ispell by emacs on microsoft system @ 2007-06-18 10:19 David R 2007-06-18 11:09 ` Jason Rumney 2007-06-18 19:38 ` installing ispell by emacs on microsoft system Eli Zaretskii 0 siblings, 2 replies; 6+ messages in thread From: David R @ 2007-06-18 10:19 UTC (permalink / raw) To: help-gnu-emacs I load ispell.el via .emacs whenever I try to use an ispell function it say in minibuffer "searching for program : no such file or directory, ispell" So I got the source ispell-3.3.02 unpacked it had to do chmod 755 pc/makeemx.bat ran the .bat script which eli provided what I got follows. Do I need to get emx? where can I find the tarball? should I try to get djgpp? C:\cygwin\usr\src\ispell-3.3.02>set CC=gcc C:\cygwin\usr\src\ispell-3.3.02>set CFLAGS=-O C:\cygwin\usr\src\ispell-3.3.02>set REGLIB=-lregexp C:\cygwin\usr\src\ispell-3.3.02>set TERMLIB=-ltermcap C:\cygwin\usr\src\ispell-3.3.02>set YACC=yacc C:\cygwin\usr\src\ispell-3.3.02>copy language\english\msgs.h The system cannot find the path specified. C:\cygwin\usr\src\ispell-3.3.02>copy pc\local.emx local.h 1 file(s) copied. C:\cygwin\usr\src\ispell-3.3.02>copy config.x config.h 1 file(s) copied. C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c buildhas.c gcc: buildhas.c: No such file or directory gcc: no input files C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c correct.c In file included from config.h:203, from correct.c:204: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from correct.c:204: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory correct.c:207:18: error: msgs.h: No such file or directory correct.c: In function 'givehelp': correct.c:272: error: 'CORR_C_HELP_1' undeclared (first use in this function) correct.c:272: error: (Each undeclared identifier is reported only once correct.c:272: error: for each function it appears in.) correct.c:273: error: 'CORR_C_HELP_2' undeclared (first use in this function) correct.c:274: error: 'CORR_C_HELP_3' undeclared (first use in this function) correct.c:275: error: 'CORR_C_HELP_4' undeclared (first use in this function) correct.c:276: error: 'CORR_C_HELP_5' undeclared (first use in this function) correct.c:277: error: 'CORR_C_HELP_6' undeclared (first use in this function) correct.c:278: error: 'CORR_C_HELP_7' undeclared (first use in this function) correct.c:279: error: 'CORR_C_HELP_8' undeclared (first use in this function) correct.c:280: error: 'CORR_C_HELP_9' undeclared (first use in this function) correct.c:282: error: 'CORR_C_HELP_COMMANDS' undeclared (first use in this function) correct.c:285: error: 'CORR_C_HELP_R_CMD' undeclared (first use in this function) correct.c:286: error: 'CORR_C_HELP_BLANK' undeclared (first use in this function) correct.c:287: error: 'CORR_C_HELP_A_CMD' undeclared (first use in this function) correct.c:288: error: 'CORR_C_HELP_I_CMD' undeclared (first use in this function) correct.c:289: error: 'CORR_C_HELP_U_CMD' undeclared (first use in this function) correct.c:290: error: 'CORR_C_HELP_0_CMD' undeclared (first use in this function) correct.c:291: error: 'CORR_C_HELP_L_CMD' undeclared (first use in this function) correct.c:292: error: 'CORR_C_HELP_X_CMD' undeclared (first use in this function) correct.c:294: error: 'CORR_C_HELP_Q_CMD' undeclared (first use in this function) correct.c:296: error: 'CORR_C_HELP_BANG' undeclared (first use in this function) correct.c:297: error: 'CORR_C_HELP_REDRAW' undeclared (first use in this function) correct.c:298: error: 'CORR_C_HELP_SUSPEND' undeclared (first use in this function) correct.c:299: error: 'CORR_C_HELP_HELP' undeclared (first use in this function) correct.c:305: error: 'CORR_C_HELP_TYPE_SPACE' undeclared (first use in this function) correct.c: In function 'checkfile': correct.c:395: error: 'CORR_C_SHORT_SOURCE' undeclared (first use in this function) correct.c: In function 'correct': correct.c:439: error: 'CORR_C_FILE_LABEL' undeclared (first use in this function) correct.c:441: error: 'CORR_C_READONLY' undeclared (first use in this function) correct.c:509: error: 'CORR_C_MINI_MENU' undeclared (first use in this function) correct.c:528: error: 'CORR_C_CONFIRM_QUIT' undeclared (first use in this function) correct.c:598: error: 'CORR_C_REPLACE_WITH' undeclared (first use in this function) correct.c:615: warning: passing argument 1 of 'printf' makes pointer from integer without a cast correct.c:666: error: 'CORR_C_LOOKUP_PROMPT' undeclared (first use in this function) correct.c: In function 'askmode': correct.c:1666: error: 'CANT_CREATE' undeclared (first use in this function) correct.c: In function 'regex_dict_lookup': correct.c:1939: error: 'CORR_C_MORE_PROMPT' undeclared (first use in this function) correct.c:1949: error: 'CORR_C_BLANK_MORE' undeclared (first use in this function) correct.c:1956: error: 'CORR_C_END_LOOK' undeclared (first use in this function) C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c defmt.c In file included from config.h:203, from defmt.c:201: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from defmt.c:201: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory defmt.c:204:18: error: msgs.h: No such file or directory defmt.c: In function 'skiptoword': defmt.c:425: error: 'DEFMT_C_TEX_MATH_ERROR' undeclared (first use in this function) defmt.c:425: error: (Each undeclared identifier is reported only once defmt.c:425: error: for each function it appears in.) defmt.c: In function 'checkline': defmt.c:693: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast defmt.c: In function 'TeX_LR_check': defmt.c:1016: error: 'DEFMT_C_LR_MATH_ERROR' undeclared (first use in this function) defmt.c: In function 'init_keyword_table': defmt.c:1276: error: 'DEFMT_C_NO_SPACE' undeclared (first use in this function) C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c dump.c In file included from config.h:203, from dump.c:66: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from dump.c:66: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c exp_table.c In file included from config.h:203, from exp_table.c:28: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from exp_table.c:28: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory exp_table.c:30:18: error: msgs.h: No such file or directory exp_table.c: In function 'add_expansion_copy': exp_table.c:110: error: 'TGOOD_C_NO_SPACE' undeclared (first use in this function) exp_table.c:110: error: (Each undeclared identifier is reported only once exp_table.c:110: error: for each function it appears in.) C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c fields.c In file included from config.h:203, from fields.c:47: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from fields.c:47: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c good.c In file included from config.h:203, from good.c:96: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from good.c:96: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c hash.c In file included from config.h:203, from hash.c:68: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from hash.c:68: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c icombine.c In file included from config.h:203, from icombine.c:88: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from icombine.c:88: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory icombine.c:91:18: error: msgs.h: No such file or directory icombine.c: In function 'main': icombine.c:169: error: 'ICOMBINE_C_BAD_TYPE' undeclared (first use in this function) icombine.c:169: error: (Each undeclared identifier is reported only once icombine.c:169: error: for each function it appears in.) icombine.c: In function 'usage': icombine.c:184: error: 'ICOMBINE_C_USAGE' undeclared (first use in this function) icombine.c: In function 'combinedict': icombine.c:225: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast icombine.c:232: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c ijoin.c In file included from config.h:203, from ijoin.c:118: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from ijoin.c:118: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c ispell.c In file included from config.h:203, from ispell.c:227: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from ispell.c:227: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory ispell.c:231:18: error: msgs.h: No such file or directory ispell.c: In function 'usage': ispell.c:253: error: 'ISPELL_C_USAGE1' undeclared (first use in this function) ispell.c:253: error: (Each undeclared identifier is reported only once ispell.c:253: error: for each function it appears in.) ispell.c:254: error: 'ISPELL_C_USAGE2' undeclared (first use in this function) ispell.c:255: error: 'ISPELL_C_USAGE3' undeclared (first use in this function) ispell.c:256: error: 'ISPELL_C_USAGE4' undeclared (first use in this function) ispell.c:257: error: 'ISPELL_C_USAGE5' undeclared (first use in this function) ispell.c:258: error: 'ISPELL_C_USAGE6' undeclared (first use in this function) ispell.c:259: error: 'ISPELL_C_USAGE7' undeclared (first use in this function) ispell.c: In function 'main': ispell.c:335: error: 'ISPELL_C_NO_OPTIONS_SPACE' undeclared (first use in this function) ispell.c:389: error: 'ISPELL_C_OPTIONS_ARE' undeclared (first use in this function) ispell.c:913: error: 'ISPELL_C_NO_FILE' undeclared (first use in this function) ispell.c:913: error: 'ISPELL_C_NO_FILES' undeclared (first use in this function) ispell.c:932: error: 'ISPELL_C_BAD_TYPE' undeclared (first use in this function) ispell.c: In function 'dofile': ispell.c:1060: error: 'CANT_OPEN' undeclared (first use in this function) ispell.c:1068: error: 'ISPELL_C_CANT_WRITE' undeclared (first use in this function) ispell.c:1115: error: 'CANT_CREATE' undeclared (first use in this function) ispell.c: In function 'setupdefmt': ispell.c:1235: error: 'ISPELL_C_UNEXPECTED_FD' undeclared (first use in this function) ispell.c: In function 'update_file': ispell.c:1261: error: 'ISPELL_C_TEMP_DISAPPEARED' undeclared (first use in this function) ispell.c:1349: error: 'CANT_CREATE' undeclared (first use in this function) ispell.c: In function 'expandmode': ispell.c:1426: error: 'BAD_FLAG' undeclared (first use in this function) ispell.c:1434: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c lookup.c In file included from config.h:203, from lookup.c:88: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from lookup.c:88: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory lookup.c:91:18: error: msgs.h: No such file or directory lookup.c: In function 'linit': lookup.c:117: error: 'CANT_OPEN' undeclared (first use in this function) lookup.c:117: error: (Each undeclared identifier is reported only once lookup.c:117: error: for each function it appears in.) lookup.c:125: error: 'LOOKUP_C_CANT_READ' undeclared (first use in this function) lookup.c:128: error: 'LOOKUP_C_NULL_HASH' undeclared (first use in this function) lookup.c:133: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast lookup.c:140: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast lookup.c:147: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast lookup.c:158: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast lookup.c:174: error: 'LOOKUP_C_NO_HASH_SPACE' undeclared (first use in this function) lookup.c:214: error: 'LOOKUP_C_BAD_FORMAT' undeclared (first use in this function) lookup.c:328: error: 'LOOKUP_C_NO_LANG_SPACE' undeclared (first use in this function) lookup.c: In function 'lookup': lookup.c:500: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c makedent.c In file included from config.h:203, from makedent.c:108: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from makedent.c:108: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory makedent.c:111:18: error: msgs.h: No such file or directory makedent.c: In function 'makedent': makedent.c:194: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast makedent.c:208: error: 'MAKEDENT_C_BAD_WORD_CHAR' undeclared (first use in this function) makedent.c:208: error: (Each undeclared identifier is reported only once makedent.c:208: error: for each function it appears in.) makedent.c:223: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast makedent.c:230: error: 'MAKEDENT_C_NO_WORD_SPACE' undeclared (first use in this function) makedent.c:248: error: 'BAD_FLAG' undeclared (first use in this function) makedent.c: In function 'addvheader': makedent.c:325: error: 'MAKEDENT_C_NO_WORD_SPACE' undeclared (first use in this function) makedent.c: In function 'combinecaps': makedent.c:458: error: 'MAKEDENT_C_NO_WORD_SPACE' undeclared (first use in this function) makedent.c: In function 'toutent': makedent.c:705: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast makedent.c: In function 'strtosichar': makedent.c:944: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast makedent.c: In function 'ichartosstr': makedent.c:959: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast C:\cygwin\usr\src\ispell-3.3.02>gcc -O -DUSG -c term.c In file included from config.h:203, from term.c:85: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from term.c:85: config.h:205:59: error: defhash.h: No such file or directory term.c:88:18: error: msgs.h: No such file or directory term.c: In function 'terminit': term.c:265: error: 'TERM_C_SMALL_SCREEN' undeclared (first use in this function) term.c:265: error: (Each undeclared identifier is reported only once term.c:265: error: for each function it appears in.) term.c:276: error: 'TERM_C_NO_BATCH' undeclared (first use in this function) term.c: In function 'shescape': term.c:621: error: 'TERM_C_TYPE_SPACE' undeclared (first use in this function) C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c tgood.c In file included from config.h:203, from tgood.c:123: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from tgood.c:123: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory tgood.c:125:18: error: msgs.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c tree.c In file included from config.h:203, from tree.c:97: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from tree.c:97: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory tree.c:100:18: error: msgs.h: No such file or directory tree.c: In function 'treeinit': tree.c:291: error: 'CANT_OPEN' undeclared (first use in this function) tree.c:291: error: (Each undeclared identifier is reported only once tree.c:291: error: for each function it appears in.) tree.c:301: error: 'TREE_C_CANT_UPDATE' undeclared (first use in this function) tree.c: In function 'treeinsert': tree.c:375: error: 'TREE_C_NO_SPACE' undeclared (first use in this function) tree.c:385: error: 'TREE_C_TRY_ANYWAY' undeclared (first use in this function) tree.c: In function 'tinsert': tree.c:473: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast tree.c:487: error: 'TREE_C_NO_SPACE' undeclared (first use in this function) tree.c: In function 'treeoutput': tree.c:556: error: 'CANT_CREATE' undeclared (first use in this function) tree.c: In function 'do_regex_lookup': tree.c:716: warning: assignment makes pointer from integer without a cast tree.c:727: warning: comparison between pointer and integer tree.c:739: warning: comparison between pointer and integer C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c xgets.c In file included from config.h:203, from xgets.c:72: local.h:24:19: error: conio.h: No such file or directory local.h:25:20: error: regexp.h: No such file or directory In file included from xgets.c:72: config.h:205:59: error: defhash.h: No such file or directory config.h:218:21: error: sys/dir.h: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>yacc parse.y 'yacc' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>gcc -O -c y_tab.c gcc: y_tab.c: No such file or directory gcc: no input files C:\cygwin\usr\src\ispell-3.3.02>move y_tab.o parse.o The system cannot find the file specified. C:\cygwin\usr\src\ispell-3.3.02>del y_tab.c Could Not Find C:\cygwin\usr\src\ispell-3.3.02\y_tab.c C:\cygwin\usr\src\ispell-3.3.02>gcc -O -o buildhas buildhas.o hash.o makedent.o parse.o gcc: buildhas.o: No such file or directory gcc: hash.o: No such file or directory gcc: makedent.o: No such file or directory gcc: parse.o: No such file or directory gcc: no input files C:\cygwin\usr\src\ispell-3.3.02>emxbind -b buildhas 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>emxbind -s buildhas.exe 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>gcc -O -o icombine icombine.o makedent.o parse.o gcc: icombine.o: No such file or directory gcc: makedent.o: No such file or directory gcc: parse.o: No such file or directory gcc: no input files C:\cygwin\usr\src\ispell-3.3.02>emxbind -b icombine 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>emxbind -s icombine.exe 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>gcc -O -o ijoin ijoin.o fields.o gcc: ijoin.o: No such file or directory gcc: fields.o: No such file or directory gcc: no input files C:\cygwin\usr\src\ispell-3.3.02>emxbind -b ijoin 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>emxbind -s ijoin.exe 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>ar -q ispell.a term.o ispell.o correct.o defmt.o dump.o exp_table.o fields.o good.o lookup.o hash.o makedent.o tgood.o tree.o xgets.o ar: creating ispell.a ar: term.o: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>gcc -o ispell ispell.a -ltermcap -lregexp gcc: ispell.a: No such file or directory C:\cygwin\usr\src\ispell-3.3.02>emxbind -b -s ispell 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>emxbind -a ispell -p 'emxbind' is not recognized as an internal or external command, operable program or batch file. C:\cygwin\usr\src\ispell-3.3.02>del ispell.a Could Not Find C:\cygwin\usr\src\ispell-3.3.02\ispell.a ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: installing ispell by emacs on microsoft system 2007-06-18 10:19 installing ispell by emacs on microsoft system David R @ 2007-06-18 11:09 ` Jason Rumney 2007-06-18 18:10 ` weber 2007-06-18 19:38 ` installing ispell by emacs on microsoft system Eli Zaretskii 1 sibling, 1 reply; 6+ messages in thread From: Jason Rumney @ 2007-06-18 11:09 UTC (permalink / raw) To: help-gnu-emacs On 18 Jun, 11:19, David R <angel_ov_no...@tiscali.co.uk> wrote: > I load ispell.el via .emacs > whenever I try to use an ispell function it say in minibuffer "searching > for program : no such file or directory, ispell" > So I got the source ispell-3.3.02 > unpacked it > had to do chmod 755 pc/makeemx.bat > ran the .bat script which eli provided > what I got follows. Do I need to get emx? where can I find the tarball? > should I try to get djgpp? The easiest option will be to install aspell, which is a newer spell checker that has maintained Windows ports available for it. You'll need to customize ispell-program to suit. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: installing ispell by emacs on microsoft system 2007-06-18 11:09 ` Jason Rumney @ 2007-06-18 18:10 ` weber 2007-06-18 21:48 ` David R 0 siblings, 1 reply; 6+ messages in thread From: weber @ 2007-06-18 18:10 UTC (permalink / raw) To: help-gnu-emacs On 18 jun, 08:09, Jason Rumney <jasonrum...@gmail.com> wrote: > On 18 Jun, 11:19, David R <angel_ov_no...@tiscali.co.uk> wrote: > > > I load ispell.el via .emacs > > whenever I try to use an ispell function it say in minibuffer "searching > > for program : no such file or directory, ispell" > > So I got the source ispell-3.3.02 > > unpacked it > > had to do chmod 755 pc/makeemx.bat > > ran the .bat script which eli provided > > what I got follows. Do I need to get emx? where can I find the tarball? > > should I try to get djgpp? > > The easiest option will be to install aspell, which is a newer spell > checker that has maintained Windows ports available for it. You'll > need to customize ispell-program to suit. I'll second that. Just install aspell (no need to compile) and point to the correct program with something like this (well it should be on my path) (setq ispell-program-name "C:/arquivos de programas/aspell/bin/ aspell") HTH, weber ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: installing ispell by emacs on microsoft system 2007-06-18 18:10 ` weber @ 2007-06-18 21:48 ` David R 2007-06-19 7:37 ` egrep not finding dictionaries David R 0 siblings, 1 reply; 6+ messages in thread From: David R @ 2007-06-18 21:48 UTC (permalink / raw) To: help-gnu-emacs Thanks so far I built aspell from source using cygwin (require 'ispell) (setq-default ispell-program-name "aspell") It works mostly fine with emacs. But there is always a catch..... M-x ispell-complete-word-interior-frag produces in the minibuffer "searching for program : no such file or directory, egrep" I had egrep installed already, so I got the lastest tarball. unpacked, configure, make check All 10 tests passed egrep and fgrep and grep all run under cygwin but only grep does under cmd shell Is emacs running external commands via a cmd shell?? can I change this to a cygwin shell? make install produces the following Making install in intl make[1]: Entering directory `/usr/src/grep-2.5.1a/intl' if test "grep" = "gettext" \ && test '' = 'intl-compat.o'; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/lib /usr/local/include; \ /usr/bin/install -c -m 644 libintl.h /usr/local/include/libintl.h; \ @LIBTOOL@ --mode=install \ /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ test no != no || /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/lib; \ temp=/usr/local/lib/t-charset.alias; \ dest=/usr/local/lib/charset.alias; \ if test -f /usr/local/lib/charset.alias; then \ orig=/usr/local/lib/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test no = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/locale; \ test -f /usr/local/share/locale/locale.alias \ && orig=/usr/local/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/usr/local/share/locale/t-locale.alias; \ dest=/usr/local/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "grep" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /usr/local/share/gettext/intl; \ /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \ /usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c os2compat.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file \ /usr/local/share/gettext/intl/$file; \ done; \ chmod a+x /usr/local/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -c -m 644 $dir/$file \ /usr/local/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \ for file in $dists; do \ rm -f /usr/local/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory `/usr/src/grep-2.5.1a/intl' Making install in po make[1]: Entering directory `/usr/src/grep-2.5.1a/po' file=./`echo cs | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file cs.po file=./`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file de.po file=./`echo el | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file el.po file=./`echo eo | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file eo.po file=./`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file es.po file=./`echo et | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file et.po file=./`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file fr.po file=./`echo gl | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file gl.po file=./`echo hr | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file hr.po file=./`echo id | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file id.po file=./`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file it.po file=./`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ja.po file=./`echo ko | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ko.po file=./`echo nl | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file nl.po file=./`echo no | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file no.po file=./`echo pl | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file pl.po file=./`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file pt_BR.po file=./`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ru.po file=./`echo sl | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file sl.po file=./`echo sv | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file sv.po if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs //usr/local/share; \ else \ /bin/sh ../mkinstalldirs //usr/local/share; \ fi mkdir //usr mkdir: cannot create directory `//usr': No such host or network path mkdir //usr/local mkdir: cannot create directory `//usr/local': No such host or network path mkdir //usr/local/share mkdir: cannot create directory `//usr/local/share': No such host or network path make[1]: *** [install-data-yes] Error 1 make[1]: Leaving directory `/usr/src/grep-2.5.1a/po' make: *** [install-recursive] Error 1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* egrep not finding dictionaries 2007-06-18 21:48 ` David R @ 2007-06-19 7:37 ` David R 0 siblings, 0 replies; 6+ messages in thread From: David R @ 2007-06-19 7:37 UTC (permalink / raw) To: help-gnu-emacs have got egrep working under cmd shell by installing windows binaries of unix commands will post a further problem under a new message thread many thanks DavidR ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: installing ispell by emacs on microsoft system 2007-06-18 10:19 installing ispell by emacs on microsoft system David R 2007-06-18 11:09 ` Jason Rumney @ 2007-06-18 19:38 ` Eli Zaretskii 1 sibling, 0 replies; 6+ messages in thread From: Eli Zaretskii @ 2007-06-18 19:38 UTC (permalink / raw) To: help-gnu-emacs > Date: Mon, 18 Jun 2007 11:19:37 +0100 > From: David R <angel_ov_north@tiscali.co.uk> > > So I got the source ispell-3.3.02 > unpacked it > had to do chmod 755 pc/makeemx.bat > ran the .bat script which eli provided > what I got follows. Do I need to get emx? If you want to build with makeemx.bat, then yes. But I doubt that you really want that, since EMX produces DOS programs, not Windows programs, which will limit you in several subtle ways, since interaction between Emacs and DOS subprograms has drawbacks (for example, only one DOS subprocess can be active at any given time). > should I try to get djgpp? Not recommended, for the same reason. It's much better to get a precompiled Windows binary of Ispell. Here's one place: http://www.luziusschneider.com/Speller/English/ ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-19 7:37 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-06-18 10:19 installing ispell by emacs on microsoft system David R 2007-06-18 11:09 ` Jason Rumney 2007-06-18 18:10 ` weber 2007-06-18 21:48 ` David R 2007-06-19 7:37 ` egrep not finding dictionaries David R 2007-06-18 19:38 ` installing ispell by emacs on microsoft system Eli Zaretskii
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).