CentOS7 install audio editor Audacity

Source: Internet
Author: User
Tags wxwidgets
Audacity is an excellent open-source cross-platform audio editor. let's talk about how to compile and install it in CentOS. The installation starts from source code compilation. download the source code: Compile. This is basically./configuremakemakeinstall. The following describes how I met

AudacityIt is an excellent open-source cross-platform audio editor. let's talk about how to compile and install it in CentOS.

Installation started from source code compilation, Source Code Download: http://audacity.sourceforge.net/

Before installation, read readme.txt under the source code, which will introduce the compilation and installation steps.

It is./configure make install,

The following describes the problems I encountered during compilation:

Error 1. wxGTK-2.8.x dependency missing,./configure with the following error:

 

[Plain]View plaincopy
  1. Checking for wx-config.../usr/local/bin/wx-config
  2. Warning: No config found to match:/usr/local/bin/wx-config -- unicode = yes -- version
  3. In/usr/local/lib/wx/config
  4. If you require this configuration, please install the desired
  5. Library build. If this is part of an automatic configuration
  6. Test and no other errors occur, you may safely ignore it.
  7. You may use wx-config -- list to see all configs available in
  8. The default prefix.
  9. Configure: Checking that the chosen version of wxWidgets is 2.8.x
  10. Configure: error: Unable to locate a suitable configuration of wxWidgets v2.8.x or higher.
  11. The currently available configurations are listed below. If necessary, either
  12. Install the package for your distribution or download the latest version
  13. WxWidgets
  14. From http://wxwidgets.org.
  15. Default config is gtk2-ansi-release-2.8
  16. Default config will be used for output
  17. Also available in/usr/local:
  18. Gtk2-unicode-3.0
Solution:

 

Download wxgtk-2.8.x.gz http://www.wxwidgets.org/downloads/

Compile and install: refer to the wxGTK-2.8.x/docs/gtk/readme.txt under the source code to compile and install

 

[Plain]View plaincopy
  1. Mkdir build_gtk
  2. Cd build_gtk
  3. ../Configure # Here you need to add the -- enable-unicode option.
  4. Make
  5. Su
  6. Make install
  7. Ldconfig

 

Note that the check executed in the configure file of Audacity uses wx-config -- unicode = yes -- version. if you use the preceding compilation directly, the preceding problem still occurs. Therefore, you must add the -- enable-unicode option.

Error 2. libsndfile missing

Configure: error: Audacity requires libsndfile to be enabled
Libsndfile-devel and sudo yum install libsndfile-devel packages must be installed.

Error 3. if cmake is missing, install cmake. sudo yum install cmake

./Configure: line 13: cmake: command not found

Then make & make install.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.