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 27/12/2006, à 16:43

tigrou35

[résolu]Problème installation php templates 1.7.2

Bonjour,

j'essaye d'installer php_templates pour pouvoir gérer les templates en php 5. J'ai donc installer apache2, mysql et php5

méthode définie dans la doc (External loadable module) (en module externe):

cd templates
phpize
./configure --enable-templates=shared
make

le make me met une erreur et je sais pas d'ou cela peut venir :

erwan@tigre-laptop:~/templates$ make
/bin/sh /home/erwan/templates/libtool --mode=compile gcc  -I. -I/home/erwan/templates -DPHP_ATOM_INC -I/home/erwan/templates/include -I/home/erwan/templates/main -I/home/erwan/templates -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext  -DHAVE_CONFIG_H  -g -O2   -c /home/erwan/templates/tmpl_lib.c -o tmpl_lib.lo
 gcc -I. -I/home/erwan/templates -DPHP_ATOM_INC -I/home/erwan/templates/include -I/home/erwan/templates/main -I/home/erwan/templates -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -DHAVE_CONFIG_H -g -O2 -c /home/erwan/templates/tmpl_lib.c  -fPIC -DPIC -o .libs/tmpl_lib.o
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_line_num':
/home/erwan/templates/tmpl_lib.c:45: warning: pointer targets in assignment differ in signedness
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_pre_parse_config':
/home/erwan/templates/tmpl_lib.c:89: warning: pointer targets in passing argument 3 of 'search_qs' differ in signedness
/home/erwan/templates/tmpl_lib.c:89: warning: pointer targets in assignment differ in signedness
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_pre_parse':
/home/erwan/templates/tmpl_lib.c:217: error: invalid lvalue in assignment
/home/erwan/templates/tmpl_lib.c:243: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
/home/erwan/templates/tmpl_lib.c:251: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/home/erwan/templates/tmpl_lib.c:251: warning: pointer targets in passing argument 2 of 'add_assoc_stringl_ex' differ in signedness
/home/erwan/templates/tmpl_lib.c:265: warning: pointer targets in assignment differ in signedness
/home/erwan/templates/tmpl_lib.c:278: warning: pointer targets in initialization differ in signedness
/home/erwan/templates/tmpl_lib.c:280: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:282: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/home/erwan/templates/tmpl_lib.c:282: warning: pointer targets in passing argument 2 of 'add_assoc_stringl_ex' differ in signedness
/home/erwan/templates/tmpl_lib.c:303: warning: pointer targets in assignment differ in signedness
/home/erwan/templates/tmpl_lib.c:310: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:311: warning: pointer targets in passing argument 2 of 'php_tmpl_line_num' differ in signedness
/home/erwan/templates/tmpl_lib.c:320: warning: pointer targets in initialization differ in signedness
/home/erwan/templates/tmpl_lib.c:321: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/home/erwan/templates/tmpl_lib.c:321: warning: pointer targets in passing argument 2 of 'add_assoc_stringl_ex' differ in signedness
/home/erwan/templates/tmpl_lib.c:349: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:362: warning: pointer targets in passing argument 2 of 'php_tmpl_line_num' differ in signedness
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_set':
/home/erwan/templates/tmpl_lib.c:435: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:446: warning: pointer targets in assignment differ in signedness
/home/erwan/templates/tmpl_lib.c:446: warning: comparison of distinct pointer types lacks a cast
/home/erwan/templates/tmpl_lib.c:447: warning: comparison of distinct pointer types lacks a cast
/home/erwan/templates/tmpl_lib.c:448: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/home/erwan/templates/tmpl_lib.c:458: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:461: warning: pointer targets in passing argument 2 of 'zend_hash_del_key_or_index' differ in signedness
/home/erwan/templates/tmpl_lib.c:466: warning: pointer targets in passing argument 2 of '_zend_hash_add_or_update' differ in signedness
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_get_iteration':
/home/erwan/templates/tmpl_lib.c:491: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:505: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness
/home/erwan/templates/tmpl_lib.c:505: warning: pointer targets in assignment differ in signedness
/home/erwan/templates/tmpl_lib.c:523: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:529: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:535: warning: pointer targets in passing argument 2 of '_zend_hash_add_or_update' differ in signedness
/home/erwan/templates/tmpl_lib.c:538: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:574: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:588: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_parse':
/home/erwan/templates/tmpl_lib.c:691: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c:700: error: invalid lvalue in assignment
/home/erwan/templates/tmpl_lib.c:702: warning: pointer targets in passing argument 1 of 'php_sprintf' differ in signedness
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_parse_check_memory':
/home/erwan/templates/tmpl_lib.c:767: warning: pointer targets in passing argument 2 of 'zend_hash_find' differ in signedness/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_set_array':
/home/erwan/templates/tmpl_lib.c:821: warning: pointer targets in initialization differ in signedness
/home/erwan/templates/tmpl_lib.c: In function 'php_tmpl_load_structure':
/home/erwan/templates/tmpl_lib.c:880: error: invalid lvalue in assignment
/home/erwan/templates/tmpl_lib.c:891: warning: pointer targets in passing argument 2 of '_zend_hash_add_or_update' differ in signedness
/home/erwan/templates/tmpl_lib.c:894: warning: pointer targets in passing argument 2 of 'php_tmpl_load_path' differ in signedness
/home/erwan/templates/tmpl_lib.c:901: warning: pointer targets in initialization differ in signedness
make: *** [tmpl_lib.lo] Erreur 1

si quelqu'un a une idée ça serait cool big_smile

Dernière modification par tigrou35 (Le 28/12/2006, à 06:15)

Hors ligne

#2 Le 28/12/2006, à 06:16

tigrou35

Re : [résolu]Problème installation php templates 1.7.2

Bon c'est résolu, c'est le problème lié au compilateur gcc 4, il faut passer à un compilateur 3.4

++

Hors ligne