#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 12. System Utilities

- Prev

  pm-utils-1.4.1

- Next

  Rasqal-0.9.33

- Up
- Home

# Raptor-2.0.15

## Introduction to Raptor

Raptor is a C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples.

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

### Package Information

- Download (HTTP): https://download.librdf.org/source/raptor2-2.0.15.tar.gz

- Download MD5 sum: a39f6c07ddb20d7dd2ff1f95fa21e2cd

- Download size: 1.9 MB

- Estimated disk space required: 28 MB (additional 1 MB for the tests)

- Estimated build time: 0.2 SBU (additional 0.5 SBU for the tests)

### Additional Downloads

- Required patch: https://www.linuxfromscratch.org/patches/blfs/11.1/raptor-2.0.15-security_fixes-1.patch

### Raptor Dependencies

#### Required

cURL-7.81.0 and libxslt-1.1.35

#### Optional

GTK-Doc-1.33.2, ICU-70.1 and libyajl

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/raptor

## Installation of Raptor

First, apply a patch that fixes a couple of security issues:

    patch -Np1 -i ../raptor-2.0.15-security_fixes-1.patch

Install Raptor by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check. Several of the XML tests may fail.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--with-icu-config=/usr/bin/icu-config`: Use this switch if you have installed ICU-70.1 and wish to build Raptor with its support.

## Contents

Installed Programs: rapper
Installed Libraries: libraptor2.so
Installed Directories: /usr/include/raptor2 and /usr/share/gtk-doc/html/raptor2

### Short Descriptions

rapper | is a RDF parsing and serializing utility
`libraptor2.so` | contains the Raptor API functions

Last updated on

- Prev

  pm-utils-1.4.1

- Next

  Rasqal-0.9.33

- Up
- Home