Comments (8)
You shouldn't put platform-specific paths in Makefile.in
from yajl-tcl.
Absolutely. That is why this is a bug / work-around. To actually fix the bug, that work will need done. I may try to come back and do this (fork + pull request). But I have a product I need to develop for a customer first. ๐
from yajl-tcl.
Roger!
from yajl-tcl.
I donโt see that pkg_check_modules line being commented in configure.in
from yajl-tcl.
That was part of the work-around I needed to do. Some reason "sudo apt-get install libyajl-dev" does not add itself to pkg-config. Maybe this part of the bug really belongs in that package? (edit: This is incorrect... It is added. But yajl-tcl build fails due to pkg-config / an issue with my specific environment)
But I did read that all static libraries need linked together for TCL 8.5+. Did not used to be that way. And I did not see libyajl.so being linked in the final dynamic library. (Just clarifying the part of the bug that belongs here - thanks for bringing this up @gahr!)
tl;dr Note: Using Bash on Windows -> Ubuntu with Netbeans + http://plugins.netbeans.org/plugin/39119/tcl-plugin + vxcsrv. But works same as Ubuntu w/ KDE. Wasn't able to get that far with Msys2 / MinGW. But the system I need to develop for is embedded Linux based using https://github.com/flightaware/yajl-tcl for a certain remote control TCL 2.0 software.
This library is really useful! Thank you to those who wrote it and those supporting it. Including @gahr and @resuna!
from yajl-tcl.
Iโm not an ubuntu expert, but the pkgconf file is listed here: https://packages.ubuntu.com/bionic/amd64/libyajl-dev/filelist
from yajl-tcl.
I cannot reproduce this on a Ubuntu 16.04 machine. yajl-tcl builds fine out of the box:
$ autoconf
$ ./configure
$ make
$ dpkg -l 'libyajl*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libyajl-dev:am 2.1.0-2 amd64 Yet Another JSON Library - develo
rc libyajl1 1.0.12-2 amd64 Yet Another JSON Library
ii libyajl2:amd64 2.1.0-2 amd64 Yet Another JSON Library
from yajl-tcl.
I should technically be on Ubuntu 16.04. But it is Bash on Windows. So anything could be causing the pkg-config issue. Good to know! This is specific to me. I will remove that part / step 1 from this bug.
@mutability - I see that you are correct. I should have looked...my apologies!
prefix=/usr
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include/yajl
Name: Yet Another JSON Library
Description: A Portable JSON parsing and serialization library in ANSI C
Version: 2.1.0
Cflags: -I${includedir}
Libs: -L${libdir} -lyajl
edit: Removed from above
- in configure.in:
#PKG_CHECK_MODULES([YAJL], [yajl >= 2.0], [],
# AC_MSG_ERROR(Cannot find yajl]))
Update: Got a chance to try it again (with a different machine) in WSL / Ubuntu on Windows and it installed cleanly. Still has the issue when loading the module in TCL (can't find native C functions because of original library not being linked in final step). But it compiles just fine.
from yajl-tcl.
Related Issues (18)
- "make install" fails due to missing docs HOT 4
- Something is too slow... HOT 10
- That the "parse" method defines a number callback prevents the integer and double callbacks from ever being invoked
- Update to support yajl 2.x branch HOT 1
- Configure doesn't work HOT 3
- Add map_json HOT 3
- yajl "number" should reject invalid arguments
- Atom Editor / Syntax Highlighting HOT 1
- Add [yajl parse] command HOT 4
- [$obj parse] not working properly? HOT 7
- Add json parsing into simple key/value dict compatible format HOT 1
- What is the current stable version? HOT 3
- Documentation website is missing json2dict
- json2dict converts unquoted true and false to numerical boolean HOT 6
- yajl "number" type does not reject blank arguments HOT 1
- Issues while processing json containing braces HOT 6
- yajl parse returns "boolean" but the command is named "bool"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yajl-tcl.