Skip to content
Newer
Older
100644 57 lines (36 sloc) 2.99 KB
c3a4eca @rkhaotix * Fechamento da versão v0.2.0
rkhaotix authored Aug 31, 2012
1 PostgreSQL Database Modeler - pgModeler
2 ---------------------------------------
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
3
3bb27c8 @rkhaotix Updating of COMPILING.md file.
rkhaotix authored Oct 8, 2012
4 This document describes a simple way how to compile and run the pgModeler. Please read it carefully so that no step is forgotten and compromising the entire process.
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
5
6 Compiling Requirements
7 -------------------------
8
3bb27c8 @rkhaotix Updating of COMPILING.md file.
rkhaotix authored Oct 9, 2012
9 * GCC Development Tools 4.4 or above
10 * Qt 4.8.x library (qt-project.org)
11 * libXML2 library (www.xmlsoft.org)
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
12 * libpq library (www.postgresql.org)
e9ba67b @rkhaotix Fechamento da versão v0.2.0.
rkhaotix authored Aug 31, 2012
13 * pgModeler source (github.com/pgmodeler/pgmodeler/tags)
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
14
15 Compiling
16 ----------
17
3bb27c8 @rkhaotix Updating of COMPILING.md file.
rkhaotix authored Oct 9, 2012
18 * Note to Unix: The compilation script make use of 'pkgconfig' tool to find the correct path to PostgreSQL and libXML2 include/libs so make sure that executing the commands below will produce a similar result as follow:
19
20 $ pkg-config libpq --cflags --libs
21 > -I/usr/include -L/usr/lib64/libpq.so
22
23 $ pkg-config libxml-2.0 --cflags --libs
24 > -I/usr/include/libxml2 -lxml2
25
26 If an error is returned check the installation of PostgreSQL and libXML2. The compilation will fail if these dependencies could not be resolved.
27
28 * Note to Windows: Before starting the compilation, check in the file 'pgmodeler.pro' if the variables windows:INCLUDEPATH and windows:LIBS points to the correct paths relative to your system.
29
30 * Note to Mac OSX: Unfortunately the build process is broken in this system and cannot be deeply tested because the lack a Mac computer. ** HELP NEEDED! **
31
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
32 To compile the pgModeler type (in the root folder of the source code):
33
c3a4eca @rkhaotix * Fechamento da versão v0.2.0
rkhaotix authored Aug 31, 2012
34 $ qmake pgmodeler.pro
35 $ make
3bb27c8 @rkhaotix Updating of COMPILING.md file.
rkhaotix authored Oct 9, 2012
36 $ make install
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
37
3bb27c8 @rkhaotix Updating of COMPILING.md file.
rkhaotix authored Oct 9, 2012
38 If the build is successful the executable 'pgmodeler' and some directories will be created in the build/ folder. Copy the contents of this folder to any other location you want.
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
39
40 Environment Variables
41 ---------------------
42
763f784 @rkhaotix Final commit before tagging version 0.3.3
rkhaotix authored Oct 9, 2012
43 Four own environment variables are used by pgModeler to access the folders schemas/, conf/, plugins/ and lang/. If you want to configure directories cited in deferent paths use the following variables:
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
44
45 * PGMODELER_SCHEMAS_DIR -> stores the full path the directory schemas/
46 * PGMODELER_CONF_DIR -> stores the full path the directory conf/
47 * PGMODELER_LANG_DIR -> stores the full path the directory lang/
c3a4eca @rkhaotix * Fechamento da versão v0.2.0
rkhaotix authored Aug 31, 2012
48 * PGMODELER_PLUGINS_DIR -> stores the full path the directory plugins/
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
49
50 Additionally, the pgModeler need to know where to find the libraries required for the execution (Qt Library, LibXML and libpq) for which you should enter the full path in the variable LD_LIBRARY_PATH (Unix) or PATH (Windows), if not already configured.
51
763f784 @rkhaotix Final commit before tagging version 0.3.3
rkhaotix authored Oct 9, 2012
52 To provide the interface translation pgModeler checks the variable LANG (Unix). To use a specific translation, change the value of this variable. So far, the pgModeler only supports the U.S. English (en_US) language.
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
53
3bb27c8 @rkhaotix Updating of COMPILING.md file.
rkhaotix authored Oct 9, 2012
54 Finally, as a convenience, the script 'start-pgmodeler.(sh | bat)' is provided to assist the initialization of pgModeler so it is not necessary to call the executable directly or change the environment variables on your operating system.
daa8f9f @rkhaotix Commit inicial do repositório do pgModeler
rkhaotix authored Aug 23, 2012
55
56 Note: You may need to edit the parameters of the script depending on configuration of your operating system.
Something went wrong with that request. Please try again.