Hi Joachim,

thanks for your reply. I aimed at 2.0.x because it's the latest official on Ubuntu 17.04, and 
I've read about the requirement of Qt 5.8 which I don't have (5.7 on my laptop), and I could 
also exploit "apt-get build-dep musescore" which is normally the smoothest way for 
recompiling a pkg on Ubuntu & Debian-based distros.

Also, I forgot to mention: the final mscore executable (2.0.2 or .3), when launched, used 
to launch a "Loading..." dialog which wouldn't go away, until I killed it via 
Alt+F4 -- apart from that, the software seemed to work (except that, if I didn't kill 
that dialog,.

I'm compiling origin/2.2 right now:

1) Makefile is still overwritten by 'make' -- what's the rationale for doing 
that ?

2) first 'make' gives same errors

make[1]: Entering directory '/home/tommaso/mscore/build.release'
make[1]: *** No rule to make target 'manpages'. Stop.
make[1]: Leaving directory '/home/tommaso/mscore/build.release'
make[1]: Entering directory '/home/tommaso/mscore/build.release'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/tommaso/mscore/build.release'
Makefile:38: recipe for target 'release' failed
make: *** [release] Error 2

3) I have tons of

cc1plus: warning: /home/tommaso/mscore/all.h.gch: not used because 
`__STRICT_ANSI__' not defined [-Winvalid-pch]
(gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) )

4) plus, I've just got a problem with linking, so trying to clean again the 
sources (apart from 'make clean', is there another way to clean-up more?), but 
'make' would refuse again, until I made a 'git checkout Makefile'

About 3) above, 'make' seems really wasting plenty of time on these .gch not 
used, seems not making progress, stuck at [1%], but now it claims

[  1%] Built target mscore

5) I launch ./mscore/mscore, the program starts, but I have the same Loading 
dialog with an empty progress bar that doesn't mark any progress, and I have to 
kill that window with Alt+F4 again.

So, at a glance, 2.2 shares similar compilation pains as with 2.0.x.

Thanks,

        T.

Hi Thomaso

Trying to build 2.0.2??? What not the latest official release 2.1, or even
2.2?

Some of the issues you mention might even have been fixed

6) The qm files require a 'make lrelease'

Bye, Jojo

On 18/08/2017 12:56, Tommaso Cucinotta wrote:
Hi all,

quite a few years I wasn't compiling MuseScore, but doing again so in
these days brought me a number of unexpected surprises. I'm compiling
from the git repo, following instructions at:

https://musescore.org/en/developers-handbook/compilation/compile-instructions-ubuntu-14.10-git

 Here we go (I checked out the v2.0.2 branch):

1) Makefile belonging to the git repo that overwrites itself during
make ? this is calling for troubles; due to missing dependencies I've
got that 'make' failing several times, but typing 'make' again
doesn't keep going from where it left off -- rather, it just hangs
into the unfruitful attempt to build a all.h.gch file which doesn't
succeed; installing missing dependencies and re-typing 'make' does
not re-configure, but insists in building all.h.gch :( -- the only
way out is to restore the original Makefile from the git via 'git
checkout Makefile', and, the bad news, is that I needed this step
quite a number of times before succeeding in compiling MuseScore

2) typing 'make' doesn't always do the same thing: the first time it
builds (and overwrites) Makefile(s) (well, it tries to, unless it
fails), the subsequent times it actually performs the build; why
don't you stick to a simpler configure / make paradigm ?

3) the first 'make' invocation seems to fail with errors [1], but I
get no clues of what's wrong, and typing 'make' again compiles
MuseScore, so ?

4) PREFIX is not honored: it installs and spreads files always
throughout /usr/local/share/mscore-*, despite having used
PREFIX=/usr/local/mscore-git

5) there's no 'uninstall' target, contrarily to what stated at https://musescore.org/en/developers-handbook/compilation/compile-instructions-linux-bsd-git


how can I remove all the installed files from the file-system?

6) install fails on missing .qm files: sudo make
PREFIX=/usr/local/mscore-git SUFFIX=-git install ... CMake Error at
share/locale/cmake_install.cmake:36 (file): file INSTALL cannot find
"/home/tommaso/mscore/share/locale/mscore_ka.qm". Call Stack (most
recent call first): share/cmake_install.cmake:43 (include) cmake_install.cmake:53 (include)

Is there any known workaround to the above issues ?

Thanks,

T.

[1]

tommaso@laptom:~/mscore$ make PREFIX=/usr/local/mscore-git
SUFFIX=-git

if test ! -d build.release; then mkdir build.release; fi; \ cd
build.release;                          \ export
PATH=/home/tommaso/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/tommaso/omnetpp-4.2/bin:/home/tommaso/.rvm/bin:/usr/local/lyx-trunk/bin:/usr/local/lib/tlaps/bin;
\ cmake -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX="/usr/local/mscore-git" ..; \ make lrelease;
\ make manpages;                             \ make -j `grep -c
processor /proc/cpuinfo`;                           \

found Doxygen -- configured /home/tommaso/mscore/build/Doxyfile.in
--> /home/tommaso/mscore/Doxyfile -- Found pulseaudio:
/usr/lib/x86_64-linux-gnu/libpulse.so Alsa found. Pulseaudio found. -- Found lame: /usr/lib/x86_64-linux-gnu/libmp3lame.so LAME found. --
jack (jack audio connection kit) >= 0.98.0 found portaudio detected
/usr/include /usr/lib/x86_64-linux-gnu -lportaudio -lasound -lm
-lpthread -- Found gzip. Man pages will be compressed. -- precompiled
header generation -- Configuring done -- Generating done -- Build
files have been written to: /home/tommaso/mscore make[1]: Entering
directory '/home/tommaso/mscore/build.release' make[1]: *** No rule
to make target 'lrelease'. Stop. make[1]: Leaving directory
'/home/tommaso/mscore/build.release' make[1]: Entering directory
'/home/tommaso/mscore/build.release' make[1]: *** No rule to make
target 'manpages'. Stop. make[1]: Leaving directory
'/home/tommaso/mscore/build.release' make[1]: Entering directory
'/home/tommaso/mscore/build.release' make[1]: *** No targets
specified and no makefile found. Stop. make[1]: Leaving directory
'/home/tommaso/mscore/build.release' Makefile:38: recipe for target
'release' failed make: *** [release] Error 2



--
Tommaso Cucinotta
Home Page: http://retis.sssup.it/~tommaso
LinkedIn: http://www.linkedin.com/in/tommasocucinotta

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to