Re: cpan module install woes - UTF-8 problem?



Sherman Pendley is quoted & my replies are inline below :

Troy Piggins <usenet-0710@xxxxxxxxx> writes:

Not being that knowledgeable with perl, I usually install modules at
the commandline by:

$ sudo cpan BerkeleyDB

...snip...

Note (probably harmless): No library found for -ldb

Grrr...

I'm hearing ya! :)

It's a pet peeve of mine that missing libraries are described as
"probably harmless." At least nine times out of ten, a missing library
will result in an XS module that either fails to build or fails its
tests.

Let's see if that's the case here...

BerkeleyDB.c BerkeleyDB.xs:68:16: error: db.h: No such file or
directory

Yep. You're missing the Berkeley DB C library, and it's not as harmless
as the warning would have you believe. The Perl module is just a wrapper
for the C library, and without the C library it can't work.

So..... how do we fix it :)

Is the missing library installed from cpan, or deb package?

--
Troy Piggins
using Xnews from work while getting new home connected
.



Relevant Pages

  • [PATCH] signals: send_signal: be paranoid about signalfd_notify()
    ... send_signalshouldn't call signalfd_notifyif it then fails with -EAGAIN. ... Harmless, just a paranoid cleanup. ... It is obsolete, signalfd_notifywas simplified and ...
    (Linux-Kernel)
  • Command Line error while installing perl modules.
    ... I am trying to install a perl module Net::RawIP in windows xp. ... Note (probably harmless): ... Command line error D2027: cannot execute 'c1' ...
    (perl.beginners)
  • Re: Plotting widget in Perl?
    ... Databox.xs:75: (Each undeclared identifier is reported only once ... Note (probably harmless): ... I have built the c version of gtkdatabox separately and have ... which perl module in Gtk2::* should I use to use this from perl? ...
    (perl.beginners)
  • Problems in creating executable
    ... I have a simple perl program on windows as below which i am trying to creat ean executable for. ... But it fails with the errors below ... Note (probably harmless): ...
    (perl.beginners)
  • Re: DBD-Oracle-1.14 Oracle91 Suse9
    ... If it fails please send the full info just to me (to save the ... list bandwidth for those not interested in our trials and tribulations). ... Tim. ... It probably is and so is probably harmless. ...
    (perl.dbi.users)