Skip to content

Build on CentOS 7.x

matt335672 edited this page Nov 19, 2021 · 2 revisions

7.5 or later requires this build procedure

Prerequisites

Some build tools and package development tools are required. Make sure install the tools.

yum groupinstall "Development Tools"
yum install rpmdevtools yum-utils
rpmdev-setuptree

Prepare & build

Install pulseaudio and requisite packages to build pulseaudio.

sudo yum install pulseaudio pulseaudio-libs pulseaudio-libs-devel
sudo yum-builddep pulseaudio

Fetch the pulseaudio source and extract. You'll see `~/rpmbuild/BUILD/

yumdownloader --source pulseaudio
rpm --install pulseaudio*.src.rpm

Build the pulseaudio source. In this phase, pulseaudio is not necessarily needed to be built but configured however there's no way to do only configure.

rpmbuild -bb --noclean ~/rpmbuild/SPECS/pulseaudio.spec

Finally, let's build xrdp source / sink modules. You'll have two .so files module-xrdp-sink.so and module-xrdp-source.so.

git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git
cd pulseaudio-module-xrdp
./bootstrap && ./configure PULSE_DIR=~/rpmbuild/BUILD/pulseaudio-10.0
make

Installation

See the README for installation instructions.

Clone this wiki locally