1 |
Hola gente.. |
2 |
|
3 |
No consigo emerger php. |
4 |
|
5 |
He probado varias combinaciones pero siempre me suelta un error como |
6 |
este: [1], o como este [2] ... los errores cambian y lo único que hago |
7 |
es volver a darle al emerge... :? |
8 |
|
9 |
He probado a: |
10 |
* re-sincronizar el portage.. |
11 |
* unmerge de php y emerge de nuevo.. |
12 |
* emerger php-5.1.2 |
13 |
|
14 |
|
15 |
Pero siempre me dá errores .. no siempre los mismos. |
16 |
|
17 |
Otras veces el error ha sido: |
18 |
i686-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple |
19 |
compilations |
20 |
|
21 |
Cuando me ha salido esto he probado a realizar una compilación simple |
22 |
cada vez: |
23 |
MAKE_OPTS="j1" |
24 |
|
25 |
Pero el error se ha repetido.. |
26 |
|
27 |
Como veía al principio del emerge php que decía algo de gd.. pues he |
28 |
puesto gd dentro de las USE.. pero como si nada.. |
29 |
|
30 |
Este es mi /etc/make.conf: |
31 |
------------------------------------------------------ |
32 |
CHOST="i686-pc-linux-gnu" |
33 |
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" |
34 |
CXXFLAGS="${CFLAGS}" |
35 |
|
36 |
|
37 |
USE="apache2 dvd dvdr ftp gd imap innodb maildir mod_jk2 mysql nagios-dns |
38 |
nagios-ntp nagios-ping nagios-ssh pam-mysql php postfix sasl sqlite |
39 |
unicode usb vchroot vhosts xml -alsa -arts -avi -berkdb -encode -gnome |
40 |
-gtk -gtk2 -imlib -ipv6 -kde -libg++ -mad -mikmod -motif -mpeg |
41 |
-oggvorbis |
42 |
-opengl -oss -quicktime -xmms -xv" |
43 |
|
44 |
MAKEOPTS="-j3" |
45 |
------------------------------------------------------ |
46 |
|
47 |
Antes tenía instalado php 5.1.4 pero tenía que re-emergerlo para que |
48 |
compilarlo con la USE="sqlite".. aquí empezaron los problemas.. he |
49 |
probado a quitar esa USE e intentarlo, pero el error continúa. |
50 |
|
51 |
|
52 |
Se agradece cualquier sugerencia. |
53 |
|
54 |
gRacias |
55 |
d2clon. |
56 |
|
57 |
|
58 |
[1]-------------- |
59 |
/bin/sh /var/tmp/portage/php-5.1.4/work/php-5.1.4/libtool --silent |
60 |
--preserve-dup-deps --mode=compile i686-pc-linux-gnu-gcc |
61 |
-Iext/standard/ |
62 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/ -DPHP_ATOM_INC |
63 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/include |
64 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/main |
65 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4 -I/usr/include/libxml2 |
66 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/date/lib |
67 |
-I/usr/include/freetype2 -I/usr/include/imap |
68 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/oniguruma |
69 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl |
70 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/mbfl |
71 |
-I/usr/include/mysql -I/usr/include/pspell |
72 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/TSRM |
73 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/Zend -march=pentium4 -O2 |
74 |
-pipe -fomit-frame-pointer -c |
75 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/math.c -o |
76 |
ext/standard/math.lo |
77 |
/bin/sh /var/tmp/portage/php-5.1.4/work/php-5.1.4/libtool --silent |
78 |
--preserve-dup-deps --mode=compile i686-pc-linux-gnu-gcc |
79 |
-Iext/standard/ |
80 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/ -DPHP_ATOM_INC |
81 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/include |
82 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/main |
83 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4 -I/usr/include/libxml2 |
84 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/date/lib |
85 |
-I/usr/include/freetype2 -I/usr/include/imap |
86 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/oniguruma |
87 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl |
88 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/mbfl |
89 |
-I/usr/include/mysql -I/usr/include/pspell |
90 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/TSRM |
91 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/Zend -march=pentium4 -O2 |
92 |
-pipe -fomit-frame-pointer -c |
93 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/md5.c -o |
94 |
ext/standard/md5.lo |
95 |
/bin/sh /var/tmp/portage/php-5.1.4/work/php-5.1.4/libtool --silent |
96 |
--preserve-dup-deps --mode=compile i686-pc-linux-gnu-gcc |
97 |
-Iext/standard/ |
98 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/ -DPHP_ATOM_INC |
99 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/include |
100 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/main |
101 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4 -I/usr/include/libxml2 |
102 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/date/lib |
103 |
-I/usr/include/freetype2 -I/usr/include/imap |
104 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/oniguruma |
105 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl |
106 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/mbfl |
107 |
-I/usr/include/mysql -I/usr/include/pspell |
108 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/TSRM |
109 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/Zend -march=pentium4 -O2 |
110 |
-pipe -fomit-frame-pointer -c |
111 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/metaphone.c -o |
112 |
ext/standard/metaphone.lo |
113 |
In file included from |
114 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/main/fopen_wrappers.h:24, |
115 |
from |
116 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/main/php.h:400, |
117 |
from |
118 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/standard/md5.c:26: |
119 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/main/php_globals.h:26: error: |
120 |
syntax error before "typedef" |
121 |
make: *** [ext/standard/md5.lo] Error 1 |
122 |
make: *** Waiting for unfinished jobs.... |
123 |
|
124 |
!!! ERROR: dev-lang/php-5.1.4 failed. |
125 |
Call stack: |
126 |
ebuild.sh, line 1539: Called dyn_compile |
127 |
ebuild.sh, line 939: Called src_compile |
128 |
php-5.1.4.ebuild, line 107: Called src_compile_normal |
129 |
php-5.1.4.ebuild, line 213: Called php5_1-sapi_src_compile |
130 |
php5_1-sapi.eclass, line 574: Called die |
131 |
|
132 |
!!! make failed |
133 |
!!! If you need support, post the topmost build error, and the call |
134 |
stack if relevant. |
135 |
|
136 |
[2]--------------------------------------- |
137 |
|
138 |
/bin/sh /var/tmp/portage/php-5.1.4/work/php-5.1.4/libtool --silent |
139 |
--preserve-dup-deps --mode=compile i686-pc-linux-gnu-gcc -DNOT_RUBY |
140 |
-DHAVE_CONFIG_H -Iext/mbstring/ |
141 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/ -DPHP_ATOM_INC |
142 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/include |
143 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/main |
144 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4 -I/usr/include/libxml2 |
145 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/date/lib |
146 |
-I/usr/include/freetype2 -I/usr/include/imap |
147 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/oniguruma |
148 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl |
149 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/mbfl |
150 |
-I/usr/include/mysql -I/usr/include/pspell |
151 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/TSRM |
152 |
-I/var/tmp/portage/php-5.1.4/work/php-5.1.4/Zend -march=pentium4 -O2 |
153 |
-pipe -fomit-frame-pointer -c |
154 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/filters/mbfilter_euc_jp.c |
155 |
-o ext/mbstring/libmbfl/filters/mbfilter_euc_jp.lo |
156 |
In file included from |
157 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/filters/mbfilter_euc_cn.c:37: |
158 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/filters/unicode_table_cp936.h:217: |
159 |
error: invalid type argument of `unary *' |
160 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/filters/unicode_table_cp936.h:217: |
161 |
error: initializer element is not constant |
162 |
/var/tmp/portage/php-5.1.4/work/php-5.1.4/ext/mbstring/libmbfl/filters/unicode_table_cp936.h:217: |
163 |
error: (near initialization for `cp936_ucs_table[1416]') |
164 |
make: *** [ext/mbstring/libmbfl/filters/mbfilter_cp936.lo] Error 1 |
165 |
make: *** Waiting for unfinished jobs.... |
166 |
make: *** [ext/mbstring/libmbfl/filters/mbfilter_euc_cn.lo] Error 1 |
167 |
|
168 |
!!! ERROR: dev-lang/php-5.1.4 failed. |
169 |
Call stack: |
170 |
ebuild.sh, line 1539: Called dyn_compile |
171 |
ebuild.sh, line 939: Called src_compile |
172 |
php-5.1.4.ebuild, line 107: Called src_compile_normal |
173 |
php-5.1.4.ebuild, line 213: Called php5_1-sapi_src_compile |
174 |
php5_1-sapi.eclass, line 574: Called die |
175 |
|
176 |
!!! make failed |
177 |
!!! If you need support, post the topmost build error, and the call |
178 |
stack if relevant. |
179 |
|
180 |
|
181 |
-- |
182 |
http://www.flickr.com/photos/d2clon/ |
183 |
http://enamsterdam.blogspot.com/ |
184 |
|
185 |
-- |
186 |
gentoo-user-es@g.o mailing list |