| Bug #36222 | New InnoDB plugin 1.0 has wrong MKDIR_P defined in Makefile.in | ||
|---|---|---|---|
| Submitted: | 20 Apr 18:29 | Modified: | 21 May 22:07 |
| Reporter: | Venu Anuganti | ||
| Status: | Closed | ||
| Category: | Server: InnoDB | Severity: | S1 (Critical) |
| Version: | innodb_plugin-1.0.0 | OS: | Any |
| Assigned to: | Vasil Dimov | Target Version: | |
| Tags: | InnoDB plugin 1.0, InnoDB Makefile bug | ||
[20 Apr 18:29]
Venu Anuganti
[21 Apr 9:45]
Vasil Dimov
Hi, The problem is more complicated. Makefile.in is generated from Makefile.am. We want to avoid requiring users to recreate Makefile.in with the autotools so we generated one. We used the 5.1.23 tree (the latest at that time). @STUFF@ is supposed to be replaced by ./configure when creating Makefile from Makefile.in. The problem is that the Makefile.in generated by us suits 5.1.23's ./configure. We can regenerate a new Makefile.in with 5.1.24 but it will almost certainly break when used with 5.1.23 and maybe with 5.1.25. One possible solution is that users run autotools to create Makefile.in and ./configure that match. Another possible solution is if we provide a separate source archive for each mysql version - 5.1.23, 5.1.24 etc, the archives will only differ in Makefile.in :-/ Any ideas or suggestions are welcome :)
[23 Apr 12:00]
Vasil Dimov
The problem is actually that I used automake-1.10 when generating storage/innobase/Makefile.in while MySQL source tree was "auto-tooled" with automake-1.9.6. Fixed in the script that generates storage/innobase/Makefile.in. Thank you!
[21 May 22:07]
Calvin Sun
The fix is in 1.0.1 release.
