Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

I can't install Text::Aspell in strawberry

by Thai Heng (Beadle)
on Jul 09, 2015 at 23:07 UTC ( [id://1134054]=perlquestion: print w/replies, xml ) Need Help??

Thai Heng has asked for the wisdom of the Perl Monks concerning the following question:

cpanm (App::cpanminus) 1.7034 on perl 5.022000 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\ADMINI~1/.cpanm/work/1436482933.8660 You have make C:\Strawberry\c\bin\dmake.exe You have LWP 6.13 You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files ( +x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe" You have "C:\Program Files (x86)\Git\bin\unzip.exe" Searching Text::Aspell () on cpanmetadb ... --> Working on Text::Aspell Fetching http://www.cpan.org/authors/id/H/HA/HANK/Text-Aspell-0.09.tar +.gz -> OK Unpacking Text-Aspell-0.09.tar.gz Entering Text-Aspell-0.09 Checking configure dependencies from META.yml Configuring Text-Aspell-0.09 Running Makefile.PL Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -laspell Generating a dmake-style Makefile Writing Makefile for Text::Aspell Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01) Checking if you have Test::More 0 ... Yes (1.001014) Building and testing Text-Aspell-0.09 cp Aspell.pm blib\lib\Text\Aspell.pm Running Mkbootstrap for Text::Aspell () "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 +"Aspell.bs" "C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils\xsu +bpp" -noprototypes -typemap "C:\STRAWB~1\perl\lib\ExtUtils\typemap" - +typemap "typemap" Aspell.xs > Aspell.xsc && "C:\Strawberry\perl\bin\ +perl.exe" -MExtUtils::Command -e mv -- Aspell.xsc Aspell.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCR +IPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict- +aliasing -mms-bitfields -s -O2 -DVERSION=\"0.09\" -DXS_VERS +ION=\"0.09\" "-IC:\STRAWB~1\perl\lib\CORE" Aspell.c Aspell.xs:4:20: fatal error: aspell.h: No such file or directory #include <aspell.h> ^ compilation terminated. dmake.exe: Error code 129, while making 'Aspell.o' -> FAIL Installing Text::Aspell failed. See C:\Users\ADMINI~1\.cpanm\w +ork\1436482933.8660\build.log for details. Retry with --force to forc +e install it.

Replies are listed 'Best First'.
Re: I can't install Text::Aspell in strawberry
by choroba (Cardinal) on Jul 09, 2015 at 23:29 UTC
    You have to first install the header file aspell.h, as indicated by the error message:
    Aspell.xs:4:20: fatal error: aspell.h: No such file or directory #include <aspell.h> ^

    It comes from the development package for the aspell library.

    Update: I'm not sure how this works on MSWin, but it should be possible, as there are some PASSes at CPAN Testers.

    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1134054]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found