Error displaying local variables. Install padwalker and restart Eclipse or disable displaying of local variables

I was getting a message when I was starting a Eclipse debug session that said:

“Error displaying local variables. Install padwalker and restart Eclipse or disable displaying of local variables”

After ’sudo apt-get install libpadwalker-perl’ padwalker works again!

Berkeley DB XML requires at least version 4.3 of Berkeley DB. You have version 5.1 loaded

Patch to fix this (perl module Sleepycat::DbXml):

diff ./DbXml/DbXml.xs.old ./DbXml/DbXml.xs
3937c3937
< if (Major < minMajor || Minor < minMinor) {
---
> if (Major < minMajor || (Major==minMajor && Minor < minMinor)) {

Building Oracle Berkeley DB XML

Oracle Berkeley DB XML is an open source XML database with support for XQuery designed to store and index XML content for fast, scalable and predictable access (and more).

While I tried to install the version 2.5.16 on my Debian wheezy/sid I had some problems compiling the source code:

./include/xqilla/framework/XPath2MemoryManager.hpp:90:11: error: ‘ptrdiff_t’ does not name a type

The problem is is solved by adding
#include <cstddef>
right after
#include <assert.h>
in XPath2MemoryManager.hpp

update:

For debian/ubuntu ready packages :

DBpedia URI unescape snippet

  1. #!/usr/bin/perl -w
  2. # ======================================================================
  3. # uri_unescape.pl: DBpedia URI unescape snippet
  4. # Usage: cat foo | ./uri_unescape.pl > bar
  5. # ======================================================================
  6. # GPL copyright 2011 by adverick <me{at}adverick.com>
  7. # ======================================================================
  8. use strict;
  9. use warnings;
  10. # ======================================================================
  11. use URI::Escape;
  12. # ======================================================================
  13.  
  14. # ======================================================================
  15. # Main program  
  16. # ======================================================================
  17. #
  18. while(<STDIN>) {
  19.    chomp;
  20.    print uri_unescape($_);
  21. }
  22. # ======================================================================

DBpedia Unicode characters decode snippet

#!/usr/bin/perl -w
  1. # ======================================================================
  2. # unicode_decode.pl: Decode DBpedia unicode characters snippet
  3. # Usage: cat foo | ./unicode_decode.pl &gt; bar
  4. # ======================================================================
  5. # GPL copyright 2011 by adverick <me{at}adverick.com>
  6. # ======================================================================
  7. use strict;
  8. use warnings;
  9. # ======================================================================
  10. use Encode::Escape::Unicode;
  11. # ======================================================================
  12.  
  13. # ======================================================================
  14. # Main program
  15. # ======================================================================
  16. #
  17. Encode::Escape::Unicode-&gt;demode('python');
  18.  
  19. while() {
  20.    chomp;
  21.    print encode 'utf8', decode 'unicode-escape', $_;
  22. }
  23. # ======================================================================