Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8008 - libmysqlclient headers missing

Attached to Project: Arch Linux
Opened by Brian (indigophone) - Thursday, 13 September 2007, 13:21 GMT
Last edited by Alexander Baldeck (kth5) - Thursday, 13 September 2007, 17:11 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm trying to compile PHP4 and the bundled libmysql development files do not match archlinux's current MySQL version. So, I need to provide the libmysqlclient headers to MySQL. Don't tell me I should use AUR. Don't tell me to use PHP5. PHP4 in AUR is outdated. And if I don't want to use AUR, I shouldn't have to. And besides that, using AUR or not the files I need to compile it still aren't there.

Additional info:
* package version(s)
* config and/or log files etc.
Latest version of archlinux MySQL package as of this writing.


Steps to reproduce:
This task depends upon

Closed by  Alexander Baldeck (kth5)
Thursday, 13 September 2007, 17:11 GMT
Reason for closing:  Won't fix
Additional comments about closing:  This is not a Arch problem. If you don't use our PKGBUILDs may it be AUR or php5 from the official repos, please deal with your php version's dependencies and install mysql for buildtime.
Comment by Jan de Groot (JGC) - Thursday, 13 September 2007, 13:31 GMT
So what's your problem?
Comment by Brian (indigophone) - Thursday, 13 September 2007, 13:42 GMT
My problem is that there is no sources for PHP4 to compile against because /usr/include/mysql is missing a lot of files.
Comment by Jan de Groot (JGC) - Thursday, 13 September 2007, 13:52 GMT
It seems a lot of server-internal headers are installed as part of the server itself. PHP wants to know a lot of server specific includes, so our php5 PKGBUILD contains a makedepend on mysql for this. The resulting package depends on libmysqlclient.
Comment by Brian (indigophone) - Thursday, 13 September 2007, 13:57 GMT
That's nice but the files should really be in the package so I don't have problems like this.
Comment by Jan de Groot (JGC) - Thursday, 13 September 2007, 14:10 GMT
The three headers we're talking about are:

usr/include/mysql/sql_state.h
usr/include/mysql/mysqld_ername.h
usr/include/mysql/mysqld_error.h

These are installed as server headers and belong to the mysql server itself. They have nothing to do with the client headers. If some stupid package decides to use headers that don't belong to the client libraries, the stupid package has to makedepend on whatever provides these headers, which is in this case mysql.
Comment by Jan de Groot (JGC) - Thursday, 13 September 2007, 14:54 GMT
It seems these headers are installed upstream when building a standalone client library since MySQL 5.0.34 though, so we'll include it in the next release and remove it from the server package.

Loading...