Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/06/2014, à 13:36

johnkay

Phpbrew erreur avec pcre

Bonjour,

J'essaye d'installer phpbrew pour pouvoir switcher de version de php quand j'en ai besoin (j'ai plusieurs projet et pas les même version de php)

Mais j'ai un problème quand j'execute la commande suivante :

sudo phpbrew install 5.4.0 +default 

J'ai pourtant installé la libpcre3 et quand le build commence voila le résultat  :


===> Building...
ext/pcre/php_pcre.o: In function `zm_info_pcre':
php_pcre.c:(.text+0x330): undefined reference to `php_pcre_version'
ext/pcre/php_pcre.o: In function `zm_startup_pcre':
php_pcre.c:(.text+0x4f7): undefined reference to `php_pcre_version'
ext/pcre/php_pcre.o: In function `make_subpats_table.isra.6':
php_pcre.c:(.text+0x7da): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x805): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x81d): undefined reference to `php_pcre_fullinfo'
ext/pcre/php_pcre.o: In function `php_pcre_replace_impl.constprop.13':
php_pcre.c:(.text+0x1035): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x1204): undefined reference to `php_pcre_exec'
ext/pcre/php_pcre.o: In function `pcre_get_compiled_regex_cache':
php_pcre.c:(.text+0x15e1): undefined reference to `php_pcre_compile'
php_pcre.c:(.text+0x1775): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x17fe): undefined reference to `php_pcre_maketables'
php_pcre.c:(.text+0x1839): undefined reference to `php_pcre_study'
ext/pcre/php_pcre.o: In function `zif_preg_match':
php_pcre.c:(.text+0x1a44): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x1ac2): undefined reference to `php_pcre_exec'
php_pcre.c:(.text+0x1af8): undefined reference to `php_pcre_get_substring_list'
php_pcre.c:(.text+0x1d3f): undefined reference to `php_pcre_free'
ext/pcre/php_pcre.o: In function `zif_preg_match_all':
php_pcre.c:(.text+0x1fc9): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x210c): undefined reference to `php_pcre_exec'
php_pcre.c:(.text+0x2145): undefined reference to `php_pcre_get_substring_list'
php_pcre.c:(.text+0x22bd): undefined reference to `php_pcre_free'
ext/pcre/php_pcre.o: In function `php_pcre_match_impl':
php_pcre.c:(.text+0x323c): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x338c): undefined reference to `php_pcre_exec'
php_pcre.c:(.text+0x33c5): undefined reference to `php_pcre_get_substring_list'
php_pcre.c:(.text+0x354a): undefined reference to `php_pcre_free'
ext/pcre/php_pcre.o: In function `php_pcre_replace_impl':
php_pcre.c:(.text+0x3ce4): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x3dc1): undefined reference to `php_pcre_exec'
ext/pcre/php_pcre.o: In function `php_pcre_split_impl':
php_pcre.c:(.text+0x54cf): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x5597): undefined reference to `php_pcre_exec'
php_pcre.c:(.text+0x5907): undefined reference to `php_pcre_exec'
ext/pcre/php_pcre.o: In function `php_pcre_grep_impl':
php_pcre.c:(.text+0x5b26): undefined reference to `php_pcre_fullinfo'
php_pcre.c:(.text+0x5c8c): undefined reference to `php_pcre_exec'
collect2: error: ld returned 1 exit status
make: *** [sapi/cli/php] Erreur 1

Je suis sur Ubuntu Gnome 14.04 et j'ai fait toute les mise à jour.

Quelqu'un a une idée ? J'ai posté sur le github de phpbrew mais je n'ai pas encore de réponse et comme je suis très limité par le temps j'aimerai pouvoir régler mon problème rapidement.

Hors ligne