Skip Menu |

This queue is for tickets about the Text-Aspell CPAN distribution.

Report information
The Basics
Id: 4492
Status: resolved
Priority: 0/
Queue: Text-Aspell

People
Owner: Nobody in particular
Requestors: lux [...] simian.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: (no value)



Subject: OSX undefined symbols error
Hello, I'm unable to get Text::Aspell working on OSX (see below). My manual process is below, -MCPAN gave up in exactly the same way. My info: perl 5.8.2 mac os x 10.2.8 (aka darwin 6.8) bash shell 2.05 All these pass with no errors: # installing aspell and the english dictionary (v0.50.2-1) fink install aspell fink install aspell-en # aspell command-line test echo "the catt in the hat can't spelle vary wel." > foo.txt aspell check foo.txt # installing Text::Aspell (v0.04) export LANG=en_US export LC_ALL=C perl Makefile.PL CCFLAGS=-I/sw/include LIBS="-L/sw/lib -laspell" make Error occurs here: make test TEST_VERBOSE=1 dyld: /usr/bin/perl Undefined symbols: __ZN7acommon10StringList3addENS_10ParmStringE __ZN7acommon10StringList6assignEPKS0_ __ZN7acommon10StringList7destroyEv __ZN7acommon11file_existsENS_10ParmStringE __ZN7acommon11mode_stringE __ZN7acommon11new_convertERNS_6ConfigENS_10ParmStringES2_ __ZN7acommon11remove_fileENS_10ParmStringE __ZN7acommon12CanHaveErrorC1EPNS_5ErrorE __ZN7acommon12PosibErrBase3delEv __ZN7acommon12PosibErrBase3setEPKNS_9ErrorInfoENS_10ParmStringES4_S4_S4_ __ZN7acommon12PosibErrBase7releaseEv __ZN7acommon12PosibErrBase9with_fileENS_10ParmStringE __ZN7acommon12StringBuffer5allocEj __ZN7acommon12StringBufferC1Ev __ZN7acommon12getdata_pairERNS_7IStreamERNS_6StringES3_ __ZN7acommon13truncate_fileERNS_7FStreamENS_10ParmStringE __ZN7acommon14GenericCopyPtrINS_5ErrorENS_7CopyPtrIS1_E5ParmsEE5resetEPS1_RKS4_ __ZN7acommon14figure_out_dirENS_10ParmStringES0_ __ZN7acommon15new_string_listEv __ZN7acommon16add_possible_dirENS_10ParmStringES0_ __ZN7acommon16new_basic_configEv __ZN7acdubious Test returned status 0 (wstat 5, 0x5) FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 perl -Iblib/lib -Iblib/arch t/test.t dyld: perl Undefined symbols: __ZN7acommon10StringList3addENS_10ParmStringE __ZN7acommon10StringList6assignEPKS0_ __ZN7acommon10StringList7destroyEv __ZN7acommon11file_existsENS_10ParmStringE __ZN7acommon11mode_stringE __ZN7acommon11new_convertERNS_6ConfigENS_10ParmStringES2_ __ZN7acommon11remove_fileENS_10ParmStringE __ZN7acommon12CanHaveErrorC1EPNS_5ErrorE __ZN7acommon12PosibErrBase3delEv __ZN7acommon12PosibErrBase3setEPKNS_9ErrorInfoENS_10ParmStringES4_S4_S4_ __ZN7acommon12PosibErrBase7releaseEv __ZN7acommon12PosibErrBase9with_fileENS_10ParmStringE __ZN7acommon12StringBuffer5allocEj __ZN7acommon12StringBufferC1Ev __ZN7acommon12getdata_pairERNS_7IStreamERNS_6StringES3_ __ZN7acommon13truncate_fileERNS_7FStreamENS_10ParmStringE __ZN7acommon14GenericCopyPtrINS_5ErrorENS_7CopyPtrIS1_E5ParmsEE5resetEPS1_RKS4_ __ZN7acommon14figure_out_dirENS_10ParmStringES0_ __ZN7acommon15new_string_listEv __ZN7acommon16add_possible_dirENS_10ParmStringES0_ __ZN7acommon16new_basic_configEv __ZN7acommon18geTrace/BPT trap Error disappears when "exit;" is put just before the "require Text::Aspell;" line, but not when it is put just after that line. Let me know if there's anything I can do to help solve this one. Thanks in advance, Lux
Hey! I ran into this problem in 10.2: http://www.macosxhints.com/article.php?story=20030506220819362 And I tried to install it again tonight, and found my include paths for aspell (I have the headers in /sw/include) got stomped in the upgrade. The Makefile.pl that worked for me: WriteMakefile( 'NAME' => 'Text::Aspell', 'VERSION_FROM' => 'Aspell.pm', 'CCFLAGS' => '-I/sw/include/', 'LIBS' => ['-L/sw/lib -laspell -laspell-common -lstdc++'], 'XSPROTOARG' => '-noprototypes', ); Hope it helps! John
I have too much time on my hands. I installed aspell from scratch from the gnu page and other than adding /usr/local/bin to my environment (.bash_profile in my case), it worked fine. I then installed Text-Aspell-0.04 from a new copy and it worked without a hitch. (Mac OSX 10.3). John