[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspell-user] "unable to load the 'aspell' module' error
From: |
Jeff Mace |
Subject: |
[aspell-user] "unable to load the 'aspell' module' error |
Date: |
Fri, 1 Jun 2001 14:41:38 -0400 (EDT) |
I have gotten aspell-.33.6.1 to compile and have pspell-.12.1 installed as
well. However when I run my program and it calls new_pspell_manager(), I
get the error "unable to load the 'aspell' module". Any ideas. This is
my code, so please offer your help. Thank you.
PspellConfig * config;
PspellCanHaveError * ret;
PspellManager * checker;
PspellWordList * suggestions;
PspellStringEmulation * elements;
PspellMutableContainer * pmc;
config = new_pspell_config();
pspell_config_replace(config, "language-tag", "en");
fprintf(stderr, "%d\n", pspell_config_error_number(config));
pspell_config_replace(config, "add-word-list-path",
"/usr/local2/share/pspell/");
fprintf(stderr, "%d\n", pspell_config_error_number(config));
pspell_config_replace(config, "module", "ispell");
fprintf(stderr, "%d\n", pspell_config_error_number(config));
pspell_config_replace(config, "spelling", "american");
fprintf(stderr, "%d\n", pspell_config_error_number(config));
ret = new_pspell_manager(config);
checker = 0;
if (pspell_error_number(ret) != 0) {
fprintf(stderr, "%s\n", pspell_error_message(ret));
fprintf(stderr, "error message area\n");
} else {
checker = to_pspell_manager(ret);
}
Jeff Mace
Advanced Information Technologies
Center for Academic Computing
Pennsylvania State University
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [aspell-user] "unable to load the 'aspell' module' error,
Jeff Mace <=