[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Installing Perl extension for PHP

Posted on 2009-04-23
9
Medium Priority
?
1,220 Views
Last Modified: 2012-05-06
Hi there

I'm trying to install PECL Perl extension for PHP.

I downloaded package from http://pecl.php.net/package/perl and everything was fine until make install where I get an error.

I also tried installing module using:

pecl install perl

with the same result.

Please see attachment for output with error.

The box setup is:
----------------------
Fedora Linux version 2.6.25.14-108.fc9.x86_64 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Mon Aug 4 13:46:35 EDT 2008


PHP 5.2.6 (cli) (built: May  8 2008 10:25:11)
Copyright (c) 1997-2008
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies


This is perl, v5.10.0 built for x86_64-linux-thread-multi

Thanks for any suggestions.

Regards

Rad
pecl-install-perl.txt
0
Comment
Question by:cfpdev
8 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24218222
I think your problem is you are missing some Perl RPMs  needed to build the module. Your configure log shows:

>> Can't locate ExtUtils/Embed.pm

See if the rpm perl-ExtUtils-Embed is in your Fedora distro, or grab the right one for your distro from an RPM site.

http://rpmfind.net/linux/rpm2html/search.php?query=perl-ExtUtils-Embed


0
 
LVL 14

Accepted Solution

by:
shobinsun earned 750 total points
ID: 24222388
0
 

Author Comment

by:cfpdev
ID: 24225865
Hi there

thanks for your posts. I went through the missing packages and added/updated all missing ones.

The installation output has moved on and there isn't any missing Perl RPMs however it's not successful  yet..

Please see attachment.

Thanks

Rad
pecl-install-perl2.txt
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 35

Expert Comment

by:Duncan Roe
ID: 24274717
You do have a 64-bit system, right? It looks a little like the package source doesn't cater for that. Or you have a mixture of 32- & 64- bit software somehow. Is your system 100% 64-bit?
0
 

Author Comment

by:cfpdev
ID: 24277365
Hi

thanks for response.

Yes it's 64-bit system. and Fedora release 9 (Sulphur).

[root@ralf ~]# arch
x86_64

As far as I'm concern yes.

Do you recommend to give it a go on 32-bit machine? I mean we have collection of virtual machines in place so it's matter of creating one.

Thanks

Regards

Rad




0
 

Author Comment

by:cfpdev
ID: 24277390
just to to amend more info

[root@ralf ~]# uname -a
Linux doamain 2.6.25.14-108.fc9.x86_64 #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Thanks

Rad
0
 
LVL 35

Assisted Solution

by:Duncan Roe
Duncan Roe earned 750 total points
ID: 24278072
Yes if you can put a 32-bit system together, by all means give it a try. Usually asm is written for 32-bit systems.
0
 

Author Closing Comment

by:cfpdev
ID: 31573841
we worked around the problem.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Six Sigma Control Plans
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month18 days, 11 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question