1.3 alongside 2.0
Sorry if it is asked before but I can not find any quotation on that.
I want to install 2.0 Beta alongside 1.3. I'm using Ubuntu 14.04 LTS with all the latest upgrades.
In the standard text of Musescore it says:
"You can keep your existing MuseScore 1.3 (or earlier) installation with no fear of them interfering with each other."
However, when I want to install it it (sudo dpkg -i musescore...) I get:
dpkg: dependency problems prevent configuration of musescore:
musescore depends on libqt5core5a (>= 5.3.0); however:
Version of libqt5core5a:amd64 on system is 5.2.1+dfsg-1ubuntu14.2.
musescore depends on libqt5gui5 (>= 5.3.0); however:
Version of libqt5gui5:amd64 on system is 5.2.1+dfsg-1ubuntu14.2.
musescore depends on libqt5webkit5 (>= 5.2.0); however:
Version of libqt5webkit5:amd64 on system is 5.1.1-1ubuntu8.
musescore depends on libstdc++6 (>= 4.9); however:
Version of libstdc++6:amd64 on system is 4.8.2-19ubuntu1.
musescore depends on qtbase-abi-5-3-1; however:
Package qtbase-abi-5-3-1 is not installed.
I have installed qt-5.3.2.
2 Next error set is:
,dpkg: error processing package musescore (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
If I then do - as said in the instructions - "sudo apt-get -f install"
Then I get:
The following packages were automatically installed and are no longer required:
musescore-common musescore-soundfont-gm
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
musescore
0 upgraded, 0 newly installed, 1 to remove and 13 not upgraded.
1 not fully installed or removed.
.Can anybody please explain the discrepancy between the remark in the musescore text and these conflicting texts when I try to install and why the qt5.2 libraries are not seen?
I know that part is linux related but I hope the technically better informed can explain this and point to the solution.
Thanks in advance,
Joep
Comments
Have you read (my contribution in) http://musescore.org/fr/node/38381 ?
In reply to Have you read (my by robert leleu
Robert,
Sorry for the delay (x-mas time is busy!) and although I understand and speak french reasonably well, Iǘe some problems with the technical terms. However, I've read it and it principally says that the script in the nightly build expect the Qt-library at a different spot then mine. I've it installed from the Qt site. However, in the README it states:
"The default top-level installation directory is the directory "Qt" in
your home directory, but you can specify another directory (). On
Windows, however, the default top-level installation directory is "C:\Qt\Qt"."
I've manually installed the Qt-library and it installed itself in /opt. The directory "plugins" is in:
/opt/Qt/5.3/gcc_64/.
It clearly is rather inconsistent in the location of the toplevel directory. I assume that's the main reason the nightly build will not install.
Maybe you can give me directions where the nightly build expect the Qt-Library.
The 5.2 libraries are in /usr/lib/x86_64-linux-gnu/.
And I want to be sure that I can run mscore 2.0-Beta next to mscore 1.3.
Thanks in advance for your answer
amd merry Christmas,
Joep
In reply to Robert, Sorry for the delay by J.L. Blom
I was running ubuntu 12.04 (xfce desktop) on a PC
I installed 1.2 and then 1.3 via the straightforward download route.
I installed Qt4.
I then wanted to try the Nightlies and 2.0 beta so installed Qt5 by going to the Qt website, downloading the source code and building Qt5.
Then some of the Nightlies needed newer C libraries and so I bit the bullet and upgraded to ubuntu 14.04. Since I did an upgrade in situ (despite the arguments in favour of always doing a clean install) Qt5 remained installed where it was and the newer C libraries were installed in the default ubuntu locations. 1.3 remained functional and 2.0 beta was installed no bother.
Now to run the Nightlies I do the following:
Download the Nightly to my "Downloads" folder.
Expand the downloaded file to get mscore.
Copy mscore to /usr/local/bin and make the file executable (If you've got a previous working version of mscore you might want to rename it first).
I then have a script - called Nmscore and also located in /usr/local/bin- to launch mscore and the script contains the Paths to the Qt5 files:
#!/bin/bash
#Nmscore
export QT_PLUGIN_PATH=/home/*username*/Qt5.3.2/5.3/gcc_64/plugins/
export LD_LIBRARY_PATH=/home/*username*/Qt5.3.2/5.3/gcc_64/lib/
cd /usr/local/bin
./mscore
Note that this is where I built Qt in the first place. Substitute with your correct pathways.
Both 1.3 and the Nightlies (or the betas) can run at the same time. Nighlties won't run at the same time as the betas, though, since your system sees them as essentially the same program. MuseSCore files will also only launch with one of the programs (typically the beta stamps its authority here). I have them all on a selectable button on my sidebar.
The only oddity I've noted since upgrading to ubuntu 14.04 and using the betas and Nightlies is that I can't use the [AltGr] key to compose accented characters in 1.3. I can use it in 2.0.0, I can use it in other ubuntu programs (like gedit), it just doesn't work in 1.3 any more. Maybe it never did work in 1.3 (since the last I used it might have been 1.1 or 1.2). Moot point anyway, now, as all is well with the newer builds.
In reply to Robert, Sorry for the delay by J.L. Blom
Sorry for the french, I just didn't notice..... also «se vi pliŝatas Esperanton, mi povus»
So back to globish.
I confirm that I do run 1.3 next to the last nightly.
I think that the 5.2 libraries are not related to 2.0-Beta
How did you get your mscore 2.0-Beta ? compiled by vou ? downloaded ? from where downloaded ?
In which directory is your mscore 2.0-Beta in your computer ?
I don't think there is any hard-coined path in the binaries I upload.
The two keys to the success, on my computer were
/home/leleu/.kde/env/path.sh
a one line script launched at start as stated by the configuration tool, which reads
#!/bin/sh
export PATH=/home/leleu/Qt5/5.3/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
and /home/leleu/musescore/lancemscore a launchscript which reads
#!/bin/bash
#lancemscore
export QT_PLUGIN_PATH=/home/leleu/Qt5/5.3/gcc_64/plugins/
export LD_LIBRARY_PATH=/home/leleu/Qt5/5.3/gcc_64/lib/
cd /home/leleu/musescore/MuseScore/build.release/mscore/
./mscore
Yet I know where is your Qt . if you let mi know where is your «2.0» mscore I try to write these 2 files adapted to your case.
Ĝojan Kristnaskon !
In reply to Sorry for the french, I just by robert leleu
Robert,
I have tried your suggestions. The first time I had your script and the nightly moved to /usr/local/bin (as was in the reply by underquark but that was nearly disastrous as it made my system unstable and remove musescore 1.3 (but it installed 2.0 Beta that didn't run) but that was easy to repair as mscore 2.0 was suddenly listed as installed in Synaptic and I could remove it, reinstall mscore (from the ubuntu repository) and all was well after a restart.
The second time I followed your example to set both nightly and script under the home-directory. As my QT is installed under /opt I changed my path to:
"export PATH=/opt/Qt/5.3/gcc_64/bin:$PATH", equalling your example.
Now nothing disastrous happened but it did't install either as it gave toe following errors:
"./Downloads/mscore/mscore-load
./mscore: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./mscore)
./mscore: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./mscore)".
Now I don't know which libraries are meant as I don't know what "CXX" but apparently some libraries are not where they are expected. Maybe you can shed some light on this problem. I'm still determined to get musescore 2.0 up and running as the more I work with musescore the more I begin to like it and more than happy not to revert to Finale. Although I have to as I have ~100 scores in .MUS format that must be exported in musicxml format before I can use it in musescore which is a rather long and tedious work, I can tell you!!.
Thanks in advance,
Joep
In reply to Robert, I have tried your by J.L. Blom
Synaptic shows that
libstdc++6 4.9.2-0ubuntu1~14.04
is installed on my computer
there is a
libstdc++.so.6.0.20 in /usr/lib/x86_64-linux-gnu
it weighs 988.1 KB
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html "explains" the CXX.... not for me
could you attach your launch script ?
In reply to Robert, I have tried your by J.L. Blom
Apologies. I think I "tidied" the script up too much when I posted my reply. ./mscore could have unpredictable results if there is more than one of them with the same name but ./mscore_N1 or if the 1.3 executable is named mscore_13 or whatever should be OK.
In reply to Apologies. I think I "tidied" by underquark
Robert,
Thanks. I renamed the mscore to mscore-2.0.
I set the content of my current mscore-load here:
_______________________________________________
#!/bin/bash
#mscore
export QT_PLUGIN_PATH=/opt/Qt/5.3/gcc_64/plugins/
export LD_LIBRARY_PATH=/opt/Qt/5.3/gcc_64/lib/
cd /home/joep/Downloads/mscore/
./mscore-2.0
_________________________________________________
With this script I got again the results I previously mentioned.
My libstdc++ is "libstdc++6 4.8.2-19ubuntu1 installed on my 14.04 ubuntu but it doesn't says 14.04 in synaptic.
I have a "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19" so I think the libraries in my system are not what is expected by the package.
So how now?
Joep
In reply to Robert, Thanks. I renamed the by J.L. Blom
Trying to find some clue I went on a previously visited link http://ubuntuhandbook.org/index.php/2013/08/install-gcc-4-8-via-ppa-in-…
perhaps I used it at some point
so I checked again, in a terminal
leleu@leleu-portable:~ > gcc --version
gcc (Ubuntu 4.9.2-0ubuntu1~14.04) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
which is confirmed by gcc-4./ in synaptic
What is the situation for you ?
In reply to Trying to find some clue I by robert leleu
Well, I think there is a difference. With me:
joep@laguna:~$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
But in synaptic I see installed:
gcc-4.8-base 4.8.2-19ubuntu1
AND
gcc-4.9-base 4.9.1-0ubuntu1
also gcc-4.4-base an gcc-4.6-base are (still?) installed just as
gcc-4.8-base:i386; gcc-4.9-base:i386; libgcc-4.8-dev
Also other gcc-4.8 libraries are installed (a.o.gfortran and gcc fortran).
So it seems I have to get rid of the all gcc libraries and install gcc-4.9.2 but I don't know if the xubuntu 14.04 repositories allows me to install it.
Joep
In reply to Well, I think there is a by J.L. Blom
I found why I have my version of gcc
it comes from one of my ppas :
deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main
see https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
there you see that it delivers 2 varieties
gcc-4.9 4.9.2-0ubuntu1~14.04 Matthias Klose (2014-11-04)
gcc-4.9 4.9.2-0ubuntu1~12.04 Matthias Klose (2014-11-04)
Mine is the 14.04
more generally all my ppas are "trusty"
In reply to I found why I have my version by robert leleu
Robert,
I followed your advice and it worked!. I know have a working musescore 2.0 and it looks very good. It even has the "scroll" mode as it is called in Finale and "continuous" as it is called here.
I have to find out how everything works, e.g. I don't have sound yet as I don't have installed a soundfont (which was automatically installed in 1.3). But my biggest problem now is how to restart it. As I had it loaded via the script I assume the script installs the binary somewhere but I can not find it. It has made a few new directories in my local folder ./Documents: ./Documents/MuseScoreDevelopment
but there no binary is found. Do I have to start musescore 2.0 Beta everytime with the script?
I will look into the manual, maybe there something is found.
Thanks for the help,
Joep
In reply to Robert, I followed your by J.L. Blom
For the record, soundfonts *are* automatically installed in 2.0 as well, when using an actual installation procedure. It's only the jury-rigged procedure you are using for now that I guess is not including the soundfont. Or perhaps is simply not finding them - you might have bad soundfont path info leftover from a previous installation attempt. Try running "mscore -F" to be sure.
In reply to Robert, I followed your by J.L. Blom
Yes you have to start musescore each time with the script7 Of course you can use a menu entry or a dashboard launcher to start the script.
My soudfond path is
/usr/local/share/mscore-2.0/sound;/home/leleu/Documents/MuseScoreDevelopment/Soundfonts
in /usr/local/share/mscore-2.0/sound there are
FluidR3_GM2-2.sf3 FluidR3Mono_GM.sf3
in /home/leleu/Documents/MuseScoreDevelopment/Soundfonts there is nothing
To try the mscore -F option just modify your script. Since this option delete your preferences to Factory ones don't forget to suppress it for further use
Enjoy (Ĝojiĝu)
In reply to Yes you have to start by robert leleu
Well, thanks for the replies. Yes it is now running but I still don't have sound. I did all that was suggested. I started (1 time) with mscore (that I had renamed mscore-2.0) with the option -F no result. I used the locations given by robert for the soundfont directories, no effect. The only difference with robert's directories is that I don't have a directory /usr/local/share/mscore-2.0/sounds; I have the directory /usr/share/sounds/sf2 where the file TimGM6mb.sf2 resides.
I actually don't know which font version 1.3 is using as it is not indicated in preferences but gives sound all right.
I can often not reply directly as I have currently a lot of other things to do (although I'm retired!!).
Joep
In reply to Well, thanks for the replies. by J.L. Blom
I presume that 1.3 font is in /usr/share/sounds/sf2/
You could check if I/O preferences of 1.3 an nightly are the same
Mine is Pulseaudio for nightlies
and Portaudio Alsa for 1.3
Of course these choices are related to the general installation of the computer
I'm also an overburdened (french) retiree, presently in Berlin paying visit to my last grandchild and family in Berlin....so I have more free time
In reply to I presume that 1.3 font is in by robert leleu
Robert,
Thanks for your reply and I admire you to find the time to reply while visiting Berlin, moreover, you know that you're busier (or keep yourself busier!) when retired then in working life!!
I was just researching 2.0 further and found a few problems with a score I have made with 1.3.
1. I had my chords displayed on layer 4 with slash-notation, but in 2.0 the slash-notation is replaced with rests and the chords have disappeared.
2. Sound is very peculiar. When I turn the metronome on (new in 2.0) I hear the metronome but not the written score. I think that means that sound production is not the problem. I see that it works with pulseaudio and 1.3 has alsa marked and Jack and it plays over pulseaudio but since 2000 I have lost my understanding of sound in linux which in the early days was simple to understand as there were not layers over layers of subroutines to produce sound (what of course sometimes was rather bad!).
Maybe it is a incompatibility between 1.3 and 2.0 which must be corrected?
Maybe Marc can shed some light on this.
And of course to you and your family a very prosperous 2015,
Joep
In reply to Robert, Thanks for your reply by J.L. Blom
I hope you find athers to help about slash notation (I don't know what it means) and sound problems (I, just as you, doesn't master the multiple layer design of Linux)
Happy new year
In reply to Robert, Thanks for your reply by J.L. Blom
I'd suggest opening new threads for these specific issues, and include copies of the specific scores you are having problems with. I won't likely know anything about the playback issue, but will take a look at the problem with slash notation and chords in voice 4.