stronglink
stronglink copied to clipboard
build error
I tried building this and I got this error
[ 93%] Building C object src/CMakeFiles/libcmark_static.dir/houdini_href_e.c.o
[ 95%] Building C object src/CMakeFiles/libcmark_static.dir/houdini_html_e.c.o
[ 96%] Building C object src/CMakeFiles/libcmark_static.dir/houdini_html_u.c.o
[ 98%] Building C object src/CMakeFiles/libcmark_static.dir/cmark_ctype.c.o
[100%] Linking C static library libcmark.a
[100%] Built target libcmark_static
Binaries can be found in build/src
make yajl_s/fast -C ./deps/yajl/build --no-print-directory
make[1]: *** deps/yajl/build: No such file or directory. Stop.
Makefile:218: recipe for target 'yajl' failed
make: *** [yajl] Error 2
Can you try mkdir deps/yajl/build
and then build again? If that works I will add it to the build script.
BTW I'd like to talk to you and other SSB folks some more! I was very impressed with everyone involved with SSB that I met at the Decentralized Web Summit.
If that doesn't work, try manually following the build instructions in deps/yajl/BUILDING.
Sorry for the trouble.
okay I get this error:
find: './build/h': No such file or directory
make yajl_s/fast -C ./deps/yajl/build --no-print-directory
make[1]: *** No rule to make target 'yajl_s/fast'. Stop.
Makefile:218: recipe for target 'yajl' failed
make: *** [yajl] Error 2
I did cmake .
in deps/yajland that seemed to work, and then
make, had to do
make distcleanin
.` to get it to do anything.
I've got
$ ls yajl-2.1.1/lib/
libyajl.so libyajl.so.2 libyajl.so.2.1.1 libyajl_s.a
which looks right, but stronglink's make is still giving the same error as beore.
still looking for yajl_s/fast
...
I think you need to run cmake .
in deps/yajl/build
rather than deps/yajl
. Then the StrongLink makefile should find it and not try to build it itself. The full dependencies are deps/yajl/build/yajl-2.1.1/lib/libyajl_s.a
and deps/yajl/build/yajl-2.1.1/include/*.h
.
Correction: cmake ..
when in deps/yajl/build
my .a is in the right place, but .h are another dir lower, under include/yajl/*.h
$ ls deps/yajl/yajl-2.1.1/include/yajl/yajl_*.h
deps/yajl/yajl-2.1.1/include/yajl/yajl_common.h deps/yajl/yajl-2.1.1/include/yajl/yajl_tree.h
deps/yajl/yajl-2.1.1/include/yajl/yajl_gen.h deps/yajl/yajl-2.1.1/include/yajl/yajl_version.h
deps/yajl/yajl-2.1.1/include/yajl/yajl_parse.h
$ ls deps/yajl/yajl-2.1.1/lib/
libyajl.so libyajl.so.2 libyajl.so.2.1.1 libyajl_s.a
It looks to me like neither one is in the right place. You are still looking at deps/yajl/.
rather than deps/yajl/build/.
$ ls deps/yajl/build/
CMakeCache.txt cmake_install.cmake Makefile reformatter test yajl-2.1.1
CMakeFiles example perf src verify