9.2.2 build error

Поиск
Список
Период
Сортировка
От CS DBA
Тема 9.2.2 build error
Дата
Msg-id 50E869AB.3020706@consistentstate.com
обсуждение исходный текст
Ответы Re: 9.2.2 build error (SOLVED)  (CS DBA <cs_dba@consistentstate.com>)
Список 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









В списке pgsql-admin по дате отправления:

Предыдущее
От: postgresql.org@solomonson.com
Дата:
Сообщение: Mixing an SSD and Spinning drive for best performance
Следующее
От: CS DBA
Дата:
Сообщение: Re: 9.2.2 build error (SOLVED)