This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
development_from_svn [2013/10/05 08:52]
development_from_svn [2018/01/07 12:29]
michael [Bootstrap and Configure]
Line 68: Line 68:
 </​code>​ </​code>​
-===== Bootstrap and Configure ​=====+===== Run CMake =====
-Once you've got the source to ''​rosegarden-svn''​ under the directory of your choice, move into it, and bootstrap the source:+Once you've got the source to ''​rosegarden-svn''​ under the directory of your choice, move into it, and create a build directory:
 <​code>​ <​code>​
   cd rosegarden-svn   cd rosegarden-svn
-  ​sh bootstrap.sh+  ​mkdir build
 </​code>​ </​code>​
-Now you need to configure the source. ​ Lately, I have been running 64-bit distros, and on recent 64-bit versions of Ubuntu this step is a little more complicated than it used to be.  The first thing you should try is this:+Now you need to run CMake:
 <​code>​ <​code>​
-  ./configure+  ​cmake .. -DCMAKE_INSTALL_PREFIX=[PREFIX] [-DCMAKE_BUILD_TYPE=Debug]
 </​code>​ </​code>​
-If that fails with some error about Qt libraries, you will need to use:+**-DCMAKE_INSTALL_PREFIX** sets the installation prefixsuch as /usr 
 +If you set the **-DCMAKE_BUILD_TYPE=Debug** then you will compile a debug build instead of the default release build. 
 +Finally, you are ready to compile:
 <​code>​ <​code>​
-  ​./configure --with-qtlibdir=/​usr/​lib/​x86_64-linux-gnu/​+  ​make
 </​code>​ </​code>​
-If //that// fails, ​you probably need to try replacing ''​x86_64-linux-gnu''​ with something else.  ​Look in ''/​usr/​lib''​ for clues, as every one of my Linux systems ​is 64-bit now. +Since you have a system version of Rosegarden installed, there is probably ​no need to install the one you just compiled.  ​Run it out of the directory where you just compiled it.  All the install target does is set up system icons and MIME types and so forth, and these change very infrequently.
 ===== Build and Run ===== ===== Build and Run =====
development_from_svn.txt · Last modified: 2018/02/07 17:07 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki