Compile 2.2.2 on Ubuntu 17.10

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Gert
Posts: 4
Joined: Mon Jan 15, 2018 1:08 pm
Operating System: OS X 10.9 Mavericks

Compile 2.2.2 on Ubuntu 17.10

Post by Gert » Mon Jan 15, 2018 1:15 pm

In order to compile 2.2.2 on a rather clean Ubuntu 17.10 I had to install the packages below in addition to the required stuff as described in the documentation on wiki.

There were no complaints during ./configure

libgtk2.0-dev
libexpat1-dev
zlib1g-dev

Gert
Posts: 4
Joined: Mon Jan 15, 2018 1:08 pm
Operating System: OS X 10.9 Mavericks

Compiling 2.2.2 on Ubuntu 17.10

Post by Gert » Mon Jan 15, 2018 1:27 pm

In order to run ./configure without complaints, I had to install the next packages in addition to the ones named in the documentation.

g++
autopoint
libtool
cmake

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compile 2.2.2 on Ubuntu 17.10

Post by steve » Mon Jan 15, 2018 7:31 pm

As indicated in the alert (red) paragraph at the top of the wiki page, that page is out of date.

The instructions included in the source code are kept up to date, but are aimed primarily at developers (who are expected to be able to sort out dependency issues): https://github.com/audacity/audacity/bl ... er/INSTALL

For the benefit of less experienced users, I periodically post step by step instructions here on the forum. The most recent such instructions are here: viewtopic.php?f=19&t=96525 (obviously I am not able to give detailed instructions for every version of Linux, so I generally focus on a recent release of Debian or Ubuntu).

If you would like to post step by step instructions for Audacity 2.2.2 on Ubuntu 17.10, I'm sure that will be useful for others.
Note that most of your missing dependencies would have been available if you had installed the "build-essential" package.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply