rest-0.8.1

Introduction to rest

The rest package contains a library that was designed to make it easier to access web services that claim to be "RESTful". It includes convenience wrappers for libsoup and libxml to ease remote use of the RESTful API.

This package is known to build and work properly using an LFS-10.1 platform.

Package Information

rest Dependencies

Required

make-ca-1.7 and libsoup-2.72.0

Recommended

Optional

GTK-Doc-1.33.2 and LCOV

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/rest

Installation of rest

Install rest by running the following commands:

./configure --prefix=/usr \
    --with-ca-certificates=/etc/pki/tls/certs/ca-bundle.crt &&
make

To test the results, issue: make check. The flickr test will fail due to Public API changes on their site. The OAuth tests will fail because the website that it uses to test connectivity via OAuth no longer exists.

Now, as the root user:

make install

Command Explanations

--with-ca-certificates=/etc/pki/tls/certs/ca-bundle.crt: This switch sets the location of the BLFS certificate authority bundle.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Contents

Installed Programs: None
Installed Libraries: librest-0.7.so and librest-extras-0.7.so
Installed Directories: /usr/include/rest-0.7 and /usr/share/gtk-doc/html/rest-0.7

Short Descriptions

librest-0.7.so

contains the RESTful Web API Query functions

librest-extras-0.7.so

contains extra RESTful Web API Query functions

Last updated on 2021-02-23 00:41:44 -0600