Hi All-
TextMate looks terrific! Thanks Allan for making it available under the GNU General Public License! I installed the binary and it works for me, but I'd like to build it from source, and I'm having a bit of trouble with that.
At https://github.com/textmate/textmate I see the following instructions:
============== In the simplest case you would run:
$ git clone https://github.com/textmate/textmate.git $ cd textmate $ git submodule update --init $ ./configure && ninja ==============
I did all the prerequisites using homebrew without apparent problems:
============== $ brew install ragel boost multimarkdown hg ninja capnp google-sparsehash libressl
$ brew install proctools ==============
But the last step in building TextMate (./configure && ninja) fails for me with:
============== ... [445/1150] Compile ‘Applications/commit/src/commit.mm’… FAILED: xcrun clang++ -include /Users/alpha/build/TextMate/Shared/PCH/prelude.mm -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.7 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -DCOMPILE_DATE="`date +%Y-%m-%d`" -fvisibility=hidden -std=c++1y -stdlib=libc++ -fobjc-abi-version=3 -fobjc-arc -fobjc-call-cxx-cdtors -o /Users/alpha/build/TextMate/Applications/commit/src/commit.o -MMD -MF /Users/alpha/build/TextMate/Applications/commit/src/commit.o.d -I/Users/alpha/build/TextMate/include Applications/commit/src/commit.mm Applications/commit/src/commit.mm:1:10: fatal error: 'CommitWindow/CommitWindow.h' file not found #include <CommitWindow/CommitWindow.h> ^ 1 error generated. [445/1150] Run test ‘/Users/alpha/bu...TextMate/Frameworks/scm/test_scm’… ninja: build stopped: subcommand failed. ==============
It's strange because the reportedly missing file is apparently present (if not exactly where ninja seems to be looking for it):
============== $ pwd /Users/alpha/sources/textmate $ find . -name "CommitWindow.h" ./Frameworks/CommitWindow/src/CommitWindow.h ==============
I didn't think I would need to set any of the variables:
================= builddir — location of built files. Defaults to ~/build/TextMate. identity — for Apple’s codesign. Defaults to ad-hoc signing, which does not use an identity at all. boostdir — location of boost includes. By default it will search various locations including MacPorts and Homebrew. sparsedir — location of sparsehash includes. By default it will search various locations including MacPorts and Homebrew. CC and CXX — C and C++ compiler. =================
so I didn't, but maybe I need to set boostdir manually?
Any advice on this, or is this a bona fide bug in the build process (seems unlikely)? I've never filed an issue in github. Is that how I would go about reporting a bug?
Thanks!
Best, Kevin
On Wed, Feb 10, 2016 at 10:01 AM, Kevin accounts@osteoboon.com wrote:
so I didn't, but maybe I need to set boostdir manually?
This should be necessary.
Any advice on this, or is this a bona fide bug in the build process (seems unlikely)?
The build runs in parallel so the header might have not been copied over in time. Have you tried running ninja again?
I've never filed an issue in github. Is that how I would go about reporting a bug?
The Github issues have been disabled so submitting build errors via the mailing list the preferred way.
Thanks!
Best, Kevin
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 2/10/16 11:20 AM, Ronald Wampler wrote:
On Wed, Feb 10, 2016 at 10:01 AM, Kevin accounts@osteoboon.com wrote:
Any advice on this, or is this a bona fide bug in the build process (seems unlikely)?
The build runs in parallel so the header might have not been copied over in time. Have you tried running ninja again?
I ran it again and it stalled. But I deleted the entire textmate directory and redid the:
$ git clone https://github.com/textmate/textmate.git $ cd textmate $ git submodule update --init $ ./configure && ninja
command sequence. The second time I did this, I got the same error. But on the third try, it seemed to work as expected (build completed and TextMate.app opened up for me).
Thanks for your help, Ronald!
Best, Kevin