2015-01-21 6 views
5

Errore durante l'installazione del pacchetto di messaggi fos nel mio progetto. mi metterò questo erroreErrore durante l'installazione di symfony2 fos message bundle

"Installation request for symfony/icu == 1.2.2.0 -> satisfiable by symfony/icu[v1.2.2]. - symfony/icu v1.2.2 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it."

Il mio codice composer.json:

{ 
    "name": "symfony/framework-standard-edition", 
    "license": "MIT", 
    "type": "project", 
    "description": "The \"Symfony Standard Edition\" distribution", 
    "autoload": { 
     "psr-0": { "": "src/", "SymfonyStandard": "app/" } 
    }, 
    "require": { 
     "php": ">=5.3.3", 
     "symfony/symfony": "2.5.*", 
     "doctrine/orm": "~2.2,>=2.2.3", 
     "doctrine/doctrine-bundle": "~1.2", 
     "twig/extensions": "~1.0", 
     "symfony/assetic-bundle": "~2.3", 
     "symfony/swiftmailer-bundle": "~2.3", 
     "symfony/monolog-bundle": "~2.4", 
     "sensio/distribution-bundle": "~3.0", 
     "sensio/framework-extra-bundle": "~3.0", 
     "incenteev/composer-parameter-handler": "~2.0", 
     "friendsofsymfony/user-bundle": "*" 
    }, 
    "require-dev": { 
     "sensio/generator-bundle": "~2.3" 
    }, 
    "scripts": { 
     "post-root-package-install": [ 
      "SymfonyStandard\\Composer::hookRootPackageInstall" 
     ], 
     "post-install-cmd": [ 
      "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles" 
     ], 
     "post-update-cmd": [ 
      "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", 
      "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles" 
     ] 
    }, 
    "config": { 
     "bin-dir": "bin" 
    }, 

    "extra": { 
     "symfony-app-dir": "app", 
     "symfony-web-dir": "web", 
     "incenteev-parameters": { 
      "file": "app/config/parameters.yml" 
     }, 
     "branch-alias": { 
      "dev-master": "2.5-dev" 
     } 
    } 
} 
+0

errore Geeting quando installare fos messaggio fascio in Symfony2 attraverso compositore [RuntimeException] Impossibile eseguire git status --porcelain --untracked-files = no ' git 'non è riconosciuto come comando interno o esterno, programma operativo o file batch . richiedono [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update -with-dependencies] [--ignore-platform-reqs] [--sort- pacchetti] [pacchetti1] ... [pacchettiN] –

risposta

1

soluzione al vostro problema si possono trovare leggendo il post:

Problems with lib-icu dependency when installing Symfony 2.3.x via Composer

È necessario installare una libreria php speciale php5-intl Puoi farlo a usare:

sudo apt-get install php5-intl 

per gli utenti Ubuntu/Debian

+0

io sono utente di Windows quindi si prega di specificare il codice per quello –

+0

Per gli utenti Windows checkout: http://stackoverflow.com/questions/1451468/intl-extension-installing-php-intl-dll –

+0

In alternativa puoi usare "" symfony/icu ":" 1.0. * "' se non riesci a installarlo affatto . I dettagli sono nella sezione "ICU e problemi di distribuzione" nella pagina dei documenti - http://symfony.com/doc/current/components/intl.html. – qooplmao

Problemi correlati