Re: 9.2.2 build error (SOLVED)

From: CS DBA <cs_dba(at)consistentstate(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: 9.2.2 build error (SOLVED)
Date: 2013-01-05 18:00:26
Message-ID: 50E86A3A.3060300@consistentstate.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 1/5/13 10:58 AM, CS DBA wrote:
> Hi all;
>
>
> I'm building 9.2.2 from source on a Scientific Linux 6.2 box.
>
> I downloaded the tar.bz2 file from here:
> http://www.postgresql.org/ftp/source/v9.2.2/
>
> I unzipped the file and ran this:
>
> ./configure --prefix=/usr/local/pgsql --with-perl --with-openssl
>
> then I get this error:
>
> checking for flags to link embedded Perl... Can't locate
> ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
> BEGIN failed--compilation aborted.
> no
> configure: error: could not determine flags for linking embedded Perl.
> This probably means that ExtUtils::Embed or ExtUtils::MakeMaker is not
> installed.
>
>
> I installed these packages:
> yum install perl-ExtUtils-MakeMaker perl-ExtUtils-Embed
>
> Still get the same error.
>
> Next I installed this:
>
> yum install perl-ExtUtils*
>
> which installed this:
> Installing:
> perl-ExtUtils-CBuilder
> perl-ExtUtils-MakeMaker-Coverage
> Installing for dependencies:
> perl-Algorithm-Diff
> perl-AppConfig
> perl-Devel-Cover
> perl-Devel-Symdump
> perl-Locale-Maketext-Simple
> perl-Object-Accessor
> perl-Params-Check
> perl-Pod-Coverage
> perl-Pod-POM
> perl-Template-Toolkit
> perl-Test-Differences
> perl-Text-Diff
>
>
>
> I still get the above error.
>
> Note that the error says "Can't locate ExtUtils/Embed.pm in @INC (@INC
> contains: /usr/local/lib64/perl5 /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
> /usr/lib64/perl5 /usr/share/perl5 .)"
>
> However ExtUtils/Embed.pm is here:
>
> # find / -name "Embed.pm"
> /usr/share/perl5/ExtUtils/Embed.pm
>
>
> Thanks in advance for any help.....
>
>
>
> /Kevin
>
>
>
>
>
>
>

USER ERROR. Nevermind

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message J Rouse 2013-01-05 20:54:14 restoring from a dump
Previous Message CS DBA 2013-01-05 17:58:03 9.2.2 build error