Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.7.1 does not build on OSX El Capitan #4

Open
marr opened this issue Nov 16, 2015 · 5 comments
Open

4.7.1 does not build on OSX El Capitan #4

marr opened this issue Nov 16, 2015 · 5 comments

Comments

@marr
Copy link

marr commented Nov 16, 2015

Output from npm i [email protected]
https://gist.github.com/b1a6e489bb549a5690a8

@marr
Copy link
Author

marr commented Nov 16, 2015

$ npm i -S [email protected]
\
> [email protected] preinstall /Users/dmarr/src/metalsmith-multimarkdown/node_modules/mmd
> make preinstall

./bin/compile-multimarkdown.sh
Cloning into 'MultiMarkdown-4'...
remote: Counting objects: 2797, done.
remote: Total 2797 (delta 0), reused 0 (delta 0), pack-reused 2797
Receiving objects: 100% (2797/2797), 4.50 MiB | 3.62 MiB/s, done.
Resolving deltas: 100% (1945/1945), done.
Checking connectivity... done.
Note: checking out '3083076038cdaceb666581636ef9e1fc68472ff0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

Submodule 'MarkdownTest' (https://github.com/fletcher/MMD-Test-Suite.git) registered for path 'MarkdownTest'
Submodule 'Support' (https://github.com/fletcher/MMD-Support.git) registered for path 'Support'
Submodule 'cheat-sheet' (https://github.com/fletcher/human-markdown-reference.git) registered for path 'cheat-sheet'
Submodule 'documentation' (https://github.com/fletcher/MultiMarkdown-4.git) registered for path 'documentation'
Submodule 'greg' (https://github.com/nddrylliog/greg.git) registered for path 'greg'
Cloning into 'MarkdownTest'...
remote: Counting objects: 2501, done.
remote: Total 2501 (delta 0), reused 0 (delta 0), pack-reused 2501
Receiving objects: 100% (2501/2501), 659.22 KiB | 1.16 MiB/s, done.
Resolving deltas: 100% (1691/1691), done.
Checking connectivity... done.
Submodule path 'MarkdownTest': checked out '6984661b0cdf75a083fa6c06a9073da19abc1599'
Cloning into 'Support'...
remote: Counting objects: 338, done.
remote: Total 338 (delta 0), reused 0 (delta 0), pack-reused 338
Receiving objects: 100% (338/338), 64.66 KiB | 0 bytes/s, done.
Resolving deltas: 100% (167/167), done.
Checking connectivity... done.
Submodule path 'Support': checked out '685c95cf39a0db0c7e1067dfcf5dd2ad27dba08f'
Cloning into 'cheat-sheet'...
remote: Counting objects: 260, done.
remote: Total 260 (delta 0), reused 0 (delta 0), pack-reused 260
Receiving objects: 100% (260/260), 374.29 KiB | 0 bytes/s, done.
Resolving deltas: 100% (119/119), done.
Checking connectivity... done.
Submodule path 'cheat-sheet': checked out '199dae83cfd22254a7b329450e48aaedb8d4d2e9'
Cloning into 'documentation'...
remote: Counting objects: 2797, done.
remote: Total 2797 (delta 0), reused 0 (delta 0), pack-reused 2797
Receiving objects: 100% (2797/2797), 4.50 MiB | 4.12 MiB/s, done.
Resolving deltas: 100% (1945/1945), done.
Checking connectivity... done.
Submodule path 'documentation': checked out 'c1bc09342a516f318a6b2f3e7e259bc09d9c9513'
Cloning into 'greg'...
remote: Counting objects: 435, done.
remote: Total 435 (delta 0), reused 0 (delta 0), pack-reused 435
Receiving objects: 100% (435/435), 197.23 KiB | 0 bytes/s, done.
Resolving deltas: 100% (214/214), done.
Checking connectivity... done.
Submodule path 'greg': checked out '98ecf13c3502b47e342b09fb7b0cad453e1bb797'
Makefile:65: warning: overriding commands for target `/usr/local/bin'
Makefile:56: warning: ignoring old commands for target `/usr/local/bin'
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o multimarkdown.o multimarkdown.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o parse_utilities.o parse_utilities.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C greg
cc -g -Wall -O3 -DNDEBUG    -c -o greg.o greg.c
cc -g -Wall -O3 -DNDEBUG    -c -o tree.o tree.c
cc -g -Wall -O3 -DNDEBUG    -c -o compile.o compile.c
cc -g -Wall -O3 -DNDEBUG  -o greg-new greg.o tree.o compile.o
mv greg-new greg
greg/greg -o parser.c parser.leg
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o parser.o parser.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o GLibFacade.o GLibFacade.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o writer.o writer.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o text.o text.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o html.o html.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o latex.o latex.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o memoir.o memoir.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o beamer.o beamer.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o lyx.o lyx.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o lyxbeamer.o lyxbeamer.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o opml.o opml.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o odf.o odf.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o critic.o critic.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o rng.o rng.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o rtf.o rtf.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o transclude.o transclude.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o toc.o toc.c
cc -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -L/opt/boxen/homebrew/lib -o multimarkdown multimarkdown.o parse_utilities.o parser.o GLibFacade.o writer.o text.o html.o latex.o memoir.o beamer.o lyx.o lyxbeamer.o opml.o odf.o critic.o rng.o rtf.o transclude.o toc.o
./enumsToPerl.pl libMultiMarkdown.h enumMap.txt
npm install nan
[email protected] node_modules/nan
npm install node-gyp
[email protected] node_modules/node-gyp
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
./node_modules/.bin/node-gyp configure --debug
./node_modules/.bin/node-gyp build --debug
  CXX(target) Debug/obj.target/mmd/src/mmd.o
../src/mmd.cc:13:17: error: use of undeclared identifier 'NanNew'
    target->Set(NanNew<v8::String>("convert"),
                ^
../src/mmd.cc:13:34: error: expected '(' for function-style cast or type construction
    target->Set(NanNew<v8::String>("convert"),
                       ~~~~~~~~~~^
../src/mmd.cc:14:13: error: use of undeclared identifier 'NanNew'
            NanNew<v8::FunctionTemplate>(Convert)->GetFunction());
            ^
../src/mmd.cc:14:40: error: expected '(' for function-style cast or type construction
            NanNew<v8::FunctionTemplate>(Convert)->GetFunction());
                   ~~~~~~~~~~~~~~~~~~~~^
../src/mmd.cc:14:50: error: member reference base type 'Nan::NAN_METHOD_RETURN_TYPE
      (Nan::NAN_METHOD_ARGS_TYPE)' is not a structure or union
            NanNew<v8::FunctionTemplate>(Convert)->GetFunction());
                                        ~~~~~~~~~^ ~~~~~~~~~~~
../src/mmd.cc:16:17: error: use of undeclared identifier 'NanNew'
    target->Set(NanNew<v8::String>("extractMetadataKeys"),
                ^
../src/mmd.cc:16:34: error: expected '(' for function-style cast or type construction
    target->Set(NanNew<v8::String>("extractMetadataKeys"),
                       ~~~~~~~~~~^
../src/mmd.cc:17:13: error: use of undeclared identifier 'NanNew'
            NanNew<v8::FunctionTemplate>(ExtractMetadataKeys)->GetFunction());
            ^
../src/mmd.cc:17:40: error: expected '(' for function-style cast or type construction
            NanNew<v8::FunctionTemplate>(ExtractMetadataKeys)->GetFunction());
                   ~~~~~~~~~~~~~~~~~~~~^
../src/mmd.cc:17:62: error: member reference base type 'Nan::NAN_METHOD_RETURN_TYPE
      (Nan::NAN_METHOD_ARGS_TYPE)' is not a structure or union
            NanNew<v8::FunctionTemplate>(ExtractMetadataKeys)->GetFunction());
                                        ~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~
../src/mmd.cc:19:17: error: use of undeclared identifier 'NanNew'
    target->Set(NanNew<v8::String>("extractMetadataValue"),
                ^
../src/mmd.cc:19:34: error: expected '(' for function-style cast or type construction
    target->Set(NanNew<v8::String>("extractMetadataValue"),
                       ~~~~~~~~~~^
../src/mmd.cc:20:13: error: use of undeclared identifier 'NanNew'
            NanNew<v8::FunctionTemplate>(ExtractMetadataValue)->GetFunction());
            ^
../src/mmd.cc:20:40: error: expected '(' for function-style cast or type construction
            NanNew<v8::FunctionTemplate>(ExtractMetadataValue)->GetFunction());
                   ~~~~~~~~~~~~~~~~~~~~^
../src/mmd.cc:20:63: error: member reference base type 'Nan::NAN_METHOD_RETURN_TYPE
      (Nan::NAN_METHOD_ARGS_TYPE)' is not a structure or union
            NanNew<v8::FunctionTemplate>(ExtractMetadataValue)->GetFunction());
                                        ~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~
15 errors generated.
make[1]: *** [Debug/obj.target/mmd/src/mmd.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/dmarr/src/metalsmith-multimarkdown/node_modules/mmd/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/opt/boxen/nodenv/versions/iojs-v2.5.0/bin/iojs" "/Users/dmarr/src/metalsmith-multimarkdown/node_modules/mmd/node_modules/.bin/node-gyp" "build" "--debug"
gyp ERR! cwd /Users/dmarr/src/metalsmith-multimarkdown/node_modules/mmd
gyp ERR! node -v v2.5.0
gyp ERR! node-gyp -v v3.1.0
gyp ERR! not ok
make: *** [build/Release/mmd.node] Error 1
npm ERR! Darwin 15.0.0
npm ERR! argv "/opt/boxen/nodenv/versions/iojs-v2.5.0/bin/iojs" "/opt/boxen/nodenv/versions/iojs-v2.5.0/bin/npm" "i" "-S" "[email protected]"
npm ERR! node v2.5.0
npm ERR! npm  v2.13.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] preinstall: `make preinstall`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] preinstall script 'make preinstall'.
npm ERR! This is most likely a problem with the mmd package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make preinstall
npm ERR! You can get their info via:
npm ERR!     npm owner ls mmd
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dmarr/src/metalsmith-multimarkdown/npm-debug.log

@marr
Copy link
Author

marr commented Nov 16, 2015

and with node v5.0.0

$ npm i -S [email protected]

> [email protected] preinstall /Users/dmarr/src/metalsmith-multimarkdown/node_modules/.staging/mmd-ff1e3dba7d534020c31a489da6f86345
> make preinstall

./bin/compile-multimarkdown.sh
Cloning into 'MultiMarkdown-4'...
remote: Counting objects: 2797, done.
remote: Total 2797 (delta 0), reused 0 (delta 0), pack-reused 2797
Receiving objects: 100% (2797/2797), 4.50 MiB | 3.58 MiB/s, done.
Resolving deltas: 100% (1945/1945), done.
Checking connectivity... done.
Note: checking out '3083076038cdaceb666581636ef9e1fc68472ff0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

Submodule 'MarkdownTest' (https://github.com/fletcher/MMD-Test-Suite.git) registered for path 'MarkdownTest'
Submodule 'Support' (https://github.com/fletcher/MMD-Support.git) registered for path 'Support'
Submodule 'cheat-sheet' (https://github.com/fletcher/human-markdown-reference.git) registered for path 'cheat-sheet'
Submodule 'documentation' (https://github.com/fletcher/MultiMarkdown-4.git) registered for path 'documentation'
Submodule 'greg' (https://github.com/nddrylliog/greg.git) registered for path 'greg'
Cloning into 'MarkdownTest'...
remote: Counting objects: 2501, done.
remote: Total 2501 (delta 0), reused 0 (delta 0), pack-reused 2501
Receiving objects: 100% (2501/2501), 659.22 KiB | 1.11 MiB/s, done.
Resolving deltas: 100% (1691/1691), done.
Checking connectivity... done.
Submodule path 'MarkdownTest': checked out '6984661b0cdf75a083fa6c06a9073da19abc1599'
Cloning into 'Support'...
remote: Counting objects: 338, done.
remote: Total 338 (delta 0), reused 0 (delta 0), pack-reused 338
Receiving objects: 100% (338/338), 64.66 KiB | 0 bytes/s, done.
Resolving deltas: 100% (167/167), done.
Checking connectivity... done.
Submodule path 'Support': checked out '685c95cf39a0db0c7e1067dfcf5dd2ad27dba08f'
Cloning into 'cheat-sheet'...
remote: Counting objects: 260, done.
remote: Total 260 (delta 0), reused 0 (delta 0), pack-reused 260
Receiving objects: 100% (260/260), 374.29 KiB | 0 bytes/s, done.
Resolving deltas: 100% (119/119), done.
Checking connectivity... done.
Submodule path 'cheat-sheet': checked out '199dae83cfd22254a7b329450e48aaedb8d4d2e9'
Cloning into 'documentation'...
remote: Counting objects: 2797, done.
remote: Total 2797 (delta 0), reused 0 (delta 0), pack-reused 2797
Receiving objects: 100% (2797/2797), 4.50 MiB | 3.79 MiB/s, done.
Resolving deltas: 100% (1945/1945), done.
Checking connectivity... done.
Submodule path 'documentation': checked out 'c1bc09342a516f318a6b2f3e7e259bc09d9c9513'
Cloning into 'greg'...
remote: Counting objects: 435, done.
remote: Total 435 (delta 0), reused 0 (delta 0), pack-reused 435
Receiving objects: 100% (435/435), 197.23 KiB | 0 bytes/s, done.
Resolving deltas: 100% (214/214), done.
Checking connectivity... done.
Submodule path 'greg': checked out '98ecf13c3502b47e342b09fb7b0cad453e1bb797'
Makefile:65: warning: overriding commands for target `/usr/local/bin'
Makefile:56: warning: ignoring old commands for target `/usr/local/bin'
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o multimarkdown.o multimarkdown.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o parse_utilities.o parse_utilities.c
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C greg
cc -g -Wall -O3 -DNDEBUG    -c -o greg.o greg.c
cc -g -Wall -O3 -DNDEBUG    -c -o tree.o tree.c
cc -g -Wall -O3 -DNDEBUG    -c -o compile.o compile.c
cc -g -Wall -O3 -DNDEBUG  -o greg-new greg.o tree.o compile.o
mv greg-new greg
greg/greg -o parser.c parser.leg
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o parser.o parser.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o GLibFacade.o GLibFacade.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o writer.o writer.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o text.o text.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o html.o html.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o latex.o latex.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o memoir.o memoir.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o beamer.o beamer.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o lyx.o lyx.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o lyxbeamer.o lyxbeamer.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o opml.o opml.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o odf.o odf.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o critic.o critic.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o rng.o rng.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o rtf.o rtf.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o transclude.o transclude.c
cc -c -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -o toc.o toc.c
cc -fPIC -Wall -O3 -include GLibFacade.h -include parser.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE -L/opt/boxen/homebrew/lib -o multimarkdown multimarkdown.o parse_utilities.o parser.o GLibFacade.o writer.o text.o html.o latex.o memoir.o beamer.o lyx.o lyxbeamer.o opml.o odf.o critic.o rng.o rtf.o transclude.o toc.o
./enumsToPerl.pl libMultiMarkdown.h enumMap.txt
npm install nan
[email protected] /Users/dmarr/src/metalsmith-multimarkdown/node_modules/.staging/mmd-ff1e3dba7d534020c31a489da6f86345
└── [email protected]

npm install node-gyp
[email protected] /Users/dmarr/src/metalsmith-multimarkdown/node_modules/.staging/mmd-ff1e3dba7d534020c31a489da6f86345
└─┬ [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ ├─┬ [email protected]
  │ │ └── [email protected]
  │ ├─┬ [email protected]
  │ │ └─┬ [email protected]
  │ │   ├── [email protected]
  │ │   └── [email protected]
  │ └── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ ├─┬ [email protected]
  │ │ ├── [email protected]
  │ │ └─┬ [email protected]
  │ │   ├── [email protected]
  │ │   ├── [email protected]
  │ │   └── [email protected]
  │ └─┬ [email protected]
  │   ├── [email protected]
  │   ├─┬ [email protected]
  │   │ ├── [email protected]
  │   │ └─┬ [email protected]
  │   │   └── [email protected]
  │   ├── [email protected]
  │   └── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ └─┬ [email protected]
  │   └─┬ [email protected]
  │     └── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ ├─┬ [email protected]
  │ │ └─┬ [email protected]
  │ │   ├── [email protected]
  │ │   └── [email protected]
  │ ├── [email protected]
  │ ├─┬ [email protected]
  │ │ └── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├─┬ [email protected]
  │ │ └── [email protected]
  │ ├─┬ [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├─┬ [email protected]
  │ │ │ │ └── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ └── [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ └── [email protected]
  │ │ ├─┬ [email protected]
  │ │ │ ├── [email protected]
  │ │ │ ├─┬ [email protected]
  │ │ │ │ └── [email protected]
  │ │ │ ├── [email protected]
  │ │ │ └── [email protected]
  │ │ └─┬ [email protected]
  │ │   └── [email protected]
  │ ├─┬ [email protected]
  │ │ ├── [email protected]
  │ │ ├── [email protected]
  │ │ ├── [email protected]
  │ │ └── [email protected]
  │ ├─┬ [email protected]
  │ │ ├── [email protected]
  │ │ ├── [email protected]
  │ │ └── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├─┬ [email protected]
  │ │ └── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ └─┬ [email protected]
  │   ├── [email protected]
  │   └── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └── [email protected]

./node_modules/.bin/node-gyp configure --debug
./node_modules/.bin/node-gyp build --debug
  CXX(target) Debug/obj.target/mmd/src/mmd.o
../src/mmd.cc:13:17: error: use of undeclared identifier 'NanNew'
    target->Set(NanNew<v8::String>("convert"),
                ^
../src/mmd.cc:13:34: error: expected '(' for function-style cast or type construction
    target->Set(NanNew<v8::String>("convert"),
                       ~~~~~~~~~~^
../src/mmd.cc:14:13: error: use of undeclared identifier 'NanNew'
            NanNew<v8::FunctionTemplate>(Convert)->GetFunction());
            ^
../src/mmd.cc:14:40: error: expected '(' for function-style cast or type construction
            NanNew<v8::FunctionTemplate>(Convert)->GetFunction());
                   ~~~~~~~~~~~~~~~~~~~~^
../src/mmd.cc:14:50: error: member reference base type 'Nan::NAN_METHOD_RETURN_TYPE
      (Nan::NAN_METHOD_ARGS_TYPE)' is not a structure or union
            NanNew<v8::FunctionTemplate>(Convert)->GetFunction());
                                        ~~~~~~~~~^ ~~~~~~~~~~~
../src/mmd.cc:16:17: error: use of undeclared identifier 'NanNew'
    target->Set(NanNew<v8::String>("extractMetadataKeys"),
                ^
../src/mmd.cc:16:34: error: expected '(' for function-style cast or type construction
    target->Set(NanNew<v8::String>("extractMetadataKeys"),
                       ~~~~~~~~~~^
../src/mmd.cc:17:13: error: use of undeclared identifier 'NanNew'
            NanNew<v8::FunctionTemplate>(ExtractMetadataKeys)->GetFunction());
            ^
../src/mmd.cc:17:40: error: expected '(' for function-style cast or type construction
            NanNew<v8::FunctionTemplate>(ExtractMetadataKeys)->GetFunction());
                   ~~~~~~~~~~~~~~~~~~~~^
../src/mmd.cc:17:62: error: member reference base type 'Nan::NAN_METHOD_RETURN_TYPE
      (Nan::NAN_METHOD_ARGS_TYPE)' is not a structure or union
            NanNew<v8::FunctionTemplate>(ExtractMetadataKeys)->GetFunction());
                                        ~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~
../src/mmd.cc:19:17: error: use of undeclared identifier 'NanNew'
    target->Set(NanNew<v8::String>("extractMetadataValue"),
                ^
../src/mmd.cc:19:34: error: expected '(' for function-style cast or type construction
    target->Set(NanNew<v8::String>("extractMetadataValue"),
                       ~~~~~~~~~~^
../src/mmd.cc:20:13: error: use of undeclared identifier 'NanNew'
            NanNew<v8::FunctionTemplate>(ExtractMetadataValue)->GetFunction());
            ^
../src/mmd.cc:20:40: error: expected '(' for function-style cast or type construction
            NanNew<v8::FunctionTemplate>(ExtractMetadataValue)->GetFunction());
                   ~~~~~~~~~~~~~~~~~~~~^
../src/mmd.cc:20:63: error: member reference base type 'Nan::NAN_METHOD_RETURN_TYPE
      (Nan::NAN_METHOD_ARGS_TYPE)' is not a structure or union
            NanNew<v8::FunctionTemplate>(ExtractMetadataValue)->GetFunction());
                                        ~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~
15 errors generated.
make[1]: *** [Debug/obj.target/mmd/src/mmd.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/dmarr/src/metalsmith-multimarkdown/node_modules/.staging/mmd-ff1e3dba7d534020c31a489da6f86345/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/opt/boxen/nodenv/versions/v5.0.0/bin/node" "/Users/dmarr/src/metalsmith-multimarkdown/node_modules/.staging/mmd-ff1e3dba7d534020c31a489da6f86345/node_modules/.bin/node-gyp" "build" "--debug"
gyp ERR! cwd /Users/dmarr/src/metalsmith-multimarkdown/node_modules/.staging/mmd-ff1e3dba7d534020c31a489da6f86345
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.1.0
gyp ERR! not ok
make: *** [build/Release/mmd.node] Error 1
npm ERR! Darwin 15.0.0
npm ERR! argv "/opt/boxen/nodenv/versions/v5.0.0/bin/node" "/opt/boxen/nodenv/versions/v5.0.0/bin/npm" "i" "-S" "[email protected]"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! code ELIFECYCLE

npm ERR! [email protected] preinstall: `make preinstall`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] preinstall script 'make preinstall'.
npm ERR! This is most likely a problem with the mmd package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make preinstall
npm ERR! You can get their info via:
npm ERR!     npm owner ls mmd
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dmarr/src/metalsmith-multimarkdown/npm-debug.log

@mnichols
Copy link
Owner

Looks like some nan errors b/c node5 isnt supported yet.

@marr
Copy link
Author

marr commented Nov 17, 2015

I tried with 4.2.1 as well and had the same issue.

@mnichols
Copy link
Owner

Ok I will see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants