Boost C++ Libraries: Ticket #2641: spaces instead of tabs in Makefile; DOS line endings in Unix shell scripts https://svn.boost.org/trac10/ticket/2641 <p> I downloaded the 7-zipped distribution and discovered that many of the files that contain the string /bin/sh or /bin/bash (including the top-level configure script!) used DOS line endings, which made bash on OS X 10.4.11 halt claiming there was no such interpreter. </p> <p> After I fixed the line endings and went to run make, I discovered that the top-level Makefile had two space characters at the beginnings of lines where there should be a tab character for proper Makefile format! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2641 Trac 1.4.3 Vladimir Prus Tue, 06 Jan 2009 00:23:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2641#comment:1 https://svn.boost.org/trac10/ticket/2641#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> The 7-zip package is meant for Windows users and therefore uses Windows line endings. The Makefile in my SVN copy has tab characters, so I suspect you've converted that to space characters while doing your fix. </p> <p> I suggest you download the tar.bz2 package. In any case, I am not responsible for Makefile. </p> Ticket Albert Davidson Chou <HotFusionMan@…> Tue, 06 Jan 2009 00:55:57 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2641#comment:2 https://svn.boost.org/trac10/ticket/2641#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">invalid</span> </li> </ul> <p> 7-zip exists on Unix, too (as my experience today attests), so can you label the .7z file somehow so it indicates it's meant for Windows? Either in the filename or on the download page, just some indication. </p> Ticket Vladimir Prus Tue, 06 Jan 2009 01:30:21 GMT owner, status changed https://svn.boost.org/trac10/ticket/2641#comment:3 https://svn.boost.org/trac10/ticket/2641#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Vladimir Prus</span> to <span class="trac-author">René Rivera</span> </li> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">new</span> </li> </ul> <p> I don't think SF release system allows to mark a package as Windows-only source, so altering a name is the only option. Rene? </p> Ticket René Rivera Sat, 14 Feb 2009 20:00:54 GMT owner changed https://svn.boost.org/trac10/ticket/2641#comment:4 https://svn.boost.org/trac10/ticket/2641#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">René Rivera</span> to <span class="trac-author">Beman Dawes</span> </li> </ul> <p> SF doesn't have options for tagging source code as anything but portable. So the only choice I see is to tag the release packages with an appropriate name that identifies the kind of EOLs in the source: </p> <ul><li>boost_1_38_0_crlf.zip </li><li>boost_1_38_0_crlf.7z </li><li>boost_1_38_0_lf.tar.gz </li><li>boost_1_38_0_lf.tar.bz2 </li></ul><p> And we may want to consider adding archives for some other common options: </p> <ul><li>boost_1_38_0_lf.7z (for Unix with 7zp) </li><li>boost_1_38_0_crlf.tar.bz2 (for Cygwin users with CRLF installs) </li></ul> Ticket Daniel James Sat, 21 Feb 2009 18:07:25 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2641#comment:5 https://svn.boost.org/trac10/ticket/2641#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I'm marking this particular bug as fixed - as it is. There's already bug about documenting the line endings, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2177" title="#2177: Bugs: Documentation of release package line endings (closed: fixed)">#2177</a>. <a class="new ticket" href="https://svn.boost.org/trac10/ticket/2790" title="#2790: Feature Requests: Executable bit is lost on windows builds. (new)">#2790</a> is also relevant. </p> Ticket