build problems qt-4.5 and Fedora

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

build problems qt-4.5 and Fedora

olavgun
Hi,

Weird build error a):

make[3]: Entering directory `/usr/src/mscorework/trunk/build'
make[3]: *** No rule to make target `/usr/lib/libQtScriptTools.so', needed by `mscore/mscore'.  Stop.

But libQtScriptTools.so is a part of qt-4.5, so we does not need to build it: it is preinstalled in /usr/lib. Mscore does not build because of this.

build error b).

Se my previous post in this forum. The lack of error messages mentioned there are caused by the relevant parts of the program not being linked in. At least I think so. Nothing happens when I use the menu "Save as". Neiter ly, nor xml,nor native mscore-files saved in a new place works. I have not been able to verify this because of error a).

This also happened when I tried to make 0.9.4 with qt-4.5.

Under fedora, qt-4.5 is only part of experimental fedora 11. But using this precompiled version is OK under earlier fedoras, because there are only modest dependencies. I tried to compile qt-4.5 from source (approx 6 hours on my Dell latitude D600). There is no difference in the behavior of home-compiled compared to fedora-11 compiled version. With neither is it possible to make mscore, whether most recent SVN or 0.9.4.

I have tried deleting any trace of mscore and qt4 and reinstalling.

Olav Gundersen



Reply | Threaded
Open this post in threaded view
|

Re: build problems qt-4.5 and Fedora

wschweer
Administrator
What version of cmake you are using? There may be problems with older
versions. I am using 2.7-20081102. The current ubuntu version 2.6.2 should
also work.

On Saturday 21 March 2009 12:48:17 olavgun wrote:

> Hi,
>
> Weird build error a):
>
> make[3]: Entering directory `/usr/src/mscorework/trunk/build'
> make[3]: *** No rule to make target `/usr/lib/libQtScriptTools.so', needed
> by `mscore/mscore'.  Stop.
>
> But libQtScriptTools.so is a part of qt-4.5, so we does not need to build
> it: it is preinstalled in /usr/lib. Mscore does not build because of this.
>
> build error b).
>
> Se my previous post in this forum. The lack of error messages mentioned
> there are caused by the relevant parts of the program not being linked in.
> At least I think so. Nothing happens when I use the menu "Save as". Neiter
> ly, nor xml,nor native mscore-files saved in a new place works. I have not
> been able to verify this because of error a).
>
> This also happened when I tried to make 0.9.4 with qt-4.5.
>
> Under fedora, qt-4.5 is only part of experimental fedora 11. But using this
> precompiled version is OK under earlier fedoras, because there are only
> modest dependencies. I tried to compile qt-4.5 from source (approx 6 hours
> on my Dell latitude D600). There is no difference in the behavior of
> home-compiled compared to fedora-11 compiled version. With neither is it
> possible to make mscore, whether most recent SVN or 0.9.4.
>
> I have tried deleting any trace of mscore and qt4 and reinstalling.
>
> Olav Gundersen


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: build problems qt-4.5 and Fedora

Toby Smithe-2
In reply to this post by olavgun
2009/3/21 olavgun <[hidden email]>:
> Weird build error a):
>
> make[3]: Entering directory `/usr/src/mscorework/trunk/build'
> make[3]: *** No rule to make target `/usr/lib/libQtScriptTools.so', needed
> by `mscore/mscore'.  Stop.
>
> But libQtScriptTools.so is a part of qt-4.5, so we does not need to build
> it: it is preinstalled in /usr/lib. Mscore does not build because of this.

This is weird, and I've never seen it on Ubuntu. As Werner says, make
sure you've got up-to-date versions of all dependencies, including
CMake. Also, check whether the patches[0] I apply to my Debian
packages may help, especially the somewhat erroneously named
09-disable-building-qtscript.dpatch:

[0] http://bazaar.launchpad.net/~mscore-ubuntu/musescore/debian/files/head%3A/patches/

> build error b).
>
> Se my previous post in this forum. The lack of error messages mentioned
> there are caused by the relevant parts of the program not being linked in.
> At least I think so. Nothing happens when I use the menu "Save as". Neiter
> ly, nor xml,nor native mscore-files saved in a new place works. I have not
> been able to verify this because of error a).

There are no build errors in my Ubuntu packages, yet I also suffer
problems (as Nathan Hale also reported) with the Save As dialogue in
recent revisions (r1660 being most recently tested). libsndfile 1.0.18
is linked in, as is qt 4.5.0.

--
Toby Smithe :: http://fulltinreality.com

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: build problems qt-4.5 and Fedora

olavgun
In reply to this post by wschweer
Hello,

I use cmake 2.6.3.  After new cleaning and reinstalling the problem with qtscripttools disappeared. But "Save as" still does not work. I viewed the contents of the executable mscore in emacs, and exportly and the other things were indeed linked in.  Then the problem must be how "Save as" calls the other functions? Less dramatic than I thought.

Olav

wschweer wrote
What version of cmake you are using? There may be problems with older
versions. I am using 2.7-20081102. The current ubuntu version 2.6.2 should
also work.

> build error b).
>
> Se my previous post in this forum. The lack of error messages mentioned
> there are caused by the relevant parts of the program not being linked in.
> At least I think so. Nothing happens when I use the menu "Save as". Neiter
> ly, nor xml,nor native mscore-files saved in a new place works. I have not
> been able to verify this because of error a).
>
> This also happened when I tried to make 0.9.4 with qt-4.5.
>