petdance/scratch — Issue #322: [PATCH] Parrot Configure can't find pod2man and perldoc under a 	versiononly perl
Author: petdance
Created: 2011-11-01 05:42:02+00:00
State: open
Labels: bug, configure, Pri-normal, Sev-medium

{{{
Summary: [PATCH] Parrot Configure can't find pod2man and perldoc under
a versiononly perl
Reported by: avarab@gmail.com
---
Parrot can't find pod2man and perldoc under a versiononly perl. Which
will e.g. be installed by perlbrew.

I have a patch that fixes this in my GitHub fork of Parrot:
http://github.com/avar/parrot/compare/master...configure-versiononly.patch

Note that that may not cover some other bizarre cases. CPANPLUS has
some more tests at the bottom of its Makefile.PL that might be
interesting as reference for further work in this area.

---
osname= linux
osvers= 2.6.32.12-x86_64-linode12
arch= x86_64-linux
cc= cc
---
Flags:
category=core
severity=low
ack=no
---
Summary of my parrot 2.6.0 (r48160) configuration:
configdate='Thu Jul 22 13:57:33 2010 GMT'
Platform:
osname=linux, archname=x86_64-linux
jitcapable=0, jitarchname=nojit,
jitosname=linux, jitcpuarch=amd64
execcapable=0
perl=/home/v-perlbrew/perl5/perlbrew/perls/perl-5.13.2/bin/perl5.13.2
Compiler:
cc='cc', ccflags=' -pipe -fstack-protector -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DHASATTRIBUTE_CONST
-DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC
-DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE
-DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT
-DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DHAS_GETTEXT',
Linker and Libraries:
ld='cc', ldflags=' -fstack-protector -L/usr/local/lib',
cc_ldflags='',
libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline '
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -O2 -L/usr/local/lib
-fstack-protector -fPIC',
load_ext='.so', ld_load_flags='-shared -O2 -L/usr/local/lib
-fstack-protector -fPIC'
Types:
iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
ptrsize=8, byteorder=12345678,
nv=double, numvalsize=8, doublesize=8, longdoublesize=16

---
Environment:
HOME =/home/avar
LANG =en_US.utf8
LANGUAGE =en_US:en
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH =/home/v-perlbrew/perl5/perlbrew/bin:/home/v-perlbrew/perl5/perlbrew/perls/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/avar/g/misc-scripts:/home/avar/g/rtmpdump:/home/avar/src/dl/rakudo-star-2010.07/install/bin
PERLDOC =-MPod::Text::Ansi
SHELL =/bin/bash

}}}

Originally http://trac.parrot.org/parrot/ticket/1732