How to compile for pclinuxos?

22 messages Options
Embed this post
Permalink
1 2
gseaman

How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
I've built programs for pclinuxos for several years. When I try to build the latest musescore, it does not compile. There are no warnings about missing dependencies, so I don't know what else to do. I installed qt 4.5 from source and put it in /usr/lib/qt4. I looked at howtos online for ubuntu and fedora and tried to install the header files (-devel in pclinuxos) I could find listed. I would like to eventually package an rpm for the distro. Thanks for any help.

Galen
lasconic

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
An RPM for fedora is already available. Not sure it helps for pclinuxos? http://www.musescore.org/en/download
Regarding the compilation, you can try to run make VERBOSE=1 to see what's going on.
Lasconic

2009/3/30 gseaman <[hidden email]>

I've built programs for pclinuxos for several years. When I try to build the latest musescore, it does not compile. There are no warnings about missing dependencies, so I don't know what else to do. I installed qt 4.5 from source and put it in /usr/lib/qt4. I looked at howtos online for ubuntu and fedora and tried to install the header files (-devel in pclinuxos) I could find listed. I would like to eventually package an rpm for the distro. Thanks for any help.

Galen

--
View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2554937.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Here is the last few lines after I did "make VERBOSE=1":

make[3]: Leaving directory `/home/galen/Downloads/music/mscore1689/trunk/build'
/usr/bin/cmake -E cmake_progress_report /home/galen/Downloads/music/mscore1689/trunk/build/CMakeFiles  44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
[ 72%] Built target qtscript_gui
make[2]: Leaving directory `/home/galen/Downloads/music/mscore1689/trunk/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/galen/Downloads/music/mscore1689/trunk/build'
make: *** [release] Error 2

The fedora rpm gives these errors in kpackage:

</home/galen/Desktop/musescore-0.9.4-1.fc10.i386.rpm';echo RESULT=$?
warning: ///home/galen/Desktop/musescore-0.9.4-1.fc10.i386.rpm: Header V4 DSA signature: NOKEY, key ID 1628dec4
error: Failed dependencies:
        jack-audio-connection-kit is needed by musescore-0.9.4-1.fc10.i386
        libQtDesigner.so.4 is needed by musescore-0.9.4-1.fc10.i386
        libQtScript.so.4 is needed by musescore-0.9.4-1.fc10.i386
        libQtSvg.so.4 is needed by musescore-0.9.4-1.fc10.i386
        libssl.so.7 is needed by musescore-0.9.4-1.fc10.i386
        rtld(GNU_HASH) is needed by musescore-0.9.4-1.fc10.i386
RESULT=1
 
jack-audio-connection-kit is called jackit in pclinuxos. The qt stuff should be installed in /usr/lib/qt4.  I have /lib/libssl3.so and /usr/lib/libssl.so.0.9.8. I could not find anything installed called rtld. I googled and found mandriva at one time provided it in a package called libetpan13. I installed it with the header file, libetpan13-devel. It pulled in several other packages. After adding libetpan13-devel, it goes further but still errors with this:

