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

why json-c so hard to compile #327

Closed
liudf0716 opened this issue May 31, 2017 · 7 comments
Closed

why json-c so hard to compile #327

liudf0716 opened this issue May 31, 2017 · 7 comments

Comments

@liudf0716
Copy link

very time I used it, it will waste much of my time to resolve this and that configuring problem.

@liudf0716
Copy link
Author

In fact, it's only a little project.

@hawicz
Copy link
Member

hawicz commented Jun 1, 2017

Is there a specific problem you're having?
On the environments where I use it (NetBSD, Debian, CentOS) it builds just fine, so unless you provide some details, there's not much that can be done.

@liudf0716
Copy link
Author

@hawicz I can build it fine too, but every time it will take me long time to pass through it in a new building environment. most of time to resolve problem just like this:
1, error: possibly undefined macro: AM_PROG_LIBTOOL
2, error: Libtool library used but 'LIBTOOL' is undefined
It not only my problem, many people using my project xkcptun asked me, why choose json-c, why not choose other json library, blablabla....
I am really feel helpless.

@meithecatte
Copy link

The libtool problem can be solved by installing the libtool package. Did you have any other problems?

@ploxiln
Copy link
Contributor

ploxiln commented Jun 15, 2017

json-c is "so hard to compile" because it is a C library that attempts to be compatible with many different platforms and toolchains. This issue is too vague, it would be appropriate to close.

@liudf0716
Copy link
Author

In fact, most of time is not spent on resolve problem such as compatible with many different platforms and toolchains, but like libtool version was too old, u need to update your version, when u update your libtool version, u will encounter other problem. It was not such problem u can not resolve, but really make u annoying

@hawicz
Copy link
Member

hawicz commented Jun 18, 2017

The AM_PROG_LIBTOOL problem is being tracked as Issue #308. @NieDzejkob explained the "fix" for the "LIBTOOL is undefined" problem. If there's something else specific that needs to be addressed, then that's one thing, but I'm closing this issue.

@hawicz hawicz closed this as completed Jun 18, 2017
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

4 participants