build rpm packages for Fedora16

12 views
Skip to first unread message

Mr. Petru

unread,
Nov 16, 2011, 9:09:39 PM11/16/11
to arsena...@googlegroups.com
Our team is not great but the last time we feel the need to have a good Render-manager. For this reason, these days we decided to study and consequently to place Arsenalsuite in our work-flow.

I start this topic with the main purpose of compiling and then create the rpms for Fedora16.
And I hope to achieve my goal with your help.

I would prefer to divide the process into several parts.
You are free to change all that seems wrong.

1. download the source files
     - Where are the right sources, which branch should be used
     - Prepare a folder structure
     - Download the source

2. prepare the environment
     - Installation of dependencies
     - Set the environment variable

3. build
     - Info on what we need to compile
     - Compiling step by step, and troubleshooting

4. testing of the compiled files

5. create rpm packages
     - Creation of packages step by step, and troubleshooting

6. test the RPM packages

7. connect all the steps in a single document.

Next ... configuration, start-up and use


I am not an expert in the compilation, and the steps included here are incomplete and that I hope I'll be able to carry it with you to a good end.

Help myself to be able to help someone else:)

Mr. Petru

unread,
Nov 17, 2011, 1:16:46 PM11/17/11
to arsenalsuite
seen that steps have been approved I would immediately start with the
first 2 points.

1. download the source files
A. Where are the right sources, which branch should be used?
source files can be downloaded from the mercurial repository
using the following command:
hg clone https://code.google.com/p/arsenalsuite/

The repository is composed of more than one branch. The branch
"default" contains the
latest stable versions of files, which means that we will use
the branch "default" to compile.

B. Prepare a folder structure
to keep my system clean, I use the following directory
structure:
~/buitd/arsenalsuite/hg_source - contains the source code
~/buitd/arsenalsuite/install - the result of the build
~/buitd/arsenalsuite/rpmbuild - the result of the
creation of rpm packages

C. Download the source
I use the following commands:
mkdir -p ~/build/arsenalsuite
cd ~/build/arsenalsuite
hg clone https://code.google.com/p/arsenalsuite/ hg-
source
mkdir install
mkdir rpmbuild

2. prepare the environment
A. Installation of dependencies
postgresql
qt4
graphviz-devel
mercurial
mercurial-devel
xmpppy
qt-assistant-adp-devel
phonon-devel
ImageMagick-c++-devel
and certainly standard gcc make tools
libXScrnSaver-devel
qtwebkit-devel
qt-postgresql

B. Set the environment variable
Aren Villanueva wrote:
"It would be a good opportunity to ensure it works
outside of our specific build environments"
I agree with this statement
only such we have a couple of problems:
1. how to define the destination folder for
installation? such as --prefix=path_to_install ?
2. where to build rpm packages?


There is some truth here?

it will take time to complete this work ... but I want to do it well.
look forward to your comments.
Reply all
Reply to author
Forward
0 new messages