/usr/bin/cmake -E cmake_progress_report /home/galen/Downloads/music/mscore1696/trunk/build/CMakeFiles  44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
[100%] Built target qtscript_gui
make[2]: Leaving directory `/home/galen/Downloads/music/mscore1696/trunk/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/galen/Downloads/music/mscore1696/trunk/build'
make: *** [release] Error 2





lasconic wrote:
An RPM for fedora is already available. Not sure it helps for pclinuxos?
http://www.musescore.org/en/download
Regarding the compilation, you can try to run make VERBOSE=1 to see what's
going on.
Lasconic

2009/3/30 gseaman <gseaman2186@comcast.net>

>
> I've built programs for pclinuxos for several years. When I try to build
> the latest musescore, it does not compile. There are no warnings about
> missing dependencies, so I don't know what else to do. I installed qt 4.5
> from source and put it in /usr/lib/qt4. I looked at howtos online for ubuntu
> and fedora and tried to install the header files (-devel in pclinuxos) I
> could find listed. I would like to eventually package an rpm for the distro.
> Thanks for any help.
>
> Galen
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2554937.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Toby Smithe-2

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Hi,

2009/3/30 gseaman <[hidden email]>:

>
> Here is the last few lines after I did "make VERBOSE=1":
>
> make[3]: Leaving directory `/home/galen/Downloads/music/mscore1689/trunk/build'
> /usr/bin/cmake -E cmake_progress_report /home/galen/Downloads/music/mscore1689/trunk/build/CMakeFiles  44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
> [ 72%] Built target qtscript_gui
> make[2]: Leaving directory `/home/galen/Downloads/music/mscore1689/trunk/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/galen/Downloads/music/mscore1689/trunk/build'
> make: *** [release] Error 2

Looks like we'll need a few more lines than this; there's nothing
explicitly causing that "Error 2" at that point.

> The fedora rpm gives these errors in kpackage:

Hmm. This just smacks of RPM hell. Wouldn't go there :)

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

------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Toby Smithe-2 wrote:
Hi,

2009/3/30 gseaman <gseaman2186@comcast.net>:
>
> Here is the last few lines after I did "make VERBOSE=1":

Looks like we'll need a few more lines than this; there's nothing
explicitly causing that "Error 2" at that point.

> The fedora rpm gives these errors in kpackage:

Hmm. This just smacks of RPM hell. Wouldn't go there :)

--
Toby Smithe :: http://fulltinreality.com
Thanks for your time. I put off responding, as PCLinuxOS was in the process of upgrading the official packages to qt4.5. So I tried again. Piping the console output using "make VERBOSE=1 > make.log", gets cut off as soon as cmake begins. So I edited each line of the Makefile to direct the output of the cmake messages ">> cmake.log to a file. There was still output in the console that wasn't being recorded. So I increased the history file in konsole and cut a pasted the results to a third file, konsole.log. make.log and cmake log showed no errors or anything unusual. The konsole show hundreds of these messages:

 /home/galen/Downloads/music/mscore/mscore-1751/mscore/mscore/undo.h:65: warning: ‘class UndoCommand’ has virtual functions but non-virtual destructor

and hundreds of these:

c++: -rpath: linker input file unused because linking not done
c++: /usr/lib: linker input file unused because linking not done

I have looked at every instruction I could find. I think the problem is with cmake, but I don't have any knowledge or experience to figure it out. Any help would be appreciated.

Galen
Toby Smithe-2

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Hi,

2009/4/13 gseaman <[hidden email]>:
> Thanks for your time. I put off responding, as PCLinuxOS was in the process of upgrading the official packages to qt4.5. So I tried again. Piping the console output using "make VERBOSE=1 > make.log", gets cut off as soon as cmake begins. So I edited each line of the Makefile to direct the output of the cmake messages ">> cmake.log to a file. There was still output in the console that wasn't being recorded. So I increased the history file in konsole and cut a pasted the results to a third file, konsole.log. make.log and cmake log showed no errors or anything unusual. The konsole show hundreds of these messages:

Surely, if there are "no errors or anything unusual" in the (c)make
logs, then the build was successful? Warnings generally do not cause
cause build failure.

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: [Mscore-developer] How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Toby Smithe-2 (via Nabble) wrote:

> Hi,
>
> 2009/4/13 gseaman <gseaman2186@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2627052&i=0>>:
>  > Thanks for your time. I put off responding, as PCLinuxOS was in the
> process of upgrading the official packages to qt4.5. So I tried again.
> Piping the console output using "make VERBOSE=1 > make.log", gets cut
> off as soon as cmake begins. So I edited each line of the Makefile to
> direct the output of the cmake messages ">> cmake.log to a file. There
> was still output in the console that wasn't being recorded. So I
> increased the history file in konsole and cut a pasted the results to a
> third file, konsole.log. make.log and cmake log showed no errors or
> anything unusual. The konsole show hundreds of these messages:
>
> Surely, if there are "no errors or anything unusual" in the (c)make
> logs, then the build was successful? Warnings generally do not cause
> cause build failure.
>
> --
> Toby Smithe :: http://fulltinreality.com
>
> ------------------------------------------------------------------------------
>
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2627052&i=1>
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
>
> ------------------------------------------------------------------------
> This email is a reply to your post @
> http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2627052.html
> You can reply by email or by visting the link above.
>
There were hundreds of errors in the console window about linking not
being done. I wonder if cmake is not correctly configuring the makefile
to work on my system.

Galen
gseaman

Re: [Mscore-developer] How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
gseaman wrote:
There were hundreds of errors in the console window about linking not being done. I wonder if cmake is not correctly configuring the makefile to work on my system.
Galen
Possibly there is a build requirement missing on my system. I've compiled several other programs on this system, but I don't think I have the definitive list of what's required for musescore.

Galen
lasconic

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
I have warnings like these too on ubuntu or windows . I think it come
from the Qt4.5 SDK. But it does not prevent the compilation.
c++: -rpath: linker input file unused because linking not done
c++: /usr/lib: linker input file unused because linking not done

If you don't have any compilation or linking errors. It should work
... Regarding tools, you need Cmake >2.6 (I use 2.6.3).
For the SVN trunk the dependencies are listed here :
http://www.musescore.org/en/node/1479

Lasconic


2009/4/14 gseaman <[hidden email]>:

>
>
> There were hundreds of errors in the console window about linking not being done. I wonder if cmake is not correctly configuring the makefile to work on my system.
> Galen
>
>
> Possibly there is a build requirement missing on my system. I've compiled several other programs on this system, but I don't think I have the definitive list of what's required for musescore.
>
> Galen
> --
> View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2631134.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink

lasconic wrote:
I have warnings like these too on ubuntu or windows . I think it come
from the Qt4.5 SDK. But it does not prevent the compilation.
c++: -rpath: linker input file unused because linking not done
c++: /usr/lib: linker input file unused because linking not done

If you don't have any compilation or linking errors. It should work
... Regarding tools, you need Cmake >2.6 (I use 2.6.3).
For the SVN trunk the dependencies are listed here :
http://www.musescore.org/en/node/1479

Lasconic
I found a fedora spec file that included a list of buildrequires. I have all of them installed, but some with different names. Usually configure scripts pick-up the correct libraries if they are present, but here is a greatly reduced output of the errors I receive, (the entire output is about 2000 lines), when I try to build mscore.

[galen@localhost mscore-1751]$ make
found Doxygen
Qt lib found at /usr/lib
Alsa detected.
Jack detected
portaudio detected
Unknown feature http://qtsoftware.com/xml/features/report-whitespace-only-CharData
Unknown feature http://qtsoftware.com/xml/features/report-whitespace-only-CharData
...
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp: In function ‘int fluid_synth_one_block(fluid_synth_t*)’:
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:1601: warning: unused variable ‘prof_ref_voice’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:1566: warning: unused variable ‘prof_ref’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp: In function ‘void fluid_synth_kill_by_exclusive_class(fluid_synth_t*, fluid_voice_t*)’:
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:1810: warning: converting to ‘int’ from ‘fluid_real_t’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp: At global scope:
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:1927: warning: unused parameter ‘msec’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:1940: warning: unused parameter ‘synth’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:2422: warning: unused parameter ‘apply’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/synth.cpp:2671: warning: unused parameter ‘audio_chan’
/home/galen/Downloads/music/mscore/mscore-1751/mscore/fluid/settings.cpp: In function ‘int fluid_settings_getint_default(fluid_settings_t*, const char*)’:
...
c++: -rpath: linker input file unused because linking not done
c++: /usr/lib: linker input file unused because linking not done
...
/home/galen/Downloads/music/mscore/mscore-1751/mscore/scriptgen/qtbindings/gui/qtscriptshell_QWindowsStyle.cpp: In member function ‘virtual QPixmap QtScriptShell_QWindowsStyle::standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*) const’:
/home/galen/Downloads/music/mscore/mscore-1751/mscore/scriptgen/qtbindings/gui/qtscriptshell_QWindowsStyle.cpp:342: warning: control reaches end of non-void function
make[1]: *** [all] Error 2
make: *** [release] Error 2
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink

gseaman wrote:
lasconic wrote:
I have warnings like these too on ubuntu or windows . I think it come
from the Qt4.5 SDK. But it does not prevent the compilation.
Lasconic
I found a fedora spec file that included a list of buildrequires. I have all of them installed, but some with different names. Usually configure scripts pick-up the correct libraries if they are present, but here is a greatly reduced output of the errors I receive, (the entire output is about 2000 lines), when I try to build mscore.
Here are the list of build-requires from the fedora spec file with the correct names in pclinuxos. If any one of these names is hardwired, then maybe it is not be recognized. Thanks for hanging in there with me a little longer.

BuildRequires:  libice6-devel #libICE-devel
BuildRequires:  libqt4-devel >= 4.4 #qt-devel >= 4.4
BuildRequires:  lilypond #ok
BuildRequires:  libjack-devel #jack-audio-connection-kit-devel
BuildRequires:  libalsa2-devel #alsa-lib-devel
BuildRequires:  libalsa2 #alsa-lib
BuildRequires:  doxygen #ok
BuildRequires:  cmake >= 2.4.6 #2.6
BuildRequires:  texlive-context #tetex-context
BuildRequires:  tetex #ok
BuildRequires:  libportaudio0-devel, libportaudio2-devel #portaudio-devel
BuildRequires:  libopenssl0.9.8-devel #openssl-devel
BuildRequires:  graphviz

#Musecore will build without some of the above, like portaudio,
#however all options may not work or be available.
Requires:  libportaudio0, libportaudio2 #portaudio
Requires:  libalsa-plugins-jack #alsa-plugins-jack
Requires:  libalsa-plugins-pulseaudio #alsa-plugins-pulseaudio
Requires:  jackit #jack-audio-connection-kit

Galen
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
I'm still hoping for some help with this. You've got a great program. I don't want to change distros to use it. Here is some more information:

I am using:
kernel 2.6.27.13
gcc 4.1.1
qt 4.5 (I also tried 4.5.1)
cmake 2.6.3
libfluidsynth 1.07
libalsa 1.0.19
libjack 0.116.2
libportaudio 19-081201
tetex-latex 3.0-19

Galen
lasconic

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
If you are trying to compile the SVN you also need libsndfile and zlib
of course.
Have you check http://www.musescore.org/en/node/1479 ?
Lasconic

2009/4/30 gseaman <[hidden email]>:

>
> I'm still hoping for some help with this. You've got a great program. I don't
> want to change distros to use it. Here is some more information:
>
> I am using:
> kernel 2.6.27.13
> gcc 4.1.1
> qt 4.5 (I also tried 4.5.1)
> cmake 2.6.3
> libfluidsynth 1.07
> libalsa 1.0.19
> libjack 0.116.2
> libportaudio 19-081201
> tetex-latex 3.0-19
>
> Galen
> --
> View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2750303.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
I've tried compiling 9.4 from svn, same result. I have looked at the compile instructions. I have libsndfile 1.0.18 and zlib1 1.2.3 and of course all of the header files. Thanks for helping.

Galen

lasconic wrote:
If you are trying to compile the SVN you also need libsndfile and zlib
of course.
Have you check http://www.musescore.org/en/node/1479 ?
Lasconic

2009/4/30 gseaman <gseaman2186@comcast.net>:
>
> I'm still hoping for some help with this. You've got a great program. I don't
> want to change distros to use it. Here is some more information:
>
> I am using:
> kernel 2.6.27.13
> gcc 4.1.1
> qt 4.5 (I also tried 4.5.1)
> cmake 2.6.3
> libfluidsynth 1.07
> libalsa 1.0.19
> libjack 0.116.2
> libportaudio 19-081201
> tetex-latex 3.0-19
>
> Galen
lasconic

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Can you compile verbose and post your whole log as an attachment ?

2009/5/1 gseaman <[hidden email]>:

>
> I've tried compiling 9.4 from svn, same result. I have looked at the compile
> instructions. I have libsndfile 1.0.18 and zlib1 1.2.3 and of course all of
> the header files. Thanks for helping.
>
> Galen
>
>
> lasconic wrote:
>>
>> If you are trying to compile the SVN you also need libsndfile and zlib
>> of course.
>> Have you check http://www.musescore.org/en/node/1479 ?
>> Lasconic
>>
>> 2009/4/30 gseaman <[hidden email]>:
>>>
>>> I'm still hoping for some help with this. You've got a great program. I
>>> don't
>>> want to change distros to use it. Here is some more information:
>>>
>>> I am using:
>>> kernel 2.6.27.13
>>> gcc 4.1.1
>>> qt 4.5 (I also tried 4.5.1)
>>> cmake 2.6.3
>>> libfluidsynth 1.07
>>> libalsa 1.0.19
>>> libjack 0.116.2
>>> libportaudio 19-081201
>>> tetex-latex 3.0-19
>>>
>>> Galen
>>
>
> --
> View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2754359.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Here it is. (I hope that I attached it correctly. I used "More options -> upload a file") If you don't receive the attachment, I will resend with thunderbird. Thanks.

Galen

mscore_errors.log
lasconic wrote:
Can you compile verbose and post your whole log as an attachment ?

2009/5/1 gseaman <gseaman2186@comcast.net>:
>
> I've tried compiling 9.4 from svn, same result. I have looked at the compile
> instructions. I have libsndfile 1.0.18 and zlib1 1.2.3 and of course all of
> the header files. Thanks for helping.
>
> Galen
>
>
> lasconic wrote:
>>
>> If you are trying to compile the SVN you also need libsndfile and zlib
>> of course.
>> Have you check http://www.musescore.org/en/node/1479 ?
>> Lasconic
>>
>> 2009/4/30 gseaman <gseaman2186@comcast.net>:
>>>
>>> I'm still hoping for some help with this. You've got a great program. I
>>> don't
>>> want to change distros to use it. Here is some more information:
>>>
>>> I am using:
>>> kernel 2.6.27.13
>>> gcc 4.1.1
>>> qt 4.5 (I also tried 4.5.1)
>>> cmake 2.6.3
>>> libfluidsynth 1.07
>>> libalsa 1.0.19
>>> libjack 0.116.2
>>> libportaudio 19-081201
>>> tetex-latex 3.0-19
>>>
>>> Galen
>>
>
> --
> View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2754359.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer
lasconic

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
There are a lot of errors here ...
The first one is
/bin/sh: /home/galen/Downloads/music/mscore/mscore/trunk/mscore/gen-qt-projectfile:
Permission denied

Then you have some problem with compiling pa.cpp
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
error: expected ‘,’ or ‘...’ before ‘*’ token
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with
no type
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
warning: unused parameter ‘PaStreamCallbackTimeInfo’
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:
In member function ‘virtual bool Portaudio::init()’:
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:91:
error: ‘PaDeviceIndex’ was not declared in this scope


2009/5/2 gseaman <[hidden email]>:

>
> Here it is. (I hope that I attached it correctly. I used "More options ->
> upload a file") If you don't receive the attachment, I will resend with
> thunderbird. Thanks.
>
> Galen
>
> http://n2.nabble.com/file/n2771648/mscore_errors.log mscore_errors.log
>
> lasconic wrote:
>>
>> Can you compile verbose and post your whole log as an attachment ?
>>
>> 2009/5/1 gseaman <[hidden email]>:
>>>
>>> I've tried compiling 9.4 from svn, same result. I have looked at the
>>> compile
>>> instructions. I have libsndfile 1.0.18 and zlib1 1.2.3 and of course all
>>> of
>>> the header files. Thanks for helping.
>>>
>>> Galen
>>>
>>>
>>> lasconic wrote:
>>>>
>>>> If you are trying to compile the SVN you also need libsndfile and zlib
>>>> of course.
>>>> Have you check http://www.musescore.org/en/node/1479 ?
>>>> Lasconic
>>>>
>>>> 2009/4/30 gseaman <[hidden email]>:
>>>>>
>>>>> I'm still hoping for some help with this. You've got a great program. I
>>>>> don't
>>>>> want to change distros to use it. Here is some more information:
>>>>>
>>>>> I am using:
>>>>> kernel 2.6.27.13
>>>>> gcc 4.1.1
>>>>> qt 4.5 (I also tried 4.5.1)
>>>>> cmake 2.6.3
>>>>> libfluidsynth 1.07
>>>>> libalsa 1.0.19
>>>>> libjack 0.116.2
>>>>> libportaudio 19-081201
>>>>> tetex-latex 3.0-19
>>>>>
>>>>> Galen
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2754359.html
>>> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Register Now & Save for Velocity, the Web Performance & Operations
>>> Conference from O'Reilly Media. Velocity features a full day of
>>> expert-led, hands-on workshops and two days of sessions from industry
>>> leaders in dedicated Performance & Operations tracks. Use code vel09scf
>>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>>> _______________________________________________
>>> Mscore-developer mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>>
>>
>> ------------------------------------------------------------------------------
>> Register Now & Save for Velocity, the Web Performance & Operations
>> Conference from O'Reilly Media. Velocity features a full day of
>> expert-led, hands-on workshops and two days of sessions from industry
>> leaders in dedicated Performance & Operations tracks. Use code vel09scf
>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>> _______________________________________________
>> Mscore-developer mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2771648.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Thank you for your help. I looked at pa.cpp and saw that it was primarily interacting with libportaudio. So I looked at the mscore/CMakeLists.txt file and changed line 182 from:
set ( USE_PORTAUDIO 1 )
to
set ( USE_PORTAUDIO 0 ).
It works. Now, I am going to look at the lines above it to see how I can get it to find my libportaudio. PCLinuxOS has two versions installed because of different package requirements. The symlink, /usr/lib/libportaudio.so, points to the older libportaudio.so.0.0.18. If I change the link, I will likely break another package, so I am going to try to patch the CMakeLists.txt file and see what happens. Thanks.

Galen

lasconic wrote:
There are a lot of errors here ...
The first one is
/bin/sh: /home/galen/Downloads/music/mscore/mscore/trunk/mscore/gen-qt-projectfile:
Permission denied

Then you have some problem with compiling pa.cpp
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
error: expected ‘,’ or ‘...’ before ‘*’ token
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with
no type
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
warning: unused parameter ‘PaStreamCallbackTimeInfo’
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:
In member function ‘virtual bool Portaudio::init()’:
/home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:91:
error: ‘PaDeviceIndex’ was not declared in this scope
lasconic

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
Sound like good news ! Keep up posted when you have something working.
Maybe a package?

2009/5/7 gseaman <[hidden email]>:

>
> Thank you for your help. I looked at pa.cpp and saw that it was primarily
> interacting with libportaudio. So I looked at the mscore/CMakeLists.txt file
> and changed line 182 from:
> set ( USE_PORTAUDIO 1 )
> to
> set ( USE_PORTAUDIO 0 ).
> It works. Now, I am going to look at the lines above it to see how I can get
> it to find my libportaudio. PCLinuxOS has two versions installed because of
> different package requirements. The symlink, /usr/lib/libportaudio.so,
> points to the older libportaudio.so.0.0.18. If I change the link, I will
> likely break another package, so I am going to try to patch the
> CMakeLists.txt file and see what happens. Thanks.
>
> Galen
>
>
> lasconic wrote:
>>
>> There are a lot of errors here ...
>> The first one is
>> /bin/sh:
>> /home/galen/Downloads/music/mscore/mscore/trunk/mscore/gen-qt-projectfile:
>> Permission denied
>>
>> Then you have some problem with compiling pa.cpp
>> /home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
>> error: expected ‘,’ or ‘...’ before ‘*’ token
>> /home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
>> error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with
>> no type
>> /home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:45:
>> warning: unused parameter ‘PaStreamCallbackTimeInfo’
>> /home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:
>> In member function ‘virtual bool Portaudio::init()’:
>> /home/galen/Downloads/music/mscore/mscore/trunk/mscore/mscore/pa.cpp:91:
>> error: ‘PaDeviceIndex’ was not declared in this scope
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/How-to-compile-for-pclinuxos--tp2554937p2833976.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
gseaman

Re: How to compile for pclinuxos?

Reply Threaded More More options
Print post
Permalink
lasconic wrote:
Sound like good news ! Keep up posted when you have something working.
Maybe a package?
Yes, I am going to build a package. I've got it working fine on my system right now, but if I am going to build it right to share with the pclos software repos or on your sight, I will have to work out the dependencies in the spec file.

I looked through the mscore/CMakeLists.txt file and I can't figure out how to tell it to use libportaudio.so.2.0.0 instead of libportaudio.so.0.0.18. I uninstalled libportaudio0-devel, re-install libportaudio2-devel then recreated the symlink /usr/lib/libportaudio.so.0 to point to /usr/lib/libportaudio.so.2.0.0. If I put this into a rpm, it may mess with libjack and other programs which are built on the older libportaudio. If I can make mscore use the correct library without renaming or moving anything, it would be cleaner, I think.

Anyway, I am a part-time rookie, so thanks for helping me get this far.

Galen
1 2