Friday, July 13, 2018

Dependencies: Building the rest of the lot

Ardour 5.12 has lot of opensource library dependencies.  Many of them are available already built in the Alpine Linux armv7 repository, and the rest have to be built from source.  This is not trivial.  I was able to install 58 tools and libraries with the get_alpine_deps.sh script found on my audiopi gitlab repository.

The other 23 need to be configured and compiled from source.  See ardour_dep_urls.txt.

The gory details of waf, perl, configure etc are not of tremendous interest except where the default process needs a nudge.   I'll document what I did for the following to make them compile and install on Alpine Linux.  I'm using 

./configure --prefix=/usr/local
 ./waf configure --prefix=/usr/local
 perl Makefile.PL PREFIX=/usr/local
  • ExtUtils-MakeMaker-6.64: needed perl-dev installed.  Updated get_alpine_deps.sh.  make test needed fakethr.h, sudo touch /usr/lib/perl5/core_perl/CORE/fakethr.h; same for sudo touch /usr/lib/perl5/core_perl/CORE/perlsfio.h
  • LRDF-0.5.1-rg
  • XML-Parser-2.41
  • XML-Simple-2.22: needed perl-xml-namespacesupport and perl-xml-sax, perl-xml-sax-base installed.  Updated get_alpine_deps.sh
  • aubio-0.3.2
  • gtk-doc-1.21: needed docbook-xsl installed, Updated get_alpine_deps.sh
  • gtk-engines-2.21.0
  • jpeg-9a
  • libart_lgpl-2.3.21
  • libiconv-1.14: edited srclib/stdio.h to comment out _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
  • liblo-0.28
  • lilv-0.24.3: needs lv2, serd, sord installed
  • lv2-1.14.0: install before lilv
  • nss-3.25: export NSPR_INCLUDE_DIR=/usr/local/include/nspr for nss after installing nspr
  • nss-pem-1.0.2
  • rdflib-4.1.2: sudo python setup.py install
  • rubberband-1.8.1: needs vamp sdk installed, needs ladspa-dev installed.  Updated get_alpine_deps.sh
  • serd-0.29.2: install before lilv
  • sord-0.16.1: install before lilv
  • sratom-0.6.0: install before lilv
  • suil-0.10.0
  • vamp-plugin-sdk-2.5: install before rubberband

No comments:

Post a Comment