| Summary: | libdbi-drivers-0.8.1-r1: configure: error: Invalid MySQL directory - include files not found. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | [OLD] Development | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | mysql-bugs |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Mokrejš
2006-03-06 07:41:28 UTC
The config.log file ends with: configure:20127: checking for libdbi framework configure:20158: result: yes: headers in /usr/include configure:20195: checking for MySQL support configure:20252: result: no configure:20254: error: Invalid MySQL directory - include files not found. vivo: any comments on this? The check in the configure file look into: mysql_incdirs="/usr/include /usr/local/include /usr/include/mysql /usr/local/include/mysql /usr/local/mysql/include /usr/local/mysql/include/mysql /opt/mysql/include/mysql /sw/include/mysql" for the "mysql/mysql.h" file, on a healty system it should find this file, an it do it on my test box. Martin, already know you are an advanced user from your other bug posts, did you also tryed slotted mysql in the past ? Has been noticed some remaining cruft left from the uninstall of the slotted mysql. Is it possible that a symlink has been left in /usr/include/mysql ? This could lead to to portage install badly also an unslotted mysql. rgds, Francesco Hi Francesco, yes I used to have mysql-5.0.18-r30 installed. I got rid of it few days ago as it turned out to be deprecated. I think the symlink problem was the case. I know it was a symlink to /usr/include/mysql-500. I have manually removed those softlinks, simlarly killed the /var/lib/mysql/ softlink and /etc/mysql. The 5.0.19 ebuild did not force force me to do so, but I just went to move the dirs back under simple names and edited the my.cnf accordingly. I cannot reproduce the problem anymore since I have 5.0.19 installed in standard locations, so probably close this as invalid but probably make the ebuilds block each other and most importantly, die when those softlinks exist. Thanks. ;) Thanks, closing invalid. Just to be clear on this question: "Is it possible that a symlink has been left in /usr/include/mysql?" I had /usr/include/mysql as a symlink to /usr/include/mysql-500 and similarly the lib, etc, and $datadir. So those symlinks I have killed in into their place moved the directories which had the -500 suffix. |