Displaying 20 results from an estimated 2000 matches similar to: "build from github source"
2017 Jul 25
2
Re: build from github source
I try to install like below:
apt-get install libyajl2
apt-get install libyajl2-dev
apt-get install libyajl2-dbg
and rebuild again:
> ./configure
> make
still the same errors happened
anyone has the same issue?
2017-07-25 18:27 GMT+08:00 Cedric Bosdonnat <cbosdonnat@suse.com>:
> On Tue, 2017-07-25 at 17:42 +0800, lampahome wrote:
> > why is undefined reference to
2017 Nov 23
0
[PATCH 1/1] Switch from YAJL to Jansson
While YAJL mostly works fine, it did not see any active development in
the latest 3 years. OTOH, Jansson is another JSON C implementation,
with a very liberal license, and a much nicer API.
Hence, switch all of libguestfs from YAJL to Jansson:
- configure checks, and buildsystem in general
- packages pulled in the appliance
- actual implementations
- contrib scripts
- documentation
This also
2018 Feb 12
0
[PATCH v2 1/1] Switch from YAJL to Jansson
While YAJL mostly works fine, it did not see any active development in
the last 3 years. OTOH, Jansson is another JSON C implementation, with
a very liberal license, and a much nicer API.
Hence, switch all of libguestfs from YAJL to Jansson:
- configure checks, and buildsystem in general
- packages pulled in the appliance
- actual implementations
- contrib scripts
- documentation
This also
2017 Nov 23
4
[PATCH 0/1] RFC: switch from YAJL to Jansson
Hi,
recently, there was a discussion in the development list of libvirt on
switching to a different JSON library than YAJL [1]. Since we use YAJL,
and the points there IMHO apply to libguestfs as well, I decided to give
a try in switching to Jansson [2].
The result IMHO is nice, with the additional APIs of Jansson that
simplify some of our code. Unlike with YAJL, I did not set a minimum
2018 Feb 12
2
[PATCH v2 0/1] RFC: switch from YAJL to Jansson
Hi,
recently, there was a discussion in the development list of libvirt on
switching to a different JSON library than YAJL [1]. Since we use YAJL,
and the points there IMHO apply to libguestfs as well, I decided to give
a try in switching to Jansson [2].
The result IMHO is nice, with the additional APIs of Jansson that
simplify some of our code. Unlike with YAJL, I did not set a minimum
2017 Jul 25
0
Re: build from github source
On Tue, 2017-07-25 at 17:42 +0800, lampahome wrote:
> why is undefined reference to 'yajl_tree_parse', I already install it from https://github.com/lloyd/yajl
First thing I see is that it hasn't been installed to a place mentioned in your
LD_LIBRARY_PATH, or not discovered at configure time. Since you are working on a
linux machine, I guess your distro is providing the development
2012 Dec 07
2
[PATCH] Add support for Windows dynamic disks (libldm / ldmtool).
This is just an initial version of the patch, not to be
applied. It implements just the diskgroup functions, ie.
corresponding to these ldmtool commands:
* ldmtool scan
* ldmtool show diskgroup <guid>
I have chosen yajl as the JSON parsing library (don't worry,
this is optional). You will also, of course, need ldmtool
which is not packaged in anything except Fedora.
Rich.
2016 Jan 09
0
[PATCH] build: Require qemu >= 1.3.0 and yajl.
Require qemu >= 1.3.0, the first version that supported
`qemu-img --output=json'.
This means we require yajl (for parsing the JSON output of qemu-img),
and that in turn has consequences elsewhere.
---
README | 10 +-
builder/Makefile.am | 2 -
builder/sources.ml | 9 +-
builder/yajl-c.c | 30 -----
builder/yajl.ml | 2 -
builder/yajl.mli
2017 Jul 25
1
Re: build from github source
On Tue, Jul 25, 2017 at 01:30:01PM +0100, Richard W.M. Jones wrote:
> On Tue, Jul 25, 2017 at 06:52:56PM +0800, lampahome wrote:
> > I try to install like below:
> > apt-get install libyajl2
> > apt-get install libyajl2-dev
> > apt-get install libyajl2-dbg
>
> So this is Debian or Ubuntu? Which precise version?
FWIW I just built libguestfs from git on Debian 9
2015 Aug 12
0
[PATCH 2/2] builder: support Simple Streams v1.0 as index metadata
Add a simple YAJL<->OCaml bridge to expose the JSON parsing function,
and use it to parse the JSON indexes of the Simple Streams v1.0 format.
Read only datatype=image-downloads contents, and only the latest
versions of each content available as disk image (disk.img or
disk1.img).
---
builder/Makefile.am | 13 ++-
builder/builder.ml | 2 +
2014 Jul 01
10
Libvirt installion error: You must install the libyajl library & headers to compile libvirt
Dear all,
I am installing the libvirt 1.2.5 on my newly installed Fedora19.
When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt"
In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
I found several links talking about this error and I downloaded 3 files (configure.ac, m4/virt-yajl.m4,
2017 Sep 12
0
[PATCH v2 3/5] lib: qemu: Run QMP ‘query-commands’, ‘query-qmp-schema’ against the qemu binary.
This adds two extra tests using QMP (the QEMU Monitor Protocol). This
allows us to get extra information about the qemu binary beyond what
is available from the version number or ‘qemu -help’.
---
lib/qemu.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 175 insertions(+), 2 deletions(-)
diff --git a/lib/qemu.c b/lib/qemu.c
index bdd9947a8..34775041f 100644
2011 Sep 30
13
[PATCH] tools/check: check for yajl (needed by libxl)
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1317367995 -3600
# Node ID 4b98868690218126b90620d9b43fdd4140145a43
# Parent e50da6b98e3d5933b9c98e8f43096fd3ebbae00d
tools/check: check for yajl (needed by libxl)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
(note to committer, ensure the new file is executable)
diff -r e50da6b98e3d -r
2015 Sep 07
5
[PATCH 0/4 v3] builder: support for Simple Streams metadata
Hi,
this series adds a basic support for Simple Streams v1.0 metadata
files. This makes it possible to create a repository .conf files with
[cirros]
uri=http://download.cirros-cloud.net
format=simplestreams
to read the latest version of each CirrOS image.
Thanks,
Pino Toscano (4):
builder: add non-int revisions
builder: add simple libyajl binding
build: expose HAVE_YAJL to automake
2018 Aug 17
0
[PATCH v3 1/4] mltools: Rename Yajl module as JSON_parser and move to common/mltools.
Commit bd1c5c9f4dcf38458099db8a0bf4659a07ef055d changed all the code
to use Jansson instead of yajl. However it didn't change the OCaml
API name (which was still Yajl).
This commit changes the module to a neutral name ("JSON_parser") and
moves it into common/mltools so it can be used by other tools.
This leaves us in a slightly awkward situation of having two JSON-ish
OCaml
2013 May 14
5
tools/libxl: fix compilation and link errors on NetBSD
commit cad172d7b88bd443c81d865051297875ce2551bc
Author: Christoph Egger <chegger@amazon.de>
Date: Thu Feb 7 14:42:29 2013 +0000
tools/libxl: fix compilation and link errors on NetBSD
- Fix testidl link error that libyajl is not found
- Make linking of xl and testidl consistent
- fix error: array subscript has type ''char''
Signed-off-by:
2013 Jan 17
5
A few patches needed for libguestfs 1.20+ on current Debian systems
Here's what I needed to build and run 1.20 on Debian/unstable.
Perhaps the libcap2 dependency in the packagelist should only be added
if libcap has actually been used in building guestfsd...
2015 Aug 12
4
[PATCH 0/2 v2] RFC: builder: support for Simple Streams metadata
Hi,
this series adds a basic support for Simple Streams v1.0 metadata
files. This makes it possible to create a repository .conf files with
[cirros]
uri=http://download.cirros-cloud.net
format=simplestreams
to read the latest version of each CirrOS image.
TODO items:
- check the pasted metadata: listing and creating images works,
so most of the current metadata is correct
- possibly wait
2018 Aug 17
8
[PATCH v3 4/4] v2v: Add --print-estimate option to print copy size
I rethought this again, as I think that it's a dangerous assumption to
bake qemu-img measure output into our API.
This patch series runs qemu-img measure behind the scenes, but then
parses the output and sums it to a single number which we print.
Doing that required a bit of reworking, moving the Jansson [JSON
parser] bindings from virt-builder into the common directory and
a couple of other
2018 Aug 20
6
[PATCH 0/4] mltools: JSON unification
An evolution of:
https://www.redhat.com/archives/libguestfs/2018-August/msg00155.html