Installing Perl extension for PHP

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
cfpdevAsked:
Who is Participating?
 
mrjoltcolaCommented:
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
 
cfpdevAuthor Commented:
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
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
Duncan RoeSoftware DeveloperCommented:
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
 
cfpdevAuthor Commented:
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
 
cfpdevAuthor Commented:
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
 
Duncan RoeConnect With a Mentor Software DeveloperCommented:
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
 
cfpdevAuthor Commented:
we worked around the problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.