[docs] Add bison and flex requirement to installation docs
This commit is contained in:
parent
d0bfe193ee
commit
ab81de9f7b
22
INSTALL.md
22
INSTALL.md
|
@ -1,6 +1,9 @@
|
||||||
# Installation instructions for OwnTone
|
# Installation instructions for OwnTone
|
||||||
|
|
||||||
This document contains instructions for installing OwnTone from the git tree.
|
This document contains instructions for installing OwnTone from the git tree. If
|
||||||
|
you just want to install from a release tarball, you don't need the build tools
|
||||||
|
(git, autotools, autoconf, automake, gawk, gperf, gettext, bison and flex), and
|
||||||
|
you can skip the autoreconf step.
|
||||||
|
|
||||||
The source for this version of OwnTone can be found here:
|
The source for this version of OwnTone can be found here:
|
||||||
[owntone/owntone-server](https://github.com/owntone/owntone-server.git)
|
[owntone/owntone-server](https://github.com/owntone/owntone-server.git)
|
||||||
|
@ -19,11 +22,11 @@ libraries:
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install \
|
sudo apt-get install \
|
||||||
build-essential git autotools-dev autoconf automake libtool gettext gawk \
|
build-essential git autotools-dev autoconf automake libtool gettext gawk \
|
||||||
gperf libconfuse-dev libunistring-dev libsqlite3-dev libprotobuf-c-dev \
|
gperf bison flex libconfuse-dev libunistring-dev libsqlite3-dev \
|
||||||
libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \
|
libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev \
|
||||||
libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev \
|
libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev \
|
||||||
libevent-dev libplist-dev libsodium-dev libjson-c-dev libwebsockets-dev \
|
libevent-dev libplist-dev libsodium-dev libjson-c-dev libwebsockets-dev \
|
||||||
libcurl4-openssl-dev
|
libcurl4-openssl-dev libprotobuf-c-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that OwnTone will also work with other versions and flavours of
|
Note that OwnTone will also work with other versions and flavours of
|
||||||
|
@ -79,7 +82,7 @@ will need ffmpeg. You can google how to do that. Then run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yum install \
|
sudo yum install \
|
||||||
git automake autoconf gettext-devel gperf gawk libtool \
|
git automake autoconf gettext-devel gperf gawk libtool bison flex \
|
||||||
sqlite-devel libconfuse-devel libunistring-devel mxml-devel libevent-devel \
|
sqlite-devel libconfuse-devel libunistring-devel mxml-devel libevent-devel \
|
||||||
avahi-devel libgcrypt-devel zlib-devel alsa-lib-devel ffmpeg-devel \
|
avahi-devel libgcrypt-devel zlib-devel alsa-lib-devel ffmpeg-devel \
|
||||||
libplist-devel libsodium-devel json-c-devel libwebsockets-devel \
|
libplist-devel libsodium-devel json-c-devel libwebsockets-devel \
|
||||||
|
@ -140,16 +143,9 @@ build) ports... you'll want a decent network connection and some patience!
|
||||||
Install macports (which requires Xcode):
|
Install macports (which requires Xcode):
|
||||||
https://www.macports.org/install.php
|
https://www.macports.org/install.php
|
||||||
|
|
||||||
Install Apple's Java (this enables java command on OSX 10.7+):
|
|
||||||
https://support.apple.com/kb/DL1572?locale=en_US
|
|
||||||
|
|
||||||
Afterwards, you can optionally install Oracle's newer version, and then
|
|
||||||
choose it using the Java pref in the System Preferences:
|
|
||||||
http://www.oracle.com/technetwork/java/javase/downloads/index.html
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo port install \
|
sudo port install \
|
||||||
autoconf automake libtool pkgconfig git gperf libgcrypt \
|
autoconf automake libtool pkgconfig git gperf bison flex libgcrypt \
|
||||||
libunistring libconfuse ffmpeg libevent json-c libwebsockets curl \
|
libunistring libconfuse ffmpeg libevent json-c libwebsockets curl \
|
||||||
libplist libsodium protobuf-c
|
libplist libsodium protobuf-c
|
||||||
```
|
```
|
||||||
|
@ -228,6 +224,8 @@ Required tools:
|
||||||
- gettext: libunistring requires iconv and gettext provides the autotools
|
- gettext: libunistring requires iconv and gettext provides the autotools
|
||||||
macro definitions for iconv.
|
macro definitions for iconv.
|
||||||
- gperf
|
- gperf
|
||||||
|
- bison 3.0+ (yacc is not sufficient)
|
||||||
|
- flex (lex is not sufficient)
|
||||||
|
|
||||||
Libraries:
|
Libraries:
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Group: Applications/Multimedia
|
||||||
Url: https://github.com/owntone/owntone-server
|
Url: https://github.com/owntone/owntone-server
|
||||||
Source0: https://github.com/owntone/%{name}/archive/%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/owntone/%{name}/archive/%{version}/%{name}-%{version}.tar.xz
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
BuildRequires: gcc, make, systemd, pkgconfig, libunistring-devel
|
BuildRequires: gcc, make, bison, flex, systemd, pkgconfig, libunistring-devel
|
||||||
BuildRequires: pkgconfig(zlib), pkgconfig(libconfuse), pkgconfig(mxml)
|
BuildRequires: pkgconfig(zlib), pkgconfig(libconfuse), pkgconfig(mxml)
|
||||||
BuildRequires: pkgconfig(sqlite3) >= 3.5.0, pkgconfig(libevent) >= 2.0.0
|
BuildRequires: pkgconfig(sqlite3) >= 3.5.0, pkgconfig(libevent) >= 2.0.0
|
||||||
BuildRequires: pkgconfig(json-c), libgcrypt-devel >= 1.2.0
|
BuildRequires: pkgconfig(json-c), libgcrypt-devel >= 1.2.0
|
||||||
|
@ -109,8 +109,9 @@ exit 0
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 10 2022 Espen Jürgensen <espen.jurgensen@gmail.com> - 28.3-1
|
* Mon Jan 17 2022 Espen Jürgensen <espen.jurgensen@gmail.com> - 28.3-1
|
||||||
- Remove antlr dependency
|
- Remove antlr dependency
|
||||||
|
- Add bison/flex dependency
|
||||||
|
|
||||||
* Mon Nov 22 2021 Derek Atkins <derek@ihtfp.com> - 28.2-1
|
* Mon Nov 22 2021 Derek Atkins <derek@ihtfp.com> - 28.2-1
|
||||||
- Release tarball is a XZ not GZ file
|
- Release tarball is a XZ not GZ file
|
||||||
|
|
|
@ -12,7 +12,7 @@ fi
|
||||||
DEPS="gmake autoconf automake libtool gettext gperf glib pkgconf wget git \
|
DEPS="gmake autoconf automake libtool gettext gperf glib pkgconf wget git \
|
||||||
ffmpeg libconfuse libevent mxml libgcrypt libunistring libiconv curl \
|
ffmpeg libconfuse libevent mxml libgcrypt libunistring libiconv curl \
|
||||||
libplist libinotify avahi sqlite3 alsa-lib libsodium json-c libwebsockets
|
libplist libinotify avahi sqlite3 alsa-lib libsodium json-c libwebsockets
|
||||||
protobuf-c"
|
protobuf-c bison flex"
|
||||||
echo "The script can install the following dependency packages for you:"
|
echo "The script can install the following dependency packages for you:"
|
||||||
echo $DEPS
|
echo $DEPS
|
||||||
read -p "Should the script install these packages? [y/N] " yn
|
read -p "Should the script install these packages? [y/N] " yn
|
||||||
|
|
Loading…
Reference in New Issue