in reply to Graph 0.69 on AIX
and the referenced bug suggests that this check is to detect a broken List::Util installation. Try reinstalling List::Util manually and see if that helps.# Some Debian distributions have a broken List::Util # (see rt.cpan.org #9568) eval 'require Scalar::Util; import Scalar::Util qw(weaken)'; if ($@) { die <<__EOF__; $@ You do not have Scalar::Util::weaken, cannot continue, aborting. __EOF__ }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Graph 0.69 on AIX
by Anonymous Monk on Dec 13, 2005 at 16:20 UTC | |
Ahh, thanks that does seem to set me on the right path. Wnen I try an install of List::Util I get:
The full install log is below, but I'm not sure why I'm not installing the xs version -- the README and perldocs didn't suggest how to do so, and in Makefile.PL I only saw a reference to can_cc(), which I couldn't find any documentation on? Any more guidance on where I could go looking? Incidentally, for some silly reason its never occurred to me to look at the *code* that was giving the error, but that'll be a useful thing for debugging installs -- thanks!
| [reply] [d/l] [select] |
by randyk (Parson) on Dec 13, 2005 at 16:50 UTC | |
The full install log is below, but I'm not sure why I'm not installing the xs version -- the README and perldocs didn't suggest how to do so, and in Makefile.PL I only saw a reference to can_cc(), which I couldn't find any documentation on? Any more guidance on where I could go looking?The can_cc() routine referenced in the Makefile.PL refers to the included Module::Install::Can (a private helper module). For some reason this fails for you, which is why the XS version wasn't built. You might try building the package as which should override the setting returned by can_cc(). | [reply] [d/l] |
by Anonymous Monk on Dec 13, 2005 at 19:10 UTC | |
Many thanks for your continued help. Running with the -xs flag I still get the same result during tests:
I looked at the code for Module::Install:Can, and the guts involve $Config::Config{cc} so I did check:
Which I guess isn't surprising since I haven't had troubles building other xs-based modules. The check in weak.t looks at @Scalar::Util::EXPORT_FAIL, and it does look like the code being executed is in: perl5.8.7/lib/5.8.7/Scalar/Util.pm. So after that I'm still not quite sure what's going on. In the make output I see:
and during make install I get:
Which I had thought indicates successful building of the xs code. I also tried uninstalling with:
Which led to the same result. Might you have any other ideas of what I could try or where I could look? | [reply] [d/l] [select] |
by randyk (Parson) on Dec 13, 2005 at 20:36 UTC | |
by Anonymous Monk on Dec 13, 2005 at 20:56 UTC | |
| |