You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2009/10/25 21:41:33 UTC
DO NOT REPLY [Bug 48051] New: apr-util >1.3.4 doesn't find mysql.h
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
Summary: apr-util >1.3.4 doesn't find mysql.h
Product: APR
Version: 1.3.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: APR-util
AssignedTo: bugs@apr.apache.org
ReportedBy: sabel@altmuehlnet.de
Today I wanted to upgrade to apr-util 1.3.9.
I tried to compile it with --with-mysql=/usr, --with-mysql=/usr/include and
--with-mysql=/usr/include/mysql but die configure script didn't find the
mysql.h and so didn't compile the mysql driver.
I also tested version 1.3.7, same result.
The last working version, as far as I can say (I don't have other versions),
was 1.3.4. Everything works with it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 48051] apr-util >1.3.4 doesn't find mysql.h
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
Philip Taffner <sa...@altmuehlnet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #5 from Philip Taffner <sa...@altmuehlnet.de> 2009-10-25 17:55:40 UTC ---
I found these lines in the config.log
configure:40737: checking for mysql_config
configure:40755: found /usr/bin/mysql_config
configure:40767: result: /usr/bin/mysql_config
configure:40830: checking for mysql.h
configure:40851: gcc -c -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I/usr/include/mysql conftest.c >&5
In file included from conftest.c:18:
/usr/include/mysql/my_global.h:361:24: error: asm/atomic.h: No such file or
directory
The problem was that mysql was built against old linux headers and the solution
was to rebuild mysql. Now everything works although I don't understand why
1.3.4 worked anyway.
So it was my fault, sorry for that! Thx!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 48051] apr-util >1.3.4 doesn't find mysql.h
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
--- Comment #2 from Bojan Smojver <bo...@rexursive.com> 2009-10-25 16:13:54 UTC ---
(In reply to comment #1)
> Where is you MySQL installed?
That should have been:
Where is your MySQL installed?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 48051] apr-util >1.3.4 doesn't find mysql.h
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
--- Comment #4 from Bojan Smojver <bo...@rexursive.com> 2009-10-25 17:26:39 UTC ---
OK, you can try with the following:
--with-mysql
It should look in the right places for you. BTW, do you have mysql_config
script?
Also, could you attach config.log?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 48051] apr-util >1.3.4 doesn't find mysql.h
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
--- Comment #1 from Bojan Smojver <bo...@rexursive.com> 2009-10-25 16:13:17 UTC ---
Where is you MySQL installed?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 48051] apr-util >1.3.4 doesn't find mysql.h
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
Bojan Smojver <bo...@rexursive.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bojan@rexursive.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 48051] apr-util >1.3.4 doesn't find mysql.h
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48051
--- Comment #3 from Philip Taffner <sa...@altmuehlnet.de> 2009-10-25 17:21:25 UTC ---
default gentoo mysql installation
headers are in /usr/include/mysql
libs are in /usr/lib/mysql
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org