Bonjour,
j'essai d'intsaller php-gtk telecharger sur http://gtk.php.net/distributions/php-gtk-2.0.1.tar.gz
Apres decompression, et apres un ./buildconf ou encore
ou encore ./buildconf --with-phpize=/usr/local/bin/phpize
j'ai ce resultat tout bon
jusque là pas de quoi a s'affoler tout roule...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 rebuilding aclocal.m4 rebuilding configure rebuilding config.h.in
Je fais un ./configure ou encore ./configure --with-php-config=/usr/local/bin/php-config
toujours pas de probleme:
Donc là il me semble qu'il n'y a pas matière à se faire des cheveux.
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 rebuilding aclocal.m4 rebuilding configure rebuilding config.h.in (tantampion@Serial_Programer 344)./configure --with-php-config=/usr/local/bin/php-config checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... i386-unknown-freebsd8.0 checking host system type... i386-unknown-freebsd8.0 checking target system type... i386-unknown-freebsd8.0 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20090626 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for PHP-GTK support... yes, shared checking for PHP executable in /usr/local/bin... found version 5.3.3-dev checking for gawk... (cached) gawk checking whether to include debugging symbols... no checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.6.0... yes (version 2.22.4) checking for pkg-config... (cached) /usr/local/bin/pkg-config checking for GTK+ - version >= 2.6.0... yes (version 2.18.5) checking for atk >= 1.9.0... yes checking ATK_CFLAGS... -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include checking ATK_LIBS... -L/usr/local/lib -latk-1.0 -lgobject-2.0 -lglib-2.0 checking for pango >= 1.8.0... yes checking PANGO_CFLAGS... -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include checking PANGO_LIBS... -L/usr/local/lib -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 checking for gtkextra support... no checking for html support... no checking for libglade support... yes checking for libglade-2.0 >= 2.4.0... yes checking LIBGLADE_CFLAGS... -D_THREAD_SAFE -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 checking LIBGLADE_LIBS... -pthread -L/usr/local/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 checking for libsexy support... no checking for GtkMozEmbed support... no checking for scintilla support... no checking for sourceview support... no checking for spell support... no creating main/php_gtk_ext.c checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/local/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 196608 checking command to parse /usr/local/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h
Puis viens le make qui pose problème :
make : ca compile, ca compile, ca compile.....
et apres
ensuite je check sur un forum ou on donne une solution
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 ext/gtk+/gen_atk.c:272: error: duplicate 'static' ext/gtk+/gen_atk.c:277: error: duplicate 'static' ext/gtk+/gen_atk.c:282: error: duplicate 'static' ext/gtk+/gen_atk.c:287: error: duplicate 'static' ext/gtk+/gen_atk.c:292: error: duplicate 'static' ext/gtk+/gen_atk.c:298: error: duplicate 'static' ext/gtk+/gen_atk.c:303: error: duplicate 'static' ext/gtk+/gen_atk.c:308: error: duplicate 'static' ext/gtk+/gen_atk.c:313: error: duplicate 'static' ext/gtk+/gen_atk.c:318: error: duplicate 'static' ext/gtk+/gen_atk.c:440: error: duplicate 'static' ext/gtk+/gen_atk.c:445: error: duplicate 'static' ext/gtk+/gen_atk.c:722: error: duplicate 'static' ext/gtk+/gen_atk.c:727: error: duplicate 'static' ext/gtk+/gen_atk.c:732: error: duplicate 'static' ext/gtk+/gen_atk.c:737: error: duplicate 'static' ext/gtk+/gen_atk.c:742: error: duplicate 'static' ext/gtk+/gen_atk.c:747: error: duplicate 'static' ext/gtk+/gen_atk.c:791: error: duplicate 'static' ext/gtk+/gen_atk.c:829: error: duplicate 'static' ext/gtk+/gen_atk.c:923: error: duplicate 'static' ext/gtk+/gen_atk.c:929: error: duplicate 'static' ext/gtk+/gen_atk.c:934: error: duplicate 'static' ext/gtk+/gen_atk.c:999: error: duplicate 'static' ext/gtk+/gen_atk.c:1147: error: duplicate 'static' ext/gtk+/gen_atk.c:1152: error: duplicate 'static' ext/gtk+/gen_atk.c:1157: error: duplicate 'static' ext/gtk+/gen_atk.c:1162: error: duplicate 'static' ext/gtk+/gen_atk.c:1167: error: duplicate 'static' ext/gtk+/gen_atk.c:1172: error: duplicate 'static' ext/gtk+/gen_atk.c:1341: error: duplicate 'static' ext/gtk+/gen_atk.c:1346: error: duplicate 'static' ext/gtk+/gen_atk.c:1351: error: duplicate 'static' ext/gtk+/gen_atk.c:1356: error: duplicate 'static' ext/gtk+/gen_atk.c:1361: error: duplicate 'static' ext/gtk+/gen_atk.c:1366: error: duplicate 'static' *** Error code 1 Stop in /usr/home/tamtampion/Downloads/php-gtk-2.0.1.
qui n'as pas l'air mal mais qui smeble marche que sur ubuntu
Alors si vous pouviez m'aider a resoudre ce proleme...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 cd /usr/local/share/aclocal sudo cp libtool.m4 libtool.m4.bak sudo cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4
merci d'avance.
Partager