Subject: | Alien::wxWidget fails to install on linux/amd64 2.6.18 with wx 2.6 |
Alien::wxWidgets refuses to install. 01_load.t fails with a cryptic
error message and offers absolutely no information about what could
possibly be failing.
i spent an hour code spelunking into the relatively small amount of
code, but i can't work with it. the entire Alien::wxWidgets codebase
hurts my face. anyone unfamiliar with this project would get a migraine
trying to figure out what you're trying to accomplish.
i gave up trying to figure out where the hell $class->_list was
implemented. maybe if i knew more about Module::Pluggable, i'd
understand one iota more of what was going on, but there's so much in
here that's nigh impossible for an unfamiliar individual to make heads
or tails of. here's the output of the failing test:
t/01_load............NOK 1
# Failed test 'use Alien::wxWidgets;'
# at t/01_load.t line 6.
# Tried to use 'Alien::wxWidgets'.
# Error: No matching config:
# $VAR1 = {
# 'compiler_version' => '3.4',
# 'compiler_kind' => 'gcc'
# };
# BEGIN failed--compilation aborted at t/01_load.t line 6.
# Looks like you failed 1 test of 1.
you should know that i had gcc-4.1 installed. the error seems to imply
it is looking for gcc-3.4. fine. install gcc 3.4. update symlinks.
same thing.
the damn thing keeps asking me if i want to build wxwidgets? why? i
already have it installed. libs? check. development package? check.
headers? check.
i don't like to sound hateful, but _WHY_ is this package necessary?
ensuring binaries and libraries are in the default search path is the
user's responsibility, NOT the developer's. specifying compiler and
linker flags are also the user's responsibility, NOT the developer's.
when you try to be everything to everyone, you end up with overly
complex things that don't work.
i'll most likely hack the Wx package to not require Alien::wxWidgets,
since that voodoo doesn't function on my system. i thought i'd file
this bug report/complain anyway.
system: linux (debian etch)
kernel: 2.6.18
arch: amd64
perl: 5.8.8
wx: 2.6
gcc: 4.1
libc: glibc 2.3.6