You are not logged in.

#1 2013-05-01 11:59:26

ubunchu
Member
Registered: 2012-05-01
Posts: 181

[SOLVED] yaourt musescore -build error

EDIT: Solution at the end.

Hello, I was trying to build musescore, when I got:

Qt lib found at /usr/lib64
CMake Error at CMakeLists.txt:161 (message):
  Fatal error: ALSA >= 1.0.0 required


-- Configuring incomplete, errors occurred!

This happened on every machine I tried. I have alsa-utils installed.
Any hints?

Thanks in advance.

Last edited by ubunchu (2013-05-01 14:49:50)


Don't forget to mark as [SOLVED].

Offline

#2 2013-05-01 12:09:50

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: [SOLVED] yaourt musescore -build error

As always, when an error arises with yaourt, try building it manually with makepkg, and see if the same error arises. If it succeeds, then the problem was yaourt. If it fails, makepkg may reveal more helpful error output.

All the best,

-HG

Offline

#3 2013-05-01 12:20:42

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,401
Website

Re: [SOLVED] yaourt musescore -build error

Builds fine in a clean chroot.

Last edited by WorMzy (2013-05-01 12:30:41)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2013-05-01 12:27:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,081

Re: [SOLVED] yaourt musescore -build error

% pkgfile alsa.pc
extra/alsa-lib
multilib/lib32-alsa-lib

Something wrong with your alsa-lib package?

Offline

#5 2013-05-01 12:51:46

ubunchu
Member
Registered: 2012-05-01
Posts: 181

Re: [SOLVED] yaourt musescore -build error

I tried to build from source, same error. I reinstalled the alsa packages, no change, same problem.

EDIT: Same with makepkg -s.

Last edited by ubunchu (2013-05-01 13:08:59)


Don't forget to mark as [SOLVED].

Offline

#6 2013-05-01 14:48:02

ubunchu
Member
Registered: 2012-05-01
Posts: 181

Re: [SOLVED] yaourt musescore -build error

UPDATE: Weird...
Computer 1, 32bit, build failed because of the reason mentioned before.
Computer 2, 64bit, build failed because of the same thing.
Computer 2, 32bit, success.

Computer 1 -32bit, and Computer 2 -64bit, have these things in common: both have alsa-lib installed.
Computer 2 -32bit does not have alsa-lib, this has pulseaudio (which ironically does not work atm).

This is from the build:

-- The C compiler identification is GNU 4.8.0
-- The CXX compiler identification is GNU 4.8.0
-- 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/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1") 
found Doxygen
-- configured /tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/mscore/Doxyfile.in --> /tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/build/Doxyfile
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.4", minimum required is "4.6") 
Qt lib found at /usr/lib
Alsa detected.
-- jack (jack audio connection kit) >= 0.98.0 found
portaudio detected /usr/include /usr/lib -lportaudio -lasound -lm -lpthread
-- CMAKE_CXX_COMPILER_ID:GNU
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/build
make[1]: Entering directory `/tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/build'
make[2]: Entering directory `/tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/build'
make[3]: Entering directory `/tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/build'
make[4]: Entering directory `/tmp/yaourt-tmp-ubunchu/aur-musescore/src/mscore-1.3/build'

Solved.
In case someone needs it asap, here you go: http://www.mediafire.com/?sh88807ja4ghtbu
(works properly on 32-bit machines, did not try on 64)
Cheers!

Thinking: maybe the build failed because of sound permissions, though I'm not sure, since I tried as root as well.

Last edited by ubunchu (2013-05-01 14:50:17)


Don't forget to mark as [SOLVED].

Offline

Board footer

Powered by FluxBB