Thanks
back home....
I tried to create $LD_LIBRARY_PATH in Qt.conf, since there was no such
path in my config....did not succeeded
So I decided to create a new machine (virtual) with Mint17 64 and to
apply the official compile instructions.
The result is rather odd (see attachment): make wants Qt 4 this claim
is, I guess, trigged by a makefile prepared by the sources downloaded by
git ? However looking into the files including «Qt4» it seemed to me
that they all includes «redirection devices» to Qt5....
On 29/08/2014 10:31, ABL wrote:
Ok. Good and bad news.
The good news is that I can launch the binary build you uploaded.
Actually, when I first launched it, it was searching the libraries in
/usr/lib/x86_64-linux-gnu/ and I was receiving the same error you see when
you try to launch my build:
./mscore_robert_leleu: error while loading shared libraries:
libQt5XmlPatterns.so.5: cannot open shared object file: No such file or
directory
This was because it was finding Qt5 libraries in the system path (needed by
other applications?).
Therefore, I set the LD_LIBRARY_PATH to point to my Qt installation first:
export LD_LIBRARY_PATH=/home/antonio/Qt5.3.1/5.3/gcc_64/lib:$LD_LIBRARY_PATH
et voilà, everything worked fine.
So, the good news is that the build is Ok.
The bad news is that there could be something strange in your Qt
installation.
You can try to do this:
( 1- revert your qt.conf to its original state )
2- set your LD_LIBRARY_PATH before launching mscore, similarly to what I did
(i.e. put your Qt5 installation path at the beginning of LD_LIBRARY_PATH
Just to be sure, here is the content of my Qt plugin/platforms folder, with
the xcb platform library:
antonio@antonio-VirtualBox ~/Qt5.3.1/5.3/gcc_64/plugins/platforms $ ls
libqeglfs.so libqlinuxfb.so libqminimalegl.so libqminimal.so
libqoffscreen.so libqxcb.so
I don't think you need to update gcc to 4.9 as I did (I did it only to
enable the use of undefined-behavior sanitizer libubsan). You can optionally
update Qt to 5.3.1 (it is not required by mscore; you can use 5.3 libraries,
and if someone has Qt 5.3.1 library installed, these are loaded instead of
the 5.3 without problem).
Ciao,
ABL
--
View this message in context:
http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578940.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
leleu@leleu-VirtualBox:~ > git clone git://github.com/musescore/MuseScore.git
Clonage dans 'MuseScore'...
remote: Counting objects: 52480, done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 52480 (delta 101), reused 36 (delta 22)
Réception d'objets: 100% (52480/52480), 138.64 MiB | 388.00 KiB/s, done.
Résolution des deltas: 100% (42399/42399), done.
Vérification de la connectivité... fait.
leleu@leleu-VirtualBox:~ > cd MuseScore
leleu@leleu-VirtualBox:~/MuseScore > make revision
leleu@leleu-VirtualBox:~/MuseScore > make
if test ! -d build.release; then mkdir build.release; fi; \
cd build.release; \
export
PATH=/home/leleu/Qt5/5.3/gcc_64/bin:/home/leleu/Qt5.3.1/5.3.1/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games;
\
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=""/usr/local"" ..; \
make lrelease; \
make -j `grep -c processor /proc/cpuinfo`; \
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file
or directory
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1386 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
build/FindQt5Transitional.cmake:88 (find_package)
CMakeLists.txt:36 (include)
-- Configuring incomplete, errors occurred!
See also "/home/leleu/MuseScore/build.release/CMakeFiles/CMakeOutput.log".
make[1]: entrant dans le répertoire « /home/leleu/MuseScore/build.release »
make[1]: *** Pas de règle pour fabriquer la cible « lrelease ». Arrêt.
make[1]: quittant le répertoire « /home/leleu/MuseScore/build.release »
make[1]: entrant dans le répertoire « /home/leleu/MuseScore/build.release »
make[1]: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
make[1]: quittant le répertoire « /home/leleu/MuseScore/build.release »
make: *** [release] Erreur 2
leleu@leleu-VirtualBox:~/MuseScore >
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer