[osx] make fails
hello,
getting 2 build command errors [mac osx 10.5.7]
Ld /Users/stephenohara/Documents/Development/JBi/mscore/build/mscore/mscore.build/Release/mscore.build/Objects-normal/i386/mscore normal i386
Ld /Users/stephenohara/Documents/Development/JBi/mscore/build/mscore/mscore.build/Release/mscore.build/Objects-normal/ppc/mscore normal ppc
any clues/help would be great
cheers steph
Comments
Your error reports is a little bit short ...
Are you compiling the trunk or a release?
Did you follow the instructions?
Are you sure macports have been installed? Can you dump the result of "port installed" in your next comment?
In reply to mac build by [DELETED] 5
here's a more detail....(followed instructions as per link compiling trunk)
Ports was installed....extra libs installed fine
The following ports are currently installed:
apr @1.2.12_1+darwin_9 (active)
apr-util @1.2.12_0 (active)
db44 @4.4.20_1 (active)
expat @2.0.1_0 (active)
flac @1.2.1_0+darwin_i386+universal (active)
gawk @3.1.6_0 (active)
gettext @0.17_3 (active)
gmake @3.81_0 (active)
libiconv @1.12_0 (active)
libogg @1.1.4_0+universal (active)
libsndfile @1.0.20_0+universal (active)
libvorbis @1.2.3_0+universal (active)
ncurses @5.6_0 (active)
ncursesw @5.6_1 (active)
neon @0.26.4_1 (active)
openssl @0.9.8g_0 (active)
pkgconfig @0.23_1 (active)
portaudio @19.20071207_1 (active)
python25 @2.5.2_1+darwin_9 (active)
readline @5.2.007_0+darwin_9 (active)
sqlite3 @3.5.7_0 (active)
subversion @1.4.6_0 (active)
zlib @1.2.3_1 (active)
cheers steph
In reply to Some more detail by soh_la
Here is mine.
flac @1.2.1_0+darwin_i386+universal (active)
gperf @3.0.4_0+universal (active)
libiconv @1.13_0+universal (active)
libogg @1.1.3_2+universal (active)
libsndfile @1.0.20_0+universal (active)
libvorbis @1.2.2_0+universal (active)
pkgconfig @0.23_1 (active)
portaudio @19.20071207_1 (active)
zlib @1.2.3_2+universal (active)
Your problem might come from iconv nd zlib not being universal.
In reply to port installed by [DELETED] 5
thanx for the clue....
updated ports and added universal libs and still same errors
perhaps there is a problem with setting up ports.
i'm adding to the config file (there are no default settings)
universal_target 10.4
universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk
but maybe this is not working or i am doing something wrong?
cheers
In reply to thanx for the by soh_la
the lines
do not exist in the 1.8.1 download of macports.conf [or macports.conf.defaults]
is it correct to simply add them? if so where?
does the bookpage for Mac OS X compile instructions need updating?
In reply to macports.conf settings by jrlowell
The handbook should be up to date. If you spot something, you can edit it or report here.
If
universal_target
anduniversal_sysroot
are not set, then you can add them I guess.Note that the build instructions are for Leopard and not SnowLeopard, so it may differ. I don't have the new version (yet), so if you manage to build on SL, let us know!
In reply to The handbook should be up to by [DELETED] 5
Per the below link, The universal_sysroot and universal_target keys have been removed from macports.conf. These settings are now handled automatically.
http://svn.macports.org/repository/macports/branches/release_1_8/base/C…
sorry for changing threads.........so current situation
i've tried a new build and at the end of it all i get :
The following build commands failed:
mscore:
Ld /Users/stephenohara/musescore/mscore/build/mscore/mscore.build/Release/mscore.build/Objects-normal/i386/mscore normal i386
Ld /Users/stephenohara/musescore/mscore/build/mscore/mscore.build/Release/mscore.build/Objects-normal/ppc/mscore normal ppc
(2 failures)
make: *** [release] Error 1
i have no idea what the issue is, can't find any reference to why these commands fail.... i do know that the files don't exist.
i've also tried a mscore build in xcode and came up with a bunch of errors all involving QUiLoader.
going through the build log in terminal i did notice this:
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not 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.
and wondered if this could be a problem.
cheers
steph
In reply to osx build failing by soh_la
If Qt was not found you couldn't compile I guess. ANd you don't have errors during the compile phase right?
If you installed Qt from the installer as stated in the instructions. You should not have a problem with Qt.
As far as I understand your only error is on linking step. That's why I ask you for you port list. Is the list similar to the one I send you?
In reply to If Qt was not found you by [DELETED] 5
yes, i think there is a problem with my qt install. i did install and even played around with the IDE. last time i looked at qt it was just an sdk! everything worked (qt example projects etc). but obviously not for this build
i'll have a look around and re-install qt. i'm concerned with the following..
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.3
-- Found OpenSSL: /usr/lib/libssl.dylib
Qt lib found at /Library/Frameworks
Qt QTUITOOLS library not found.
...looks like a few files didn't install.
as for ports my current list updated is
apr @1.2.12_1+darwin_9
apr @1.3.8_0 (active)
apr-util @1.2.12_0
apr-util @1.3.9_0 (active)
autoconf @2.64_2 (active)
automake @1.11_0 (active)
bzip2 @1.0.5_3+darwin (active)
cyrus-sasl2 @2.1.23_0+kerberos (active)
db44 @4.4.20_1 (active)
db46 @4.6.21_5 (active)
expat @2.0.1_0 (active)
flac @1.2.1_0+darwin_i386+universal (active)
fontconfig @2.7.3_0+macosx (active)
freetype @2.3.9_1+macosx (active)
gawk @3.1.6_0
gawk @3.1.7_0 (active)
gdbm @1.8.3_1 (active)
gettext @0.17_3
gettext @0.17_4 (active)
gmake @3.81_0 (active)
gperf @3.0.4_0+universal (active)
help2man @1.36.4_1 (active)
libiconv @1.12_0
libiconv @1.13_0+universal (active)
libogg @1.1.4_0+universal (active)
libsndfile @1.0.20_0+universal (active)
libtool @2.2.6a_0 (active)
libvorbis @1.2.3_0+universal (active)
m4 @1.4.13_0 (active)
ncurses @5.6_0
ncurses @5.7_0 (active)
ncursesw @5.6_1
ncursesw @5.7_0 (active)
neon @0.26.4_1
neon @0.28.6_0 (active)
openssl @0.9.8g_0
openssl @0.9.8k_0+darwin (active)
p5-locale-gettext @1.05_0 (active)
perl5 @5.8.9_0 (active)
perl5.8 @5.8.9_3 (active)
pkgconfig @0.23_1 (active)
portaudio @19.20071207_1 (active)
python25 @2.5.2_1+darwin_9
python25 @2.5.4_7+darwin_9+macosx (active)
readline @5.2.007_0+darwin_9
readline @6.0.000_2+darwin (active)
serf @0.3.0_0 (active)
sqlite3 @3.5.7_0
sqlite3 @3.6.18_0 (active)
subversion @1.4.6_0
subversion @1.6.5_0 (active)
tcl @8.5.7_0+darwin (active)
tk @8.5.7_0+darwin (active)
Xft2 @2.1.13_2 (active)
xorg-bigreqsproto @1.1.0_0 (active)
xorg-inputproto @2.0_0 (active)
xorg-kbproto @1.0.3_0 (active)
xorg-libX11 @1.3_0 (active)
xorg-libXau @1.0.5_0 (active)
xorg-libXdmcp @1.0.3_0 (active)
xorg-libXext @1.1_0 (active)
xorg-libXScrnSaver @1.2.0_0 (active)
xorg-renderproto @0.11_0 (active)
xorg-scrnsaverproto @1.2.0_0 (active)
xorg-util-macros @1.3.0_0 (active)
xorg-xcmiscproto @1.2.0_0 (active)
xorg-xextproto @7.1.1_0 (active)
xorg-xf86bigfontproto @1.2.0_0 (active)
xorg-xproto @7.0.16_0 (active)
xorg-xtrans @1.2.4_0 (active)
xrender @0.9.5_0 (active)
zlib @1.2.3_1
zlib @1.2.3_3+universal (active)
thanx again for helping out
cheers
In reply to yes, i think there is a by soh_la
I use 4.5.2. Maybe the mac package on 4.5.3 is different.
In reply to I use 4.5.2. Maybe the mac by [DELETED] 5
I uninstall Qt4.5.2 and install 4.5.3.
Here is the beginning of my build:
I wonder if your Qt install is ok. I just downloaded the SDK and follow the install instructions.
In reply to I uninstall Qt4.5.2 and by [DELETED] 5
Could you run "qmake -v" in a terminal
In reply to qmake -v by [DELETED] 5
i think i've found an issue with installation. the QTUITOOLS lib does not exist for me and has been an issue with some osx users, something to do with it being a static lib. doing a build of qt from the source may fix this up, i'm yet to make the time to do this. either way, i may be able to copy the lib and put it into the correct dir. bit of a hack though. as for qmake verison 2.01a.
stay tuned....
Attempting to build on Macbook Pro running OSX 10.6.2
make returns the following error messages:
. . .
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Doxygen not found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not 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 Qt-Version 4.6.0 (using /usr/bin/qmake)
Qt lib found at /Library/Frameworks
Qt QTUITOOLS library not found.
. . .
any thoughts?
In reply to Snow Leopard (10.6.2) build fails by jrlowell
Qt installation is atypic ? You download the dmg file for the SDK ?
In reply to Snow Leopard (10.6.2) build fails by jrlowell
For what it is worth, I have always had some similar warnings (on Windows XP) but it continues to build successfully (see below). Do you get any actual errors that stop the build?
In reply to For what it is worth, I have by David Bolton
Thanks ... on further examination I discovered that the file "musescore/mscore/mscore/CmakeLists.txt" has an explcit reference to the Mac SDK:
I am running Snow Leopard (10.6.2) with Xcode 3.2.1 & Mac SDK 10.6
So I changed the above line to :
The build then proceeded to run, however I got the error messages shown in the attached pdf:
(http://www.musescore.org/sites/musescore.org/files/snowleopard_buildfai…)
looks like the referenced files in the "awl..Objects-normal" directory do NOT have the "moc" prefix ????
In reply to build fails by jrlowell
The reference to SDK 10.4 is in for backward compatibilty with 10.4 on 10.5 (the platform I'm building on for the releases).
This SDK is not present for you?
Regarding the errors do you have any more details? Building in XCode might help to have a more detailed report.
In reply to The reference to SDK 10.4 is by [DELETED] 5
10.4u is not present on my system. Apparently the Snow Leopard upgrade dropped it.
Many error lines in build, including:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."
/Library/Frameworks/QtGui.framework/Headers/qregion.h:160: error: ‘toQDRgn’ was not declared in this scope
make[1]: *** [/Users/jrlowell/musescore/mscore/build/all.h.pch] Error 1
and a series of these -- one for each of the AWL files
CompileC /Users/jrlowell/musescore/mscore/build/awl/mscore.build/Release/awl.build/Objects-normal/i386/moc_aslider.o ../build/awl/moc_aslider.cxx normal i386 c++ com.apple.compilers.gcc.4_2
cd /Users/jrlowell/musescore/mscore/mscore
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -DCMAKE_INTDIR="Release" -DQT_DLL -DQT_DESIGNER_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_SCRIPTTOOLS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.4 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/jrlowell/musescore/mscore/build/awl/Release -F/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks -I/Users/jrlowell/musescore/mscore/build/awl/Release/include -I/Users/jrlowell/musescore/mscore/build/awl -I/Users/jrlowell/musescore/mscore/mscore/awl -I/Users/jrlowell/musescore/mscore/mscore/optimized -I/Users/jrlowell/musescore/mscore/mscore/debug -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtDesigner.framework/Headers -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtScript.framework/Headers -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtSvg.framework/Headers -I/usr/include/QtUiTools -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtScriptTools.framework/Headers -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtGui.framework/Headers -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtXml.framework/Headers -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtNetwork.framework/Headers -I/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/QtCore.framework/Headers -I/Users/jrlowell/musescore/mscore/mscore -I/Users/jrlowell/musescore/mscore/mscore/mscore -I/Users/jrlowell/musescore/mscore/build -I/Users/jrlowell/musescore/mscore/build/mscore -I/usr/local/include -I/opt/local/include -I/Users/jrlowell/musescore/mscore/build/awl/mscore.build/Release/awl.build/DerivedSources/i386 -I/Users/jrlowell/musescore/mscore/build/awl/mscore.build/Release/awl.build/DerivedSources -DNDEBUG -include /Users/jrlowell/musescore/mscore/build/all.h -c /Users/jrlowell/musescore/mscore/mscore/../build/awl/moc_aslider.cxx -o /Users/jrlowell/musescore/mscore/build/awl/mscore.build/Release/awl.build/Objects-normal/i386/moc_aslider.o
i686-apple-darwin10-gcc-4.2.1: /Users/jrlowell/musescore/mscore/mscore/../build/awl/moc_aslider.cxx: No such file or directory
i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
i686-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
In reply to Snow Leopard drops macosx10.4u by jrlowell
You are in an unexplored land. I'm not aware of any build on Snow Leopard yet.
"You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."
It sounds not good. It depends on what you want to achieve by building on your computer.
If you want to run MuseScore in 64 bits, it's better installing a Qt package in 64 bits I guess. Or compile Qt in 64 bits mode.
If you want to run MuseScore in 32 bits, I guess there is something to configure in XCode?
In reply to You are in an unexplored by [DELETED] 5
So I learned on the net that the QT SDK (at least for Mac) uses the 32-bit libraries ... and the solution is to download and install the QT core separate from creator.
That definitely moved the ball ahead further (using MacOSX10.6SDK), but the build still fails on random Compile steps ... complaining of "no such file" for various rtf2html, osdabzip and/or preferences files.
Interestingly, two successve builds with no changes generated different error messages involving these components.
Anyone else try Snow Leopard build yet?
In reply to Snow Leopard Build by jrlowell
See my post below.
--
colin
In reply to For what it is worth, I have by David Bolton
Hi friend.
Did you find the solution?
Thanks.
Hi friend.
Did you find the Error ?
Thanks.
This thread might help. It looks as though you are having similar problems. Don't try building the PPC version if you don't need it. http://musescore.org/en/node/7484
In particular these are the changes I made to get it working: http://musescore.org/en/node/7484#comment-21651