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

build error #112

Open
dominictarr opened this issue Jun 10, 2016 · 9 comments
Open

build error #112

dominictarr opened this issue Jun 10, 2016 · 9 comments

Comments

@dominictarr
Copy link

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
@btrask
Copy link
Owner

btrask commented Jun 11, 2016

Can you try mkdir deps/yajl/build and then build again? If that works I will add it to the build script.

@btrask
Copy link
Owner

btrask commented Jun 11, 2016

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.

@btrask
Copy link
Owner

btrask commented Jun 11, 2016

If that doesn't work, try manually following the build instructions in deps/yajl/BUILDING.

Sorry for the trouble.

@dominictarr
Copy link
Author

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

@dominictarr
Copy link
Author

ihavenoidea

I did cmake . in deps/yajland that seemed to work, and thenmake, had to domake 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...

@btrask
Copy link
Owner

btrask commented Jun 12, 2016

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.

@btrask
Copy link
Owner

btrask commented Jun 12, 2016

Correction: cmake .. when in deps/yajl/build

@dominictarr
Copy link
Author

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

@btrask
Copy link
Owner

btrask commented Jun 12, 2016

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

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