Re: [yoshimi-user] ccmake instruction -- WAS: Re: yoshimi git 20120216 has pitch problem
- From: jimmy <wg2002a@xxxxxxxxx>
- To: Renato <rennabh@xxxxxxxxx>
- Date: Wed, 22 Feb 2012 10:56:08 -0800 (PST)
--- On Sat, 2/18/12, Renato <rennabh@xxxxxxxxx> wrote:
when by 'g' appears as a choice
I'd remove the "by"
Renato,
Thanks for the catch. I thought I replied to the list already, about this and
also pre-requisites, but it never showed up on the mailing list.
Anyway, below is an updated info, suggested to be appended to the "INSTALL"
file as part of yoshimi package.
[---]
---- Sample instructions to compile/build using ccmake on Linux ,
outside-source-tree -----
This uses "yoshimi-0.060.12" as an example, should work fine with other
versions. If these instructions fail to work, perhaps new build instructions
should be provided.
Here is to build/compile using ccmake, in separate build directory. This way,
changes to source code can be readily compared without combing through the
build-related files.
Extract source code archive:
mkdir /path/to/workDir/
cd /path/to/workDir/
tar -jxvf /path/to/yoshimi-0.060.12.tar.bz2
now there should be a directory for
/path/to/workDir/yoshimi-0.060.12/
create a separate directory for build, spaces in fileName and directoryName can
be problematic, try to avoid it.
mkdir /path/to/workDir/build.yoshimi-0.060.12/
cd /path/to/workDir/build.yoshimi-0.060.12/
ccmake /path/to/workDir/yoshimi-0.060.12/
"/path/to/workDir/yoshimi-0.060.12/" is the source code directory.
"/path/to/workDir/build.yoshimi-0.060.12/" is now the current working
directory, will have make-related files (when ccmake is done with configuring
and generate the files).
Within ccmake, type 'c' (without the quotes) to generate a default
configuration. Type 'c' again to actually apply the current configuration data
(repeat multiple times if needed). If there is any missing pre-requisite
libraries and/or softwares, it should prompt you with such info. You can
install such pre-requisite softwares and try this ccmake configuration steps
again.
When ccmake configuration is complete, there should be a new option displayed:
'g' to generate (the make-related files) and exit.
In other words, if you alreay have all pre-requisites in place, then when you
run ccmake, just try 'c', then 'c' again, when 'g' appears as a choice, type
'g'. The make-related files are created in the current directory, and ccmake
is done. You are now back at the command line.
Next is to compile (build) the application:
make
When compilation is completed successfully, install it with:
make install
----- /Done/ -----
Jimmy
Other related posts: