# Build on ubuntu 19.10

**URL:** <https://in-thread.sonic-pi.net/t/build-on-ubuntu-19-10/3412>\
**Category:** Support, Help & Resources\
**Created:** [March 7, 2020, 11:50pm UTC](https://in-thread.sonic-pi.net/t/build-on-ubuntu-19-10/3412 "2020-03-07T23:50:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lozdown](https://avatars.discourse-cdn.com/v4/letter/l/b5e925/32.png) [@lozdown](https://in-thread.sonic-pi.net/u/lozdown)\
**Post date:** [March 7, 2020, 11:50pm UTC](https://in-thread.sonic-pi.net/t/build-on-ubuntu-19-10/3412/1 "2020-03-07T23:50:00Z")

</div>

Continuing the discussion from [Build under ubuntu 19.04 DISCO](http://in-thread.sonic-pi.net/t/build-under-ubuntu-19-04-disco/2488/22):

I am working on Ubuntu 19.10  
I am working my way through the spi build script posted by @mrvanes following the general path of the above discussion.  
I had to install bundler and cmake  
Also change (possibly inappropriately) line 153 from

> cp -f ruby\_help.tmpl ruby\_help.h

to

> cp -f utils/ruby\_help.tmpl ruby\_help.h

There do not seem to be any important errors en route until I reach the very last line ‘make’ which fails immediately

> Some of the required modules (macos) are not available.  
> Skipped

Could anyone guide me the way forward?  
Thanks for any help

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [March 8, 2020, 8:35am UTC](https://in-thread.sonic-pi.net/t/build-on-ubuntu-19-10/3412/2 "2020-03-08T08:35:22Z")

</div>

One thing Ihink the copy of utils/ruby\_help.tmpl line should be

`cp -f utils/ruby_help.tmpl utils/ruby_help.h`

both files should be in the utils folder. The command intialiases ruby\_help.h file which is then built by the i18n\_tool.rb script and the result is used in building the held docs by the `qt-docs.rb -o utils/ruby_help.h` command. Both of these are contained within the `unix-prebuild.sh` script.  
I did have a brief look at ubuntu 19.10 a couple of days ago and like you could the final stage of the build required some missing packages, but I havent tracked these down yet. By the way, the need for bundler is because of very recent changes in the script to build the sonic -pi vendor extensions. This has happened in commits AFTER the official release tag for version 2.3.0. If you use the latet image from github and don’t checkout -v3.2.0 then you will find this on other builds as well.

I left 19.10 at that point, and moved on to try a build on Debian 10.3 which ws successful.

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [March 15, 2020, 2:20pm UTC](https://in-thread.sonic-pi.net/t/build-on-ubuntu-19-10/3412/3 "2020-03-15T14:20:41Z")

</div>

I eventually got a build to work on Ubuntu 19.10 It was failing whilst doing the final compile of the help files qrc\_help\_files.cpp It turned out that the problem was a lack of memory. I had a virtual install with 4Gb allocated. I raised this to 8Gb and it built OK. It may be that changing swap file size would also do the job but I didn’t try that.
