Compiling PERL 5


Results 1 to 2 of 2

Thread: Compiling PERL 5

  1. #1
    Join Date
    Apr 2002
    Location
    Augusta Georgia USA
    Posts
    38

    Question Compiling PERL 5

    I am trying to install openwebmail on my Linux server and I ran into a small problem.

    [root@r2d2 CGI.pm-2.74]# perl Makefile.PL
    Checking if your kit is complete...
    Looks good

    Error: Unable to locate installed Perl libraries or Perl source code.

    It is recommended that you install perl in a standard location before
    building extensions. Some precompiled versions of perl do not contain
    these header files, so you cannot build extensions. In such a case,
    please build and install your perl from a fresh perl distribution. It
    usually solves this kind of problem.

    (You get this message, because MakeMaker could not find "/usr/lib/perl5/5.6.1/i386-linux/CORE/perl.h")


    So I attempted to build and install Perl which I downloaded from CPAN.

    I am using Mandrake 8.1 and I am utterly (moo) confused and lost.

    I can't find any instructions for actually doing the build/install.

    I'm completely new at building/installing so any help would be sweet.

    Thanks in advance.
    Registered Linux User #324436
    Registered Linux Box #209059

    One by one, the Penguins are taking my sanity...

  2. #2
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    See if you can undo anything you've done so far, and then check for a perl-devel package (either pull out the Mandrake CDs, or look in Software Manager) or something similarly-named.

    Otherwise, for Perl compilation instructions, you can check out the LFS book; there's a Perl installation section in that (linkage: http://www.linuxfromscratch.org/view...er06/perl.html ). If you have trouble with part of it, post the errors or whatnot, and what you did (in this thread should be fine), and somebody should be able to help.

    Oh, when they say "run the Configure script", they mean type ./Configure instead of ./configure.gnu (which is what the standard instructions say). I'd recommend trying ./configure.gnu once first at least.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •