From: | CS DBA <cs_dba(at)consistentstate(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | 9.2.2 build error |
Date: | 2013-01-05 17:58:03 |
Message-ID: | 50E869AB.3020706@consistentstate.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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
From | Date | Subject | |
---|---|---|---|
Next Message | CS DBA | 2013-01-05 18:00:26 | Re: 9.2.2 build error (SOLVED) |
Previous Message | postgresql.org | 2013-01-05 03:31:28 | Mixing an SSD and Spinning drive for best performance |