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
-----Original Message-----
From: Tommaso Cucinotta [mailto:tommaso.cucino...@gmail.com] 
Sent: Friday, August 18, 2017 12:56 PM
To: mscore-developer@lists.sourceforge.net
Subject: [Mscore-developer] Compiling MuseScore on Linux (Ubuntu 17.04)

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-instruction
s-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-instruction
s-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:/sb
in:/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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
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
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to