-
Notifications
You must be signed in to change notification settings - Fork 30
Debian Installation Errors #22
Comments
@cecchi can you please run |
@cecchi also please |
Hi, I have the same error, but on OSX 10.9. Node: v0.10.28, npm: 1.4.13 |
$ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
$ node --version
v0.11.13
$ npm --version
1.4.9 |
@pvledoux |
@pvledoux can you please share the full output? |
@cecchi I am sorry but Node v0.11 is currently not supported due to changes in their API – can you please check with v0.10 ? |
@zdne this is the output with Node v0.10.31 vagrant@forager-dev:/bright/forager/public$ npm install protagonist [47/1198]
-
> protagonist@0.12.1 install /bright/forager/public/node_modules/protagonist
> node-gyp rebuild
make: Entering directory `/bright/forager/public/node_modules/protagonist/build'
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/HTTP.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/MarkdownBlock.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/MarkdownParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Parser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/ParserCore.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/Serialize.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeJSON.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/SerializeYAML.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/UriTemplateParser.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/snowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/csnowcrash.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CBlueprint.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/CSourceAnnotation.o
CXX(target) Release/obj.target/libsnowcrash/snowcrash/src/posix/RegexMatch.o
AR(target) Release/obj.target/snowcrash/snowcrash.a
COPY Release/snowcrash.a
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/autolink.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/buffer.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/houdini_href_e.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/houdini_html_e.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/html.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/html/html_smartypants.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/markdown.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/stack.o
CC(target) Release/obj.target/sundown/snowcrash/sundown/src/src_map.o
AR(target) Release/obj.target/snowcrash/sundown.a
COPY Release/sundown.a
CXX(target) Release/obj.target/protagonist/src/annotation.o
CXX(target) Release/obj.target/protagonist/src/blueprint.o
CXX(target) Release/obj.target/protagonist/src/parse.o
In file included from ../src/protagonist.h:3:0,
from ../src/parse.cc:5:
../snowcrash/src/Blueprint.h: In instantiation of ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::Resource]’:
/usr/include/c++/4.7/bits/stl_construct.h:105:6: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _
ForwardIterator = snowcrash::Resource*; bool <anonymous> = false]’
/usr/include/c++/4.7/bits/stl_construct.h:128:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Resourc
e*]’
/usr/include/c++/4.7/bits/stl_construct.h:155:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterato
r = snowcrash::Resource*; _Tp = snowcrash::Resource]’
/usr/include/c++/4.7/bits/stl_vector.h:403:9: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::Resource; _Alloc = std::allocator<snowcras
h::Resource>]’
../snowcrash/src/Blueprint.h:249:12: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.7/bits/stl_construct.h:105:6: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _
ForwardIterator = snowcrash::ResourceGroup*; bool <anonymous> = false]’
/usr/include/c++/4.7/bits/stl_construct.h:128:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Resourc
eGroup*]’
/usr/include/c++/4.7/bits/stl_construct.h:155:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterato
r = snowcrash::ResourceGroup*; _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.7/bits/stl_vector.h:403:9: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::ResourceGroup; _Alloc = std::allocator<sno
wcrash::ResourceGroup>]’
../snowcrash/src/Blueprint.h:267:12: required from here
../snowcrash/src/Blueprint.h:211:12: warning: ‘snowcrash::Resource::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:240) [-Wdeprecated-declarations
]
In file included from /usr/include/c++/4.7/vector:63:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.7/bits/stl_construct.h:95:7: note: synthesized method ‘snowcrash::Resource::~Resource()’ first required here
In file included from ../src/protagonist.h:3:0,
from ../src/parse.cc:5:
../snowcrash/src/Blueprint.h: In instantiation of ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::Action]’:
/usr/include/c++/4.7/bits/stl_construct.h:105:6: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _
ForwardIterator = snowcrash::Action*; bool <anonymous> = false]’
/usr/include/c++/4.7/bits/stl_construct.h:128:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Action*
]’
/usr/include/c++/4.7/bits/stl_construct.h:155:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterato
r = snowcrash::Action*; _Tp = snowcrash::Action]’
/usr/include/c++/4.7/bits/stl_vector.h:403:9: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::Action; _Alloc = std::allocator<snowcrash:
:Action>]’
../snowcrash/src/Blueprint.h:211:12: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::Resource]’
/usr/include/c++/4.7/bits/stl_construct.h:105:6: [ skipping 4 instantiation contexts ]
../snowcrash/src/Blueprint.h:249:12: required from ‘void std::_Destroy(_Tp*) [with _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.7/bits/stl_construct.h:105:6: required from ‘static void std::_Destroy_aux<<anonymous> >::__destroy(_ForwardIterator, _ForwardIterator) [with _
ForwardIterator = snowcrash::ResourceGroup*; bool <anonymous> = false]’
/usr/include/c++/4.7/bits/stl_construct.h:128:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = snowcrash::Resourc
eGroup*]’
/usr/include/c++/4.7/bits/stl_construct.h:155:7: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterato
r = snowcrash::ResourceGroup*; _Tp = snowcrash::ResourceGroup]’
/usr/include/c++/4.7/bits/stl_vector.h:403:9: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = snowcrash::ResourceGroup; _Alloc = std::allocator<sno
wcrash::ResourceGroup>]’
../snowcrash/src/Blueprint.h:267:12: required from here
../snowcrash/src/Blueprint.h:176:12: warning: ‘snowcrash::Action::headers’ is deprecated (declared at ../snowcrash/src/Blueprint.h:202) [-Wdeprecated-declarations]
In file included from /usr/include/c++/4.7/vector:63:0,
from ../snowcrash/src/Blueprint.h:12,
from ../src/protagonist.h:3,
from ../src/parse.cc:5:
/usr/include/c++/4.7/bits/stl_construct.h:95:7: note: synthesized method ‘snowcrash::Action::~Action()’ first required here
CXX(target) Release/obj.target/protagonist/src/protagonist.o
CXX(target) Release/obj.target/protagonist/src/result.o
SOLINK_MODULE(target) Release/obj.target/protagonist.node
SOLINK_MODULE(target) Release/obj.target/protagonist.node: Finished
COPY Release/protagonist.node
make: Leaving directory `/bright/forager/public/node_modules/protagonist/build'
protagonist@0.12.1 node_modules/protagonist |
@zdne Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 |
@cecchi that is the correct output – the protagonist should now work. You can verify it by entering its directory and running |
@cecchi the output just contains warnings that some things are deprecated – these will be removed in Protagonist v0.14.0 once it is released. |
@pvledoux can you please share the install / build output as printed out when running |
@pvledoux Any update on this? Note: It gets installed on my debian machine. |
Hi, sorry I was off. Here it is:
|
Looks like the same |
If this hasn't been solved yet, you can try the proposed solutions in apiaryio/snowcrash#63 or danielgtaylor/aglio#16 |
vagrant@forager-dev:/bright/forager/public$ uname -a Linux forager-dev 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: