Summary: | dev-lang/php-5.1.2-r1 configure failure when use "msql" enabled. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | anthony <apryanmd> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | minor | CC: | gpf, sal |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://home.tentric.com/~anthony/php-msql-issue.txt | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
anthony
2006-05-07 02:22:06 UTC
> configure:75702: checking mSQL version
> configure:75723: gcc -c -I/usr/include -Os -march=k8 -fomit-frame-pointer -pipe -I/usr/include/libxml2 -I/usr/local/include >-I/var/tmp/portage/php-5.1.2-r1/work/php-5.1.2/ext/date/lib -I/usr/X11R6/include > -I/usr/include/freetype2 -I/usr/local/Hughes/include conftest.c >&5
> conftest.c:256:18: msql.h: No such file or directory
USE=msql is provided for use convenience only and is unsupported, as noted during emerge. You need to install the needed dependency yourself and ensure that it's installed in place where php expects it. We cannot provide support for commercial apps that are not in portage, sorry.
Jakub, This is not related to msql not working... It is related to the ebuild for php. It is flawed. You need to add the exact directory to the msql installation. If I have to edit the ebuild every freaking time, then so be it. I am pointing out that your ebuild is flawed. The php configure line needs to be: --with-msql=/usr/local/msql3. If it is that, it will work. I manually added it to /usr/portage/eclass/php5_1-sapi.eclass and it does work. Please fixor the broken ebuild and don't be so fast to close a bug request all the time! As said, it's your responsibility to ensure this. We don't and can't test such stuff, also, there's no fixed location, so the above can work for you but won't work for other people who have the thing installed elsewhere. You can use EXTRA_ECONF="--with-msql=/usr/local/msql3" instead of editing ebuilds/eclasses. So, once again - we don't support the commercial extensions that are not in portage, they are for user convenience only. *** Bug 142881 has been marked as a duplicate of this bug. *** Hi, is there a revised guide to getting recent versions of MySQL and PHP to work together? I do not understand the additional step which seems to be required in order to get these two packages built. I cannot pretend to understand the issue here (I was laboring under the misunderstanding that both PHP and MySQL were open-source programs), however I note that Jakob said "We cannot provide support for commercial apps that are not in portage, sorry.", however both PHP and MySQL are currently in portage. Is there something I am missing here? I think most users will expect PHP and MySQL to work together. Users of any other Linux distribution will have no problems running both PHP and MySQL. This looks pretty bad for Gentoo users. (In reply to comment #5) > Hi, is there a revised guide to getting recent versions of MySQL and PHP to > work together? I do not understand the additional step which seems to be > required in order to get these two packages built. msql != mysql, please read the use flags descriptions... *** Bug 169749 has been marked as a duplicate of this bug. *** |