Re: cpan module install woes - UTF-8 problem?
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 07:01:33 +0000
Quoth Troy Piggins <usenet-0710@xxxxxxxxx>:
Not sure if this is the correct group. Please let me know if there's a
more applicable one.
I'm trying to install amavisd-new, spamassassin, and clamav on my ubuntu
7.10 system. One of amavisd-new's prerequisites is BerkeleyDB and there's
also an optional Mail::ClamAV that I want to install. All other modules
installed fine.
Not being that knowledgeable with perl, I usually install modules at the
commandline by:
$ sudo cpan BerkeleyDB
type commands. Trouble is for those 2 modules mentioned above, and also
some others required for spamassassin, I keep getting many errors[1].
I have read that there may be some problems with perl modules if the
environment is UTF-8.
This is not usually an issue if you are using 5.8.1 or above, and in any
case does not appear to be the problem here.
[1] Some of the output for BDB below. I can provide full if necessary.<snippety>
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -noprototypes -typemap
/usr/share/perl/5.8/ExtUtils/typemap -typemap typemap BerkeleyDB.xs >
BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c cc -c
-I/usr/local/BerkeleyDB/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"0.32\" -DXS_VERSION=\"0.32\" -fPIC "-I/usr/lib/perl/5.8/CORE"
BerkeleyDB.c BerkeleyDB.xs:68:16: error: db.h: No such file or directory
Here is your problem: you don't have db.h, or, at least, not where perl
is looking for it. Have you installed the appropriate -dev db package?
Since you seem to be using Debian, it may be easier to install modules
through the package manager. This will handle external dependancies like
this for you.
Ben
.
- Follow-Ups:
- Re: cpan module install woes - UTF-8 problem?
- From: Troy Piggins
- Re: cpan module install woes - UTF-8 problem?
- References:
- cpan module install woes - UTF-8 problem?
- From: Troy Piggins
- cpan module install woes - UTF-8 problem?
- Prev by Date: Re: cpan module install woes - UTF-8 problem?
- Next by Date: FAQ 8.7 How do I clear the screen?
- Previous by thread: Re: cpan module install woes - UTF-8 problem?
- Next by thread: Re: cpan module install woes - UTF-8 problem?
- Index(es):
Relevant Pages
|