1 |
Thufir a écrit : |
2 |
> According to ufed, the necesarry flags are enabled. I've unmerged php, |
3 |
> re-emerged, with new use flags. can there be a discrepancy between ufed |
4 |
> and what's really done? what's going on? |
5 |
> |
6 |
> |
7 |
> localhost ~ # |
8 |
> localhost ~ # |
9 |
> localhost ~ # |
10 |
> localhost ~ # cat /etc/make.conf |
11 |
> #################################################### |
12 |
> ## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ## |
13 |
> ## PLEASE EDIT /mnt/gentoo/etc/make.conf INSTEAD ## |
14 |
> #################################################### |
15 |
> # These settings were set by the catalyst build script that automatically |
16 |
> # built this stage. |
17 |
> # Please consult /etc/make.conf.example for a more detailed example. |
18 |
> #CFLAGS="-O2 -march=i686 -pipe" |
19 |
> CFLAGS="-march=i686 -O2 -pipe" |
20 |
> CXXFLAGS="${CFLAGS}" |
21 |
> # This should not be changed unless you know exactly what you are doing. |
22 |
> You |
23 |
> # should probably be using a different stage, instead. |
24 |
> CHOST="i686-pc-linux-gnu" |
25 |
> ACCEPT_KEYWORDS="" |
26 |
> MAKEOPTS="" |
27 |
> CONFIG_PROTECT="-*" |
28 |
> USE="7zip ctype fastcgi java java5 msn nsplugin sqlite" |
29 |
> FEATURES="" |
30 |
> localhost ~ # |
31 |
> localhost ~ # date |
32 |
> Thu Aug 2 01:28:59 PDT 2007 |
33 |
> localhost ~ # |
34 |
> |
35 |
> |
36 |
> according to ufed, ctype, session, and other stuff has an "x" and is |
37 |
> enabled...? I only really see ctype here. |
38 |
> |
39 |
> |
40 |
> |
41 |
> localhost ~ # |
42 |
> localhost ~ # |
43 |
> localhost ~ # emerge phpmyadmin --ask |
44 |
> |
45 |
> These are the packages that would be merged, in order: |
46 |
> |
47 |
> Calculating dependencies... done! |
48 |
> [ebuild N ] dev-db/phpmyadmin-2.10.1 USE="-vhosts" |
49 |
> |
50 |
> Would you like to merge these packages? [Yes/No] |
51 |
>>>> Verifying ebuild Manifests... |
52 |
> |
53 |
>>>> Emerging (1 of 1) dev-db/phpmyadmin-2.10.1 to / |
54 |
> * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 |
55 |
> RMD160 ;-) ... [ ok ] |
56 |
> * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 |
57 |
> SHA1 ;-) ... [ ok ] |
58 |
> * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 |
59 |
> SHA256 ;-) ... [ ok ] |
60 |
> * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 |
61 |
> size ;-) ... [ ok ] |
62 |
> * checking ebuild |
63 |
> checksums ;-) ... [ ok ] |
64 |
> * checking auxfile |
65 |
> checksums ;-) ... [ ok ] |
66 |
> * checking miscfile |
67 |
> checksums ;-) ... [ ok ] |
68 |
> * checking phpMyAdmin-2.10.1-all-languages-utf-8- |
69 |
> only.tar.bz2 ;-) ... [ ok ] |
70 |
> * |
71 |
> * Using dev-lang/php-5.2.2-r1 |
72 |
> * |
73 |
> * Checking for required PHP feature(s) ... |
74 |
> * Checking for required PHP feature(s) ... |
75 |
> * |
76 |
> * dev-lang/php-5.2.2-r1 needs to be re-installed with all of the |
77 |
> following |
78 |
> * USE flags enabled: |
79 |
> * |
80 |
> * ctype pcre session unicode |
81 |
> * |
82 |
> * as well as any of the following USE flags enabled: |
83 |
> * |
84 |
> * mysql or mysqli if using dev-lang/php-5 |
85 |
|
86 |
You could see there that phpmyadmin need php to be emerged with mysql or mysqli |
87 |
use flag... |
88 |
|
89 |
> * mysql if using dev-lang/php-4 |
90 |
> * |
91 |
> |
92 |
> !!! ERROR: dev-db/phpmyadmin-2.10.1 failed. |
93 |
> Call stack: |
94 |
> ebuild.sh, line 1637: Called dyn_setup |
95 |
> ebuild.sh, line 704: Called qa_call 'pkg_setup' |
96 |
> ebuild.sh, line 44: Called pkg_setup |
97 |
> phpmyadmin-2.10.1.ebuild, line 36: Called die |
98 |
> |
99 |
> !!! Re-install dev-lang/php-5.2.2-r1 |
100 |
> !!! If you need support, post the topmost build error, and the call stack |
101 |
> if relevant. |
102 |
> !!! A complete build log is located at '/var/tmp/portage/dev-db/ |
103 |
> phpmyadmin-2.10.1/temp/build.log'. |
104 |
> |
105 |
> localhost ~ # |
106 |
> localhost ~ # |
107 |
> localhost ~ # equery u php |
108 |
> [ Searching for packages matching php... ] |
109 |
> [ Colour Code : set unset ] |
110 |
> [ Legend : Left column (U) - USE flags from make.conf ] |
111 |
> [ : Right column (I) - USE flags packages was installed with ] |
112 |
> [ Found these USE variables for dev-lang/php-5.2.2-r1 ] |
113 |
> U I |
114 |
> - - adabas : Adds support for the Adabas database engine |
115 |
> - - apache2 : Chooses Apache2 support when a package |
116 |
> supports both Apache1 and Apache2 |
117 |
> - - bcmath : Adds support for libbcmath |
118 |
> + + berkdb : Adds support for sys-libs/db (Berkeley DB for |
119 |
> MySQL) |
120 |
> - - birdstep : Adds support for the Birdstep Database Server |
121 |
> - - bzip2 : Use the bzlib compression library |
122 |
> - - calendar : Adds support for calendars (not using mcal!) |
123 |
> - - cdb : Adds support for the CDB database engine from |
124 |
> the author of qmail |
125 |
> - - cgi : Enable CGI SAPI |
126 |
> - - cjk : Adds support for Multi-byte character |
127 |
> languages (Chinese, Japanese, Korean) |
128 |
> + + cli : Enable CLI SAPI |
129 |
> - - concurrentmodphp : Make it possible to load both mod_php4 and |
130 |
> mod_php5 into the same Apache2 instance (experimental) |
131 |
> + + crypt : Add support for encryption -- using mcrypt or |
132 |
> gpg where applicable |
133 |
> + + ctype : Enables ctype functions |
134 |
> - - curl : Adds support for client-side URL transfer |
135 |
> library |
136 |
> - - curlwrappers : Adds support for using curl in streams |
137 |
> - - db2 : Enables support for IBM DB2 database server |
138 |
> - - dbase : Adds support for dbase file format |
139 |
> - - dbmaker : Adds support for dbmaker database server |
140 |
> - - debug : Enable extra debug codepaths, like asserts and |
141 |
> extra output. If you want to get meaningful backtraces see http:// |
142 |
> www.gentoo.org/proj/en/qa/backtraces.xml . |
143 |
> - - discard-path : Switch on common security setting for CGI SAPI |
144 |
> - - doc : Adds extra documentation (API, Javadoc, etc) |
145 |
> - - empress : Adds support for the Empress database server |
146 |
> - - empress-bcs : Adds local access support for the Empress |
147 |
> database server |
148 |
> - - esoob : Adds support for Easysoft OOD database |
149 |
> - - exif : Adds support for reading EXIF headers from |
150 |
> JPEG and TIFF images |
151 |
> - - fastbuild : Build PHP quicker (experimental) |
152 |
> - - fdftk : Add supports for Adobe's FDF toolkit. |
153 |
> - - filter : Add filter extension support |
154 |
> - - firebird : Adds support for the Firebird relational |
155 |
> database |
156 |
> - - flatfile : Adds dbm support for flat files |
157 |
> - - force-cgi-redirect : Switch on common security setting for CGI SAPI |
158 |
> - - frontbase : Adds support for the frontbase sql server |
159 |
> - - ftp : Adds FTP (File Transfer Protocol) support |
160 |
> - - gd : Adds support for media-libs/gd (to generate |
161 |
> graphics on the fly) |
162 |
> - - gd-external : Use the external version of gd rather than the |
163 |
> bundled one (possibly dangerous) |
164 |
> + + gdbm : Adds support for sys-libs/gdbm (GNU database |
165 |
> libraries) |
166 |
> - - gmp : Adds support for dev-libs/gmp (GNU MP library) |
167 |
> - - hash : Enable the hash extension |
168 |
> + + iconv : Enable support for the iconv character set |
169 |
> conversion library |
170 |
> - - imap : Adds support for IMAP (Internet Mail |
171 |
> Application Protocol) |
172 |
> - - inifile : Adds dbm support for .ini files |
173 |
> - - interbase : Adds support for Interbase database |
174 |
> - - iodbc : Adds support for iODBC library |
175 |
> + + ipv6 : Adds support for IP version 6 |
176 |
> - - java-external : Use the external java extension rather than |
177 |
> the bundled one |
178 |
> - - json : Enable JSON support |
179 |
> + + kerberos : Adds kerberos support |
180 |
> + + ldap : Adds LDAP support (Lightweight Directory |
181 |
> Access Protocol) |
182 |
> - - ldap-sasl : Add SASL support for the PHP LDAP extension |
183 |
> - - libedit : Use the libedit library (replacement for |
184 |
> readline) |
185 |
> - - mcve : Support for the MCVE credit card payment system |
186 |
> - - mhash : Adds support for the mhash library |
187 |
> - - msql : Adds support for the MSQL database server |
188 |
> - - mssql : Adds support for Microsoft SQL Server database |
189 |
> - - mysql : Adds mySQL Database support |
190 |
> - - mysqli : Adds support for the improved mySQL libraries |
191 |
|
192 |
and here you could see that none of these useflags are enabled ! |
193 |
|
194 |
> + + ncurses : Adds ncurses support (console display library) |
195 |
> + + nls : Adds Native Language Support (using gettext - |
196 |
> GNU locale utilities) |
197 |
> - - oci8 : Adds Oracle 8 Database Support |
198 |
> - - oci8-instant-client : Use dev-db/oracle-instantclient-basic as |
199 |
> Oracle provider instead of requiring a full Oracle server install |
200 |
> - - odbc : Adds ODBC Support (Open DataBase Connectivity) |
201 |
> - - pcntl : Adds support for process creation functions |
202 |
> + + pcre : Adds support for Perl Compatible Regular |
203 |
> Expressions |
204 |
> - - pdo : Enable the bundled PDO extensions |
205 |
> - - pdo-external : Use the external pecl-pdo extension rather |
206 |
> than the bundled one |
207 |
> - - pic : Build Position Independent Code. Do not |
208 |
> utilize this flag unless you know what you're doing. |
209 |
> - - posix : Adds support for POSIX-compatible functions |
210 |
> - - postgres : Adds support for the postgresql database |
211 |
> - - qdbm : Adds support for the qdbm (Quick Database |
212 |
> Manager) library |
213 |
> + + readline : Enables support for libreadline, a GNU line- |
214 |
> editing library that almost everyone wants |
215 |
> - - recode : Enables support for the GNU recode library |
216 |
> + + reflection : Enable the reflection extension (Reflection |
217 |
> API) |
218 |
> - - sapdb : Adds support for SAP DB |
219 |
> + + session : Adds persistent session support |
220 |
> - - sharedext : Adds support for building shared extensions in |
221 |
> php |
222 |
> - - sharedmem : Adds support for shared memory use |
223 |
> - - simplexml : support for simplexml |
224 |
> - - snmp : Adds support for the Simple Network Management |
225 |
> Protocol if available |
226 |
> - - soap : Adds support for SOAP (Simple Object Access |
227 |
> Protocol) |
228 |
> - - sockets : Adds support for tcp/ip sockets |
229 |
> - - solid : Adds support for the Solid database engine |
230 |
> + + spell : Adds dictionary support |
231 |
> + + spl : Adds support for the Standard PHP Library |
232 |
> + + sqlite : Adds support for sqlite - embedded sql database |
233 |
> + + ssl : Adds support for Secure Socket Layer |
234 |
> connections |
235 |
> - - suhosin : Add Suhosin support (patch and extension from |
236 |
> http://www.suhosin.org/) |
237 |
> - - sybase : Adds support for the Sybase SQL Database Server |
238 |
> - - sybase-ct : Adds support for Sybase-CT |
239 |
> - - sysvipc : Support for System V-compatible inter-process |
240 |
> communication |
241 |
> - - threads : Adds threads support for various packages. |
242 |
> Usually pthreads |
243 |
> - - tidy : Adds support for HTML Tidy |
244 |
> - - tokenizer : Adds support for the PHP file parser |
245 |
> + + truetype : Adds support for FreeType and/or FreeType2 |
246 |
> fonts |
247 |
> + + unicode : Adds support for Unicode |
248 |
> - - wddx : Adds support for Web Distributed Data eXchange |
249 |
> + + xml : Add support for XML files |
250 |
> - - xmlreader : Enable XMLReader support |
251 |
> - - xmlrpc : Support for xml-rpc library |
252 |
> - - xmlwriter : Enable XMLWriter support |
253 |
> - - xpm : Adds support for XPM graphics format |
254 |
> - - xsl : Check/Support flag for XSL library (version 1) |
255 |
> - - yaz : Adds in optional support for the Z39.50 |
256 |
> Protocol for Information Retrieval (YAZ) |
257 |
> - - zip : Enable ZIP file support |
258 |
> - - zip-external : Enable ZIP file support (external PECL |
259 |
> extension) |
260 |
> + + zlib : Adds support for zlib (de)compression |
261 |
> localhost ~ # |
262 |
> localhost ~ # date |
263 |
> Thu Aug 2 01:20:17 PDT 2007 |
264 |
> localhost ~ # |
265 |
> localhost ~ # |
266 |
> |
267 |
|
268 |
So : |
269 |
localhost ~ # echo "dev-lang/php mysql mysqli" >> /etc/portage/package.use |
270 |
localhost ~ # emerge dev-lang/php dev-db/phpmyadmin |
271 |
|
272 |
And from now, phpmyadmin will install & works fine, and so take the habits to |
273 |
read emerge messages from start to their end ;) |
274 |
> |
275 |
> |
276 |
> thanks, |
277 |
> |
278 |
> Thufir |
279 |
> |
280 |
|
281 |
Regards, |
282 |
|
283 |
Xavier Parizet |
284 |
|
285 |
-- |
286 |
http://www.linuxant.fr |