Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Installing Text::Aspell with Fink-installed aspell UNIX
If you have installed Apple's Developer Tools, you can often install the perl modules at search.cpan.org/, but some are a bit of a challenge. I wanted Text::Aspell so I can add spell checking to my perl scripts. Text::Aspell requires aspell to be installed.

Fink is good enough to install aspell, but it only supplies the static libraries (.a) while Apple's install of perl is dynamic (.dynlib). When you grab Text::Aspell, you need to modify the Makefile.pl from:

'LIBS'          => ['-laspell'],
to:
'LIBS'          => ['-L/sw/lib -laspell -laspell-common -lstdc++'],
This adds fink's library path to the install, and adds the dependent libraries to the link. Do the normal:
perl Makefile.pl
make
make test
sudo make install
And you should be good to go.
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[5,313 views]  

Installing Text::Aspell with Fink-installed aspell | 1 comments | Create New Account
Click here to return to the 'Installing Text::Aspell with Fink-installed aspell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Installing Text::Aspell with Fink-installed aspell
Authored by: bhines on May 09, '03 12:29:47AM
You might also consider just making a fink package out of it. Fink packages, especially perl packages, are extremely simple. For example:

/sw/fink/10.2/unstable/main/finkinfo/libs/perlmods/xml-dom- pm-1.42-1.info is:

Package: xml-dom-pm
Version: 1.42
Revision: 1
###
Depends: xml-regexp-pm, xml-parser-pm, libwww-pm, libxml-
pm
###
Source: mirror:cpan:authors/id/T/TJ/TJMATHER/XML-DOM-
%v.tar.gz
Source-MD5: 5b5de743e1f06f6757108f83fbf04b72
###
Type: perl
UpdatePOD: true
###
DocFiles: Changes FAQ.xml MANIFEST README* samples/*
###
Description: Perl ext that adds new style to XML::Parser
DescDetail: 
Homepage: http://search.cpan.org/dist/XML-DOM

And thats it!

[ Reply to This | # ]