[yoshimi] Re: Aw: Re: compilation errors/problems and possible solutions?

  • From: Lorenzo Sutton <lorenzofsutton@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Wed, 13 Dec 2017 09:41:12 +0100

On 12/12/17 20:12, Tony Travolta wrote:

Dear Will, thanks for the quick help, it worked out!  :)
After going through all the dev* packages in synaptic one by one, if I had installed them, many I had not, it worked.

Just as a general suggestion for debian-based (including Ubuntu) distributions... there is a very handy apt-get command which is build-dep [1][2] which pulls in all build dependencies for the package. So if (as I assume on 99% debian-based distros) yoshimi is already packaged you just do:

# apt-get build-dep yoshimi

And that should solve most of the dependency problems.

Do note that:
- In this case possibly unneeded ones will also be installed because I think Will has been working on actually removing old dependencies which aren't needed any more
- some optional dependencies may or may not be included depending on the packagers' choice so you might want to check the cmake output

Fedora has a similar dnf command which, unsurprisingly, is dnf builddep:

# dnf builddep yoshimi

Lorenzo.

[1] https://help.ubuntu.com/community/AptGet/Howto#Installation_commands
[2] https://wiki.debian.org/BuildingTutorial#Get_the_build_dependencies


Now typing yoshimi
--version gives**, wonderful, I can play with it now. No I never built yoshimi before, probably because of same reason, got error then stopped further trying. Except now I wrote an email to this list and you helped.
I wanted to test all the great stuff I was reading from time to time in this mailing list, your midi control stuff for example.
Best regards
Tony
*
7     dssi-dev
9     libcairo2-dev
10     libfftw3-dev
11     libfltk1.3-dev
12     libglu1-mesa-dev
13     libjack-jackd2-dev
14     libjpeg-dev         ? may no longer be needed
15     libmxml-dev
16     libncurses5-dev
17     libreadline-dev
18     libxft-dev
19     libxinerama-dev     ? may no longer be needed
20     libxml2-dev
22     xutils-dev
23     zlib1g-dev
26     lv2-dev with minimum version >= 1.0.0.
**
$ yoshimi --version
Yoshimi 1.5.5 is starting
Yoshimi 1.5.5
Build Number 1204
*Gesendet:* Dienstag, 12. Dezember 2017 um 18:43 Uhr
*Von:* "Will Godfrey" <willgodfrey@xxxxxxxxxxxxxxx>
*An:* yoshimi@xxxxxxxxxxxxx
*Betreff:* [yoshimi] Re: compilation errors/problems and possible solutions?
On Tue, 12 Dec 2017 17:17:46 +0100
"Tony Travolta" <dj.ton.e@xxxxxx> wrote:

>Hi, tried to install latest yoshimi in ubuntu 14.04 LTS, did not succeed*. Possible suggestions for the future:
 >-releasing additionally binary packages
 >-offering appimage releases
 >
>I would prefer the appimage way. Any comments? It is not fun if you want to experiment musically, then you have to deal with installation problems which has nothing to do with music.
 >
 >Best regards
 >Tony
 >
 >
 >* end of installation fun because:
 >CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367
 > (message):
 > A required package was not found
 > Call Stack (most recent call first):
 > /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532
 > (_pkg_check_modules_internal)
 > CMakeLists.txt:190 (pkg_check_modules)
 >
>Yoshimi source code is available from either: https://sourceforge.net/projects/yoshimi Or: https://github.com/Yoshimi/yoshimi Our list archive is at: https://www.freelists.org/archive/yoshimi To post, email to yoshimi@xxxxxxxxxxxxx


Odd, that seems to refer to mxml V 2.5 yet we've been using that for years.
Have you sucessfully built Yoshimi before? If not can you check the
dependencies list particulalrly looking out for ones with .dev

One problem with prebuilt binaries is that they tend to be to the lowest common
standard so not as efficient. Also they still need to ensure library packets are
installed. I've no idea how to do this myself, but have no problems with anyone
else looking at this.

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx
Yoshimi source code is available from either: https://sourceforge.net/projects/yoshimi Or: https://github.com/Yoshimi/yoshimi Our list archive is at: https://www.freelists.org/archive/yoshimi To post, email to yoshimi@xxxxxxxxxxxxx

Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: