Updated with text files of versions, error messages, etc.
[mike@watson cpan]$ uname -a
Linux watson.localdomain 2.6.34.7-61.fc13.i686.PAE #1 SMP Tue Oct 19
04:24:06 UTC 2010 i686 i686 i386 GNU/Linux
On Thu Dec 02 11:45:19 2010, drummike wrote:
Show quoted text> I was trying to comply with the directions, had
> attached one text file, then clicked on the "Add more files" button to
> add somes other and RT croaked on me!
Adding additional text files to finish bug report.
Output of perl -V in => perl_V.txt
Text::Aspell failure due to aspell.h not being found
in => aspell_fail_without_aspell_devel.txt
Note that trying to install Text::Aspell immediately after Pod::Advent
install failed showed no helpful error messages.
Exiting CPAN shell and again attempting install Text::Aspell resulted in
a swarm of error messages with the first one being the clue to the real
problem:
CPAN.pm: Going to build H/HA/HANK/Text-Aspell-0.09.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Aspell
cp Aspell.pm blib/lib/Text/Aspell.pm
/opt/bin/perl /opt/lib/perl5/5.12.1/ExtUtils/xsubpp -noprototypes
-typemap /opt/lib/perl5/5.12.1/ExtUtils/typemap -typemap typemap
Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c
cc -c -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" -fPIC
"-I/opt/lib/perl5/5.12.1/i686-linux/CORE" Aspell.c
Aspell.xs:4:20: error: aspell.h: No such file or directory
Output from sucessful install of Pod:Advent after
'yum -y install aspell-devel'
in => pod_advent_install_ok.txt
Note: some of the messages in the text files were replicated on an
*almost* identical system because initial error messages were not
captured. The OS and perl versions are the same. The perl used on both
boxes was identical, it was compiled on one system and a tarbar of the
install was transferred to the other system to avoid compiling perl twice.
Should I post some of this info as a bug for Text::Aspell?
Mike
Summary of my perl5 (revision 5 version 12 subversion 1) configuration:
Platform:
osname=linux, osvers=2.6.33.6-147.fc13.i686.pae, archname=i686-linux
uname='linux crick.bio.whe.umb.edu 2.6.33.6-147.fc13.i686.pae #1 smp tue jul 6 22:24:44 utc 2010 i686 i686 i386 gnulinux '
config_args='-des -Dprefix=/opt'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.4 20100630 (Red Hat 4.4.4-10)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Jul 23 2010 18:55:20
@INC:
/opt/lib/perl5/site_perl/5.12.1/i686-linux
/opt/lib/perl5/site_perl/5.12.1
/opt/lib/perl5/5.12.1/i686-linux
/opt/lib/perl5/5.12.1
.
After "yum -y install aspell-devel" things went smoothly
cpan[1]> install Text::Aspell
Going to read '/root/.cpan/Metadata'
Database was generated on Thu, 02 Dec 2010 06:54:01 GMT
Running install for module 'Text::Aspell'
Running make for H/HA/HANK/Text-Aspell-0.09.tar.gz
Checksum for /root/.cpan/sources/authors/id/H/HA/HANK/Text-Aspell-0.09.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Going to build H/HA/HANK/Text-Aspell-0.09.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Aspell
cp Aspell.pm blib/lib/Text/Aspell.pm
/opt/bin/perl /opt/lib/perl5/5.12.1/ExtUtils/xsubpp -noprototypes -typemap /opt/lib/perl5/5.12.1/ExtUtils/typemap -typemap typemap Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c
cc -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" -fPIC "-I/opt/lib/perl5/5.12.1/i686-linux/CORE" Aspell.c
Running Mkbootstrap for Text::Aspell ()
chmod 644 Aspell.bs
rm -f blib/arch/auto/Text/Aspell/Aspell.so
LD_RUN_PATH="/usr/lib" cc -shared -O2 -L/usr/local/lib -fstack-protector Aspell.o -o blib/arch/auto/Text/Aspell/Aspell.so \
-laspell \
chmod 755 blib/arch/auto/Text/Aspell/Aspell.so
cp Aspell.bs blib/arch/auto/Text/Aspell/Aspell.bs
chmod 644 blib/arch/auto/Text/Aspell/Aspell.bs
Manifying blib/man3/Text::Aspell.3
HANK/Text-Aspell-0.09.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /opt/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-use.t ... ok
t/02-pod.t ... skipped: set TEST_POD to enable this test
t/05-core.t .. ok
All tests successful.
Files=3, Tests=20, 1 wallclock secs ( 0.18 usr 0.03 sys + 0.40 cusr 0.09 csys = 0.70 CPU)
Result: PASS
HANK/Text-Aspell-0.09.tar.gz
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /opt/lib/perl5/site_perl/5.12.1/i686-linux/auto/Text/Aspell/Aspell.bs
Installing /opt/lib/perl5/site_perl/5.12.1/i686-linux/auto/Text/Aspell/Aspell.so
Installing /opt/lib/perl5/site_perl/5.12.1/i686-linux/Text/Aspell.pm
Installing /opt/man/man3/Text::Aspell.3
Appending installation info to /opt/lib/perl5/5.12.1/i686-linux/perllocal.pod
HANK/Text-Aspell-0.09.tar.gz
/usr/bin/make install -- OK
cpan[2]> install Pod::Advent
Running install for module 'Pod::Advent'
Running make for D/DA/DAVIDRW/Pod-Advent-0.20.tar.gz
Checksum for /root/.cpan/sources/authors/id/D/DA/DAVIDRW/Pod-Advent-0.20.tar.gz ok
CPAN.pm: Going to build D/DA/DAVIDRW/Pod-Advent-0.20.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Pod::Advent
cp lib/Pod/Advent.pm blib/lib/Pod/Advent.pm
cp bin/pod2advent blib/script/pod2advent
/opt/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pod2advent
Manifying blib/man1/pod2advent.1
Manifying blib/man3/Pod::Advent.3
DAVIDRW/Pod-Advent-0.20.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /opt/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ......... 1/1 # Testing Pod::Advent 0.20, Perl 5.012001, /opt/bin/perl
t/00-load.t ......... ok
t/attributes.t ...... ok
t/boilerplate.t ..... ok
t/examples.t ........ ok
t/general.t ......... ok
t/packagevars.t ..... ok
t/pod-coverage.t .... ok
t/pod.t ............. ok
t/pod2advent.t ...... ok
t/snippets.t ........ ok
t/spellcheck-off.t .. Subroutine new redefined at t/spellcheck-off.t line 9.
Couldn't load Text::Aspell -- spellchecking disabled. at /root/.cpan/build/Pod-Advent-0.20-ONBfTA/blib/lib/Pod/Advent.pm line 55.
t/spellcheck-off.t .. ok
t/spellcheck.t ...... ok
All tests successful.
Files=12, Tests=188, 17 wallclock secs ( 0.32 usr 0.10 sys + 14.85 cusr 1.28 csys = 16.55 CPU)
Result: PASS
DAVIDRW/Pod-Advent-0.20.tar.gz
/usr/bin/make test -- OK
Running make install
Installing /opt/lib/perl5/site_perl/5.12.1/Pod/Advent.pm
Installing /opt/man/man1/pod2advent.1
Installing /opt/man/man3/Pod::Advent.3
Installing /opt/bin/pod2advent
Appending installation info to /opt/lib/perl5/5.12.1/i686-linux/perllocal.pod
DAVIDRW/Pod-Advent-0.20.tar.gz
/usr/bin/make install -- OK
Trying to install Text::Aspell immediately after Pod::Advent failed install results in the following:
install Text::Aspell
Running install for module 'Text::Aspell'
Running make for H/HA/HANK/Text-Aspell-0.09.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Text-Aspell-0.09-4WHEuD
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Exiting CPAN shell and restarting:
perl -MCPAN -e shell
install Text::Aspell
gives a more helpful error:
cpan[1]> install Text::Aspell
Going to read '/root/.cpan/Metadata'
Database was generated on Thu, 02 Dec 2010 06:54:01 GMT
Running install for module 'Text::Aspell'
Running make for H/HA/HANK/Text-Aspell-0.09.tar.gz
Checksum for /root/.cpan/sources/authors/id/H/HA/HANK/Text-Aspell-0.09.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Going to build H/HA/HANK/Text-Aspell-0.09.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Aspell
cp Aspell.pm blib/lib/Text/Aspell.pm
/opt/bin/perl /opt/lib/perl5/5.12.1/ExtUtils/xsubpp -noprototypes -typemap /opt/lib/perl5/5.12.1/ExtUtils/typemap -typemap typemap Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c
cc -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" -fPIC "-I/opt/lib/perl5/5.12.1/i686-linux/CORE" Aspell.c
Aspell.xs:4:20: error: aspell.h: No such file or directory
Aspell.xs:9: error: expected specifier-qualifier-list before ‘AspellCanHaveError’
Following this up with installation of aspell-devel results in Text::Aspell installing with no errors.
After that is done Pod::Advent installs correctly.