Re: 9.2.2 build error (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux