Bonjours,

Le problème est simple enfin sauf quand il va s’agir de trouver la solution ...

je veux installer roundcube. j'a donc chercher des tutoriel.

ici http://trac.roundcube.net/wiki/Howto_Install_fr

pour ceux qui veule la version courte:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
 2. On vérifie la liste des librairie PEAR installées en éxécutant la commande suivante :
 
$ pear list
 
Nous obtenons le résultat suivant :
 
Installed packages, channel pear.php.net:
=========================================
Package            Version State
Archive_Tar        1.3.2   stable
Console_Getopt     1.2.3   stable
Fileinfo           1.0.4   stable
MDB2               2.4.1   stable
MDB2_Driver_mysqli 1.4.1   stable
Mail_Mime          1.5.2   stable
Mail_mimeDecode    1.5.0   stable
Net_SMTP           1.2.11  stable
Net_Socket         1.0.8   stable
PEAR               1.7.1   stable
Structures_Graph   1.0.2   stable
l'erreur est la suivante:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
 
pecl install Fileinfo
WARNING: "pear/Fileinfo" is deprecated in favor of "channel://php-src/ext/fileinfo/in php sources"
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
3 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
 
If the command failed with 'phpize: not found' then you need to install php5-dev packageYou can do it by running 'apt-get install php5-dev' as a root userERROR: `phpize' failed
apt-file search phpize
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
php-doc: /usr/share/doc/php-doc/html/install.pecl.phpize.html
php5-dev: /usr/bin/phpize5
php5-dev: /usr/lib/php5/build/phpize.m4
php5-dev: /usr/share/man/man1/phpize5.1.gz
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
 
pkg -l |grep  php5-dev
ii  php5-dev                             5.6.12+dfsg-0+deb8u1         amd64        Files for PHP5 module development
find / -iname phpize
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
/var/lib/dpkg/alternatives/phpize
/etc/alternatives/phpize
/usr/bin/phpize
pear list &&echo "" && php -m | head
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
Installed packages, channel pear.php.net:
=========================================
Package            Version State
Archive_Tar        1.4.0   stable
Console_Getopt     1.4.1   stable
MDB2               2.4.1   stable
MDB2_Driver_mysql  1.4.1   stable
MDB2_Driver_mysqli 1.4.1   stable
Mail_Mime          1.9.0   stable
Net_SMTP           1.7.1   stable
Net_Socket         1.0.14  stable
PEAR               1.9.5   stable
Structures_Graph   1.0.4   stable
XML_Util           1.2.3   stable
 
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg

voici le log de l'installation ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
 
 
pear update-channels && pear upgrade-all
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
Will upgrade channel://pear.php.net/console_getopt
Will upgrade channel://pear.php.net/structures_graph
Will upgrade channel://pear.php.net/archive_tar
Will upgrade channel://pear.php.net/xml_util
WARNING: "pear/Console_Getopt" is deprecated in favor of "pear/Console_GetoptPlus"
pear/pear dependency package "pear/Structures_Graph" downloaded version 1.1.1 is not the recommended version 1.0.4, but may be compatible, use --force to install
pear/Structures_Graph cannot be installed, conflicts with installed packages
pear/pear dependency package "pear/XML_Util" downloaded version 1.3.0 is not the recommended version 1.2.3, but may be compatible, use --force to install
pear/XML_Util cannot be installed, conflicts with installed packages
downloading Console_Getopt-1.4.1.tgz ...
Starting to download Console_Getopt-1.4.1.tgz (5,580 bytes)
.....done: 5,580 bytes
downloading Archive_Tar-1.4.0.tgz ...
Starting to download Archive_Tar-1.4.0.tgz (20,018 bytes)
...done: 20,018 bytes
upgrade-all ok: channel://pear.php.net/Console_Getopt-1.4.1
upgrade-all ok: channel://pear.php.net/Archive_Tar-1.4.0
 
# pear install Net_SMTP
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
Did not download optional dependencies: pear/Auth_SASL, use --alldeps to download automatically
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)
downloading Net_SMTP-1.7.1.tgz ...
Starting to download Net_SMTP-1.7.1.tgz (14,815 bytes)
.....done: 14,815 bytes
downloading Net_Socket-1.0.14.tgz ...
Starting to download Net_Socket-1.0.14.tgz (5,600 bytes)
...done: 5,600 bytes
install ok: channel://pear.php.net/Net_Socket-1.0.14
install ok: channel://pear.php.net/Net_SMTP-1.7.1
 
 
# pear install Mail_mime
downloading Mail_Mime-1.9.0.tgz ...
Starting to download Mail_Mime-1.9.0.tgz (35,042 bytes)
.........done: 35,042 bytes
install ok: channel://pear.php.net/Mail_Mime-1.9.0
 
# pear install MDB2
downloading MDB2-2.4.1.tgz ...
Starting to download MDB2-2.4.1.tgz (119,790 bytes)
..........................done: 119,790 bytes
install ok: channel://pear.php.net/MDB2-2.4.1
MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2)
MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2)
MDB2: Optional feature mysql available (MySQL driver for MDB2)
MDB2: Optional feature mysqli available (MySQLi driver for MDB2)
MDB2: Optional feature mssql available (MS SQL Server driver for MDB2)
MDB2: Optional feature oci8 available (Oracle driver for MDB2)
MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2)
MDB2: Optional feature querysim available (Querysim driver for MDB2)
MDB2: Optional feature sqlite available (SQLite2 driver for MDB2)
MDB2: To install optional features use "pear install pear/MDB2#featurename"
 
# pear install pear/MDB2#mysql
Skipping package "pear/MDB2", already installed as version 2.4.1
downloading MDB2_Driver_mysql-1.4.1.tgz ...
Starting to download MDB2_Driver_mysql-1.4.1.tgz (36,481 bytes)
..........done: 36,481 bytes
install ok: channel://pear.php.net/MDB2_Driver_mysql-1.4.1
 
# pecl install Fileinfo
WARNING: "pear/Fileinfo" is deprecated in favor of "channel://php-src/ext/fileinfo/in php sources"
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes
3 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
 
If the command failed with 'phpize: not found' then you need to install php5-dev packageYou can do it by running 'apt-get install php5-dev' as a root userERROR: `phpize' failed
Comment installer proprement pour rouncube
seul manque Fileinfo 1.0.xx stable ?
Ou les autres WARNING son important aussi ?
je suis sous debian jessie 8 et je ne connaît absolument pas php


Merci d'avance