|
I 'd like to get a Veracity development environment set up on Ubuntu or Fedora. Can I? |
IntroductionThis document provides instructions to build Veracity on two of the most common Linux distributions (Ubuntu and Fedora). Ubuntu is the distribution used by our Linux-oriented developers, and is the only Linux build we test as the moment. There's nothing specifically preventing you from building Veracity elsewhere, we just don't yet have documentation to help. If you are running a recent Ubuntu version (9 or above) or the latest Fedora (Fedora 14), and are comfortable installing a few packages, this document should get you on your way to a working Veracity build. Getting/Unpacking the SourceThere are two options.
or
Unpack or checkout in the directory of your choice - for brevity, we'll pretend you
unpacked it under PrerequisitesUbuntu PackagesInstall packages using apt-get:
Install the following packages:
Fedora PackagesInstall Fedora packages with yum:
Install the following packages:
Creating the Build Directory
For example, let's create a cd to this folder, then run:
... or, if you'd also like an Eclipse project:
(Installing Eclipse is left as an exercise to the reader.) Building VeracityYou now have a build tree, replete with Makefiles. You'll only need to run the top-level one. So:
Updating your PATH to find Veracity Command Line ToolsTo make your life easier at this point, you'll want to add the following to your PATH:
the homes of Running the Test SuiteTo run the test suite:
All tests should pass. If there are failures, you can consult the logs.
link
This answer is marked "community wiki".
|
|
Does not compile for me. This is on a Debian stable ("squeeze"). The error message means nothing to me. Am I supposed to populate this VVTHIRDPARTY directory myself? With what?
1
The build_linux.sh script is supposed to build the vv-thirdparty directory. Did it run successfully?
(Jul 18 '11 at 08:52)
Ian Olsen ♦♦
1
Actually, I missed the paragraph about this script in the installation instructions. Now, it works. Thanks.
(Jul 18 '11 at 11:09)
bortzmeyer
|
|
Be carefull, with gcc 4.6, the -Werror causes a build fail, because of variable ‘*’ set but not used [-Wunused-but-set-variable] I removed the -Werror, and everything went well The GCC 4.6 errors have since been resolved.
(Aug 15 '11 at 09:40)
Paul Roub ♦♦
concretely speaking, remove the option '-Wall' from '~/v/veracity/common-CMakeLists.txt'
(Oct 04 '11 at 12:17)
Takayuki Goto
|
|
Still doesn't build out-of-the-box on Fedora 15. Here are my updated workaround instructions:
link
This answer is marked "community wiki".
|