Discussion:
/usr/ports/devel/pecl-intl
Jos Chrispijn
2012-05-17 08:59:34 UTC
Permalink
Being in the process of installing RoundCube port, I ran into this issue:

/usr/ports/devel/pecl-intl/work/intl-1.1.2/collator/collator_class.c:114: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'Collator_class_functions'
/usr/ports/devel/pecl-intl/work/intl-1.1.2/collator/collator_class.c: In
function 'collator_register_Collator_class':
/usr/ports/devel/pecl-intl/work/intl-1.1.2/collator/collator_class.c:141: error:
'Collator_class_functions' undeclared (first use in this function)
/usr/ports/devel/pecl-intl/work/intl-1.1.2/collator/collator_class.c:141: error:
(Each undeclared identifier is reported only once
/usr/ports/devel/pecl-intl/work/intl-1.1.2/collator/collator_class.c:141: error:
for each function it appears in.)
*** Error code 1

Stop in /usr/ports/devel/pecl-intl/work/intl-1.1.2.
*** Error code 1

Stop in /usr/ports/devel/pecl-intl.
*** Error code 1

Stop in /usr/ports/mail/roundcube.
*** Error code 1

--- cut ---

Who can I contact to report this issue?

Thanks,
Jos Chrispijn
Michael Scheidell
2012-05-17 09:30:18 UTC
Permalink
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'Collator_class_functions'
error: 'Collator_class_functions' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)
looks like the php5.4 stuff?

you installing, or installed php5.4? or have php5 (that used to be 5.3
and is now php53?)

#1, update your ports tree
#2, see /usr/ports/updating (you might want to keep with php53, ie;
rename php5->php53 using portmaster/portmanager/portupgrade0
#3, to report, open a pr (use send-pr, and or support form on
http://www.freebsd.org/send-pr.html

looks like similar pr's www.freebsd.org/cgi/query-pr.cgi?pr=ports/168000
and www.freebsd.org/cgi/query-pr.cgi?pr=ports/168002 deal with similar
issues.

I would /assume/ that pecl-intl 2.0.0 will fix this?

<http://pecl.php.net/package/intl/2.0.0>

so, #3a: submit patches against current to update to 2.0.0, synopsis
should be '[UPDATE] devel/pecl-intl to 2.0.0 to fix php5.4 api change?
--
Michael Scheidell, CTO
*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell
Loading...