installation IDN on PECL at PHP > 5.3 fails

Bug #1083513 reported by svecpetr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

when you use PHP 5.3 or newer is impossible to add PECL IDN package to PHP

because it fails

try this

sudo pecl install -f idn

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: php-pear 5.3.10-1ubuntu3.4 [modified: usr/share/php/.filemap]
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Tue Nov 27 11:34:48 2012
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
SourcePackage: php5
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
svecpetr (svecpetr-svecpetr) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for your report.

I was able to execute the command you supplied successfully. I'll attach my terminal log.

So since this looks like a local configuration problem, rather than a bug in Ubuntu, so I'm marking this bug as Invalid.

You can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

If you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, and then change the bug status back to New.

Changed in php5 (Ubuntu):
status: New → Invalid
Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
svecpetr (svecpetr-svecpetr) wrote :

To: Robie Basek ... you are wrong ... that is not in settings, as you write

because it writes error: /tmp/pear/temp/idn/idn.c:221:1 error: unknown type name 'function_entry'

you didn't find it, BECAUSE YOU USE OLD PHP ... YOU ARE USING PHP FROM 20090626
THAT'S MEAN, THAT YOU USE PHP 5.2 ... WHERE IS EVERYTHING OK

but at php 5.3 and newer you will see mentioned error followed many warnings and finally
make: *** [idn.lo] Error 1
ERROR: `make' failed

Changed in php5 (Ubuntu):
status: Invalid → New
Revision history for this message
Ondřej Surý (ondrej) wrote :

> error: /tmp/pear/temp/idn/idn.c:221:1 error: unknown type name 'function_entry'

That's a problem with IDN module, not with PHP. It has to be updated to use new function.

P.S.: Don't use caps, it's considered rude.

Changed in php5 (Ubuntu):
status: New → Invalid
Revision history for this message
Ondřej Surý (ondrej) wrote :

P.S.: You need to change "function_entry" to "zend_function_entry" and each "pval" to "zval".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.