New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is lib-ICU working ? #1939
Comments
Same here. Here is the output of my dpkg (running Ubuntu 13.04 64bits):
|
lib-ICU is only present if you have the php intl extension (which uses libicu and exposes it to php). Check |
yep, that pretty much solved it, thanks! |
Thanks, it now works Not so obvious however to understand that php5-intl is needed, with an error talking only about lib-icu :) |
The error does end with "make sure to load the extension providing it", |
Nice, thanks |
There seems to be a problem with how the versions are being checked, as I am getting the following error when deploying to a mac which has version 51.2 of lib-icu installed: When I check to see if intl is installed I get: So everything seems present and correct, and from my research, 51.2 is definitely newer than 4.0 |
@frak can you paste the output of |
@Seldaek This is what I get:
|
Strange, 51.2 should definitely satisfy >=4.4. Care to share the composer.json so I can try to reproduce? |
@Seldaek sure thing: http://pastebin.com/d1Qi0Bzt (I recently upgraded from 2.1 to 2.3, so I hope I got everything right when I switched) |
@Seldaek actually, can you try this one as I fixed a lot of things I was in the middle of before I noticed this error: http://pastebin.com/Zh5eMfyQ |
OK so I am still quite confused about this, can't reproduce using your last pastebin:
|
Very strange - and you are running this on a Mac with the MacPorts version of ICU? |
Nope I'm running on windows and I hacked the ICU version in composer to be 51.2 just to see if it was a composer version handling bug. Seems it's not so maybe something else is at play on your machine. |
The error message that composer gives seems to imply that it doesn't even recognise that it is lib-icu - the text is the error that comes from line 99 of Problem.php, indicating that false was returned on line 93 - so in this case I don't think that the version of ICU is the problem... |
Meh yes that's true, very very weird. And you are sure you run the latest composer version? |
I specifically got the latest version to perform this test, to rule that out as an issue… On 13 Jan 2014, at 12:48, Jordi Boggiano notifications@github.com wrote:
|
OK, so it does seem like something else is at play. When I run composer on the mac I am deploying to there are no problems, but when I use Capifony it fails - it seems very odd as the error is coming directly from Composer: Anyway, I shall have a look around now to see if any others have had this problem with Capifony... |
Ah ha, sounds like capifony isn't loading the right php or the right ini file then. |
Thanks for the tip - I just made a check:
This I can fix - thanks for your help :) |
I'm trying to install symfony-standard but runs into trouble, as reported here:
https://github.com/symfony/symfony-standard/issues/552
The fact is https://github.com/symfony/Icu uses the new option from composer alpha7:
lib-ICU
, but the check of this library installed doesn't seem to work on my system despitelibicu 4.8.1
installed on itHere is the output of my dpkg (Running Ubuntu 12.10 64bits)
The text was updated successfully, but these errors were encountered: