Summary: | wordpress php sql USE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Neil <nshephard> |
Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
I'm a dope and typed this out wrong... (In reply to comment #0) > Typo in wordpress-2.6.ebuild line 25... > > require_php_with_any_use mysql mysqli > > ...should read > This is the correct line.... require_php_with_any_use mysql sqlite I checked the wordpress docs again and couldn't find any indication that it would work with sqlite. Please reopen with a link to a document that describes configuring 2.6.0 for sqlite. Older versions seemed to work fine on my install and a quick google leads to some posts in the forum s (http://wordpress.org/tags/sqlite). Couldn't find anything specific saying 2.6 would work with sqlite, but then couldn't find anything explicit saying it wouldn't. Just checked and hadn't realised there was a new USE='mysqli' for improved mySQL support, so my bad on that front. Will update the bug if I find anything/get it working. (In reply to comment #2) > I checked the wordpress docs again and couldn't find any indication that it > would work with sqlite. Please reopen with a link to a document that describes > configuring 2.6.0 for sqlite. > Speaking as a WordPress developer - we currently have no plans for sqlite support. If someone wanted to implement sqlite support they would need to write a database abstraction class which rewrites all the mysql specific queries. (In reply to comment #4) > (In reply to comment #2) > > I checked the wordpress docs again and couldn't find any indication that it > > would work with sqlite. Please reopen with a link to a document that describes > > configuring 2.6.0 for sqlite. > > > > Speaking as a WordPress developer - we currently have no plans for sqlite > support. If someone wanted to implement sqlite support they would need to > write a database abstraction class which rewrites all the mysql specific > queries. > Fairy-muff. |
Tried updating to wordpress-2.6 and config fails as dev-lang/php is not compiled with USE='[mysql|sqli]'. Looks like a typo and should be 'sqlite' thats being checked Reproducible: Always Steps to Reproduce: 1. USE="-mysql sqlite" emerge dev-lang/php 2. emerge wordpress 3. Actual Results: >>> Building (5 of 7) www-apps/wordpress-2.6 * wordpress-2.6.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Using dev-lang/php-5.2.6-r5 * Checking for required PHP feature(s) ... * dev-lang/php-5.2.6-r5 needs to be re-installed with any of the following * USE flags enabled: * mysql * mysqli * ERROR: www-apps/wordpress-2.6 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * wordpress-2.6.ebuild, line 25: Called require_php_with_any_use 'mysql' 'mysqli' * depend.php.eclass, line 329: Called die * The specific snippet of code: * die "Missing PHP USE flags found" * The die message: * Missing PHP USE flags found * If you need support, post the topmost build error, and the call stack if rel vant. * A complete build log is located at '/var/tmp/portage/www-apps/wordpress-2.6/ emp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/wordpre s-2.6/temp/die.env'. Expected Results: Wordpress should emerge cleanly. Typo in wordpress-2.6.ebuild line 25... require_php_with_any_use mysql mysqli ...should read require_php_with_any_use mysql mysqlite