Bug #12506 Mac OS X support files are not built
Submitted: 10 Aug 2005 18:56 Modified: 12 Aug 2005 16:20
Reporter: Lenz Grimmer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:All OS:MacOS (Mac OS X)
Assigned to: Lenz Grimmer CPU Architecture:Any

[10 Aug 2005 18:56] Lenz Grimmer
Description:
The support files needed to create the Mac OS X installation packages are not automatically built anymore when running "make". This is due to a change in Makefile.am that removed these files from the "make install" target without marking them as "noinst" instead (which will make sure they are built nevertheless).

As a workaround, one can currently do the following to build them manually:

cd support-files/MacOSX/
for a in *.sh ; do b=`echo $a | sed s/.sh//` ; make $b ; done

How to repeat:
Extract and configure a source tarball, observe that the files in support-files/MacOSX are not built

Suggested fix:
Add the files to noinst_DATA in Makefile.am
[11 Aug 2005 18:11] Lenz Grimmer
The same problem affects the included RPM spec file as well, it was not built anymore. Explicitly running
"make mysql.spec" in the support-files subdirectory can be used as a workaround.
[11 Aug 2005 18:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/28172
[12 Aug 2005 16:20] Lenz Grimmer
Patch was applied and merged into 4.0/4.1/5.0. No need to document.