Menu

#790 bootstrap problems on Mac OS X Leopard

v4.0.1
closed
5
2012-08-14
2009-08-20
Bruce
No

The bootstrap script on Mac OS X 10.5.8 (Leopard) with Xcode 3.1.3 has the following problems.

The bootstrap file as delievered in the source tar file does not have the execute permission set.

The bootstrap file contains the command 'libtoolize' which is not found. Mac OS X uses an Apple supplied libtool, which is based on on the FreeBSD branch of Unix. Since libtool is not completely compatible with the GNU version of libtool, Apple chose to supply both versions, the GNU version was renamed to glibtool. To match that libtoolize was renamed to glibtoolize.

Suggested fix is something like

If the OS is Darwin
then use glibtoolize
else use libtoolize

The rest of the bootstrap script then runs without change.

Discussion

  • Mark Miesfeld

    Mark Miesfeld - 2009-09-21

    Bruce,

    There are two problems here.

    1.) The 4.0.0 release source tar file on SourceForge was incorrect. The user should not need to run bootstrap when building from the source tar file, they should not need libtool etc., installed to build. They should just need to do:

    ./configure
    make

    Running bootstrap is only needed when you build from a svn check out, and if you do a svn check out, bootstrap will have the necessary execute bit set.

    I have replaced the source tar file on SourceForge with the correct file, which fixes this issue.

    2.) Currently none of the committers have access to a Mac system or much expertise in that area. Your explanation about libtool on Apple makes sense and the change to bootstrap seems reasonable to me. So I made the change that you posted on the RexxLA list.

    Committed revision 5194.

    I had meant to suggest to you that you provide a patch for the change, which would have earned you some points with the committers, but never did. I wanted to get this issue straightened out so I just made the change myself.

    Lastly, since you seem to have some Mac expertise, is it possible you could build an installable Max OS X package, in the correct format? We would like to have a Mac install package on SourceForge, but currently don't seem to have anyone with both the knowledge and the willingness to create an install package and donate it to the project.

    You could e-mail me directly, either miesfeld at gmail.com or miesfeld at SourceForge users if you would like to discuss building a Mac install package.

    Thanks.

    --
    Mark Miesfeld

     
  • Bruce

    Bruce - 2009-09-21

    I built the last 4.0.0 RC, which didn't have the bootstrap, so I was a little puzzled that bootstrap was back in the GA release.

    I have never created a package for Mac OS, I would be willing to try.

     
  • Mark Miesfeld

    Mark Miesfeld - 2009-09-28

    The problems describe here have been fixed.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-02-24

    Committed revision 5617.

    4.0.1 merge.

     
  • Mark Miesfeld

    Mark Miesfeld - 2010-09-08

    The fix for this item was in the 4.0.1 release.

     

Anonymous
Anonymous

Add attachments
Cancel