pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CS DBA <cs_dba@consistentstate.com>
To: pgsql-admin@postgresql.org
Subject: 9.2.2 build error
Date: Sat, 05 Jan 2013 10:58:03 -0700
Message-ID: <50E869AB.3020706@consistentstate.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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









-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



Message-ID: <50E869AB.3020706@consistentstate.com>
Permalink:  ../50E869AB.3020706@consistentstate.com/
Also on:    postgresql.org/message-id/50E869AB.3020706@consistentstate.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: cs_dba@consistentstate.com
  Subject: Re: 9.2.2 build error
  In-Reply-To: <50E869AB.3020706@consistentstate.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox