Subject: | Problem installing Text::Aspell on windows XP |
Hi, I've installed Aspell-0-50-3-3-Setup.exe and the dictionary Aspell-en-
0.50-2-3.exe from http://aspell.net/win32/ I've included this folder in my
environment variable PATH : C:\Program Files\Aspell\bin but I still can't
install Text::Aspell I've included the error messeges that I get in the
files results.txt and errors.txt My perl version is ActivePerl 5.16.1
Build 1601
Subject: | results.txt |
[32m
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.[0m
[32mReading 'C:\Perl\cpan\Metadata'[0m
[32m Database was generated on Tue, 25 Dec 2012 11:43:03 GMT[0m
[32mRunning install for module 'Text::Aspell'[0m
[32mRunning make for H/HA/HANK/Text-Aspell-0.09.tar.gz[0m
[32mChecksum for C:\Perl\cpan\sources\authors\id\H\HA\HANK\Text-Aspell-0.09.tar.gz ok[0m
[32mScanning cache C:\Perl/cpan/build for sizes[0m
[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32mDONE[0m
[32mText-Aspell-0.09/[0m
[32mText-Aspell-0.09/t/[0m
[32mText-Aspell-0.09/t/02-pod.t[0m
[32mText-Aspell-0.09/t/05-core.t[0m
[32mText-Aspell-0.09/t/01-use.t[0m
[32mText-Aspell-0.09/META.yml[0m
[32mText-Aspell-0.09/Aspell.pm[0m
[32mText-Aspell-0.09/Changes[0m
[32mText-Aspell-0.09/MANIFEST[0m
[32mText-Aspell-0.09/Aspell.xs[0m
[32mText-Aspell-0.09/typemap[0m
[32mText-Aspell-0.09/README[0m
[32mText-Aspell-0.09/Makefile.PL[0m
[32m
CPAN.pm: Building H/HA/HANK/Text-Aspell-0.09.tar.gz[0m
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Aspell
Writing MYMETA.yml and MYMETA.json
cp Aspell.pm blib\lib\Text\Aspell.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -noprototypes -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap Aspell.xs > Aspell.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv -- Aspell.xsc Aspell.c
C:\Perl\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" "-IC:\Perl\lib\CORE" Aspell.c
[32m HANK/Text-Aspell-0.09.tar.gz[0m
[31m C:\Perl\site\bin\dmake.exe -- NOT OK[0m
[32mRunning make test[0m
[32m Can't test without successful make[0m
[32mRunning make install[0m
[32m Make had returned bad status, install seems impossible[0m
[32mFailed during this command:
HANK/Text-Aspell-0.09.tar.gz : make NO[0m
[32m[0m
Subject: | errors.txt |
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Note (probably harmless): No library found for -laspell
Aspell.xs:4:20: aspell.h: No such file or directory
Aspell.xs:9: error: syntax error before "AspellCanHaveError"
Aspell.xs:9: warning: no semicolon at end of struct or union
Aspell.xs:10: warning: data definition has no type or storage class
Aspell.xs:11: error: syntax error before '*' token
Aspell.xs:11: warning: data definition has no type or storage class
Aspell.xs:14: error: syntax error before '}' token
Aspell.xs:14: warning: data definition has no type or storage class
Aspell.xs:17: error: syntax error before '*' token
Aspell.xs: In function `_create_speller':
Aspell.xs:19: error: `AspellCanHaveError' undeclared (first use in this function)
Aspell.xs:19: error: (Each undeclared identifier is reported only once
Aspell.xs:19: error: for each function it appears in.)
Aspell.xs:19: error: `ret' undeclared (first use in this function)
Aspell.xs:21: error: `self' undeclared (first use in this function)
Aspell.xs:26: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_new':
Aspell.c:206: error: `RETVAL' undeclared (first use in this function)
Aspell.xs:54: error: syntax error before ')' token
Aspell.c: In function `XS_Text__Aspell_DESTROY':
Aspell.c:239: error: `self' undeclared (first use in this function)
Aspell.c:242: error: syntax error before ')' token
Aspell.c: In function `XS_Text__Aspell_create_speller':
Aspell.c:266: error: `self' undeclared (first use in this function)
Aspell.c:271: error: syntax error before ')' token
Aspell.c: In function `XS_Text__Aspell_print_config':
Aspell.c:297: error: `self' undeclared (first use in this function)
Aspell.xs:100: error: `AspellKeyInfoEnumeration' undeclared (first use in this function)
Aspell.xs:100: error: `key_list' undeclared (first use in this function)
Aspell.xs:101: error: syntax error before '*' token
Aspell.c:306: error: syntax error before ')' token
Aspell.xs:105: error: `entry' undeclared (first use in this function)
Aspell.c: In function `XS_Text__Aspell_set_option':
Aspell.c:337: error: `self' undeclared (first use in this function)
Aspell.c:346: error: syntax error before ')' token
Aspell.xs:129: warning: passing arg 2 of `strcpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_remove_option':
Aspell.c:378: error: `self' undeclared (first use in this function)
Aspell.c:385: error: syntax error before ')' token
Aspell.xs:150: warning: passing arg 2 of `strcpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_get_option':
Aspell.c:417: error: `self' undeclared (first use in this function)
Aspell.c:424: error: syntax error before ')' token
Aspell.xs:169: warning: passing arg 2 of `strcpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_get_option_as_list':
Aspell.c:457: error: `self' undeclared (first use in this function)
Aspell.xs:182: error: `AspellStringList' undeclared (first use in this function)
Aspell.xs:182: error: `lst' undeclared (first use in this function)
Aspell.xs:183: error: `AspellMutableContainer' undeclared (first use in this function)
Aspell.xs:183: error: `lst0' undeclared (first use in this function)
Aspell.xs:184: error: `AspellStringEnumeration' undeclared (first use in this function)
Aspell.xs:184: error: `els' undeclared (first use in this function)
Aspell.c:469: error: syntax error before ')' token
Aspell.xs:195: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.xs:202: warning: assignment makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_errstr':
Aspell.c:510: error: `self' undeclared (first use in this function)
Aspell.c:515: error: syntax error before ')' token
Aspell.c: In function `XS_Text__Aspell_errnum':
Aspell.c:537: error: `self' undeclared (first use in this function)
Aspell.c:542: error: syntax error before ')' token
Aspell.c: In function `XS_Text__Aspell_check':
Aspell.c:564: error: `self' undeclared (first use in this function)
Aspell.c:571: error: syntax error before ')' token
Aspell.xs:243: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_suggest':
Aspell.c:608: error: `self' undeclared (first use in this function)
Aspell.xs:254: error: syntax error before '*' token
Aspell.xs:255: error: `AspellStringEnumeration' undeclared (first use in this function)
Aspell.xs:255: error: `els' undeclared (first use in this function)
Aspell.c:618: error: syntax error before ')' token
Aspell.xs:265: error: `wl' undeclared (first use in this function)
Aspell.xs:270: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.xs:279: warning: assignment makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_add_to_personal':
Aspell.c:664: error: `self' undeclared (first use in this function)
Aspell.c:671: error: syntax error before ')' token
Aspell.xs:302: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_add_to_session':
Aspell.c:707: error: `self' undeclared (first use in this function)
Aspell.c:714: error: syntax error before ')' token
Aspell.xs:325: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_store_replacement':
Aspell.c:750: error: `self' undeclared (first use in this function)
Aspell.c:759: error: syntax error before ')' token
Aspell.xs:351: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_save_all_word_lists':
Aspell.c:795: error: `self' undeclared (first use in this function)
Aspell.c:800: error: syntax error before ')' token
Aspell.xs:373: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_clear_session':
Aspell.c:836: error: `self' undeclared (first use in this function)
Aspell.c:841: error: syntax error before ')' token
Aspell.xs:395: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
Aspell.c: In function `XS_Text__Aspell_list_dictionaries':
Aspell.c:879: error: `self' undeclared (first use in this function)
Aspell.xs:406: error: `AspellDictInfoList' undeclared (first use in this function)
Aspell.xs:406: error: `dlist' undeclared (first use in this function)
Aspell.xs:407: error: `AspellDictInfoEnumeration' undeclared (first use in this function)
Aspell.xs:407: error: `dels' undeclared (first use in this function)
Aspell.xs:408: error: syntax error before '*' token
Aspell.c:887: error: syntax error before ')' token
Aspell.xs:417: error: `entry' undeclared (first use in this function)
Aspell.c: In function `XS_Text__Aspell_dictionary_info':
Aspell.c:937: error: `self' undeclared (first use in this function)
Aspell.xs:443: error: `AspellDictInfoList' undeclared (first use in this function)
Aspell.xs:443: error: `dlist' undeclared (first use in this function)
Aspell.xs:444: error: `AspellDictInfoEnumeration' undeclared (first use in this function)
Aspell.xs:444: error: `dels' undeclared (first use in this function)
Aspell.xs:445: error: syntax error before '*' token
Aspell.c:945: error: syntax error before ')' token
Aspell.xs:455: error: `entry' undeclared (first use in this function)
Aspell.c: In function `XS_Text__Aspell_fetch_option_keys':
Aspell.c:997: error: `self' undeclared (first use in this function)
Aspell.xs:486: error: `AspellKeyInfoEnumeration' undeclared (first use in this function)
Aspell.xs:486: error: `key_list' undeclared (first use in this function)
Aspell.xs:487: error: syntax error before '*' token
Aspell.c:1007: error: syntax error before ')' token
Aspell.xs:495: error: `entry' undeclared (first use in this function)
dmake.exe: Error code 129, while making 'Aspell.o'