File: INSTALL

package info (click to toggle)
mysql-workbench 6.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 113,932 kB
  • ctags: 87,814
  • sloc: ansic: 955,521; cpp: 427,465; python: 59,728; yacc: 59,129; xml: 54,204; sql: 7,091; objc: 965; makefile: 638; sh: 613; java: 237; perl: 30; ruby: 6; php: 1
file content (113 lines) | stat: -rw-r--r-- 3,867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
MySQL Workbench 6.3
-------------------

MySQL Workbench is a complete database modeling, administration and development program for MySQL.


This tree contains the source files for the MySQL Workbench 6.3.

MySQL Workbench is an extensible visual database design tool.


Buiding on Linux
----------------

To build MySQL Workbench on Ubuntu and other Debian based distros:

- Remove iodbc, if necessary

  $> sudo apt-get remove iodbc

- Install dependencies
  
  $> sudo apt-get install build-essential cmake cmake-data autoconf automake pkg-config libtool libzip-dev libxml2-dev \
                          libsigc++-2.0-dev libglade2-dev libgtkmm-2.4-dev libglu1-mesa-dev libgl1-mesa-glx \
                          mesa-common-dev libmysqlclient-dev libmysqlcppconn-dev uuid-dev libpixman-1-dev libpcre3-dev \
                          libgnome2-dev libgnome-keyring-dev libgtk2.0-dev libpango1.0-dev libcairo2-dev python-dev \
                          libboost-dev libctemplate-dev mysql-client python-pysqlite2 libsqlite3-dev libtinyxml-dev \
                          swig libvsqlitepp-dev libgdal-dev libproj0

- Extract the sources into a directory

  $> tar xvf mysql-workbench-community-<version>-src.tar.gz

- Go to the project and create a build directory

  $> cd mysql-workbench-community-<version>-src
  $> mkdir wb-build
  $> cd wb-build
  
- Build and install the project, and optionaly set the install prefix (should default to /usr/local)

  $> cmake [-DCMAKE_INSTALL_PREFIX=/usr] ..
  $> make
  $> sudo make install

- If you don't have permissions, you may install it on the current directory

  $> make install DESTDIR=.
  

For complete and up-to-date instructions, visit http://wb.mysql.com/?page_id=152

Note about swig:
- You will need swig 1.3 to build WB

Note about antlr:
- Antlr 3.4 is needed, but the current release has many bugs. You will need it patched with https://github.com/antlr/antlr3/pull/43 if you don't want to use the bundled version.
  Then you'll need to 
      
      export ANTLR_JAR_PATH=<path_to_your_antlr_complete_file>

Note about iodbc:
 - instead of iodbc you can use unixodbc, to do that you need to install unixodbc and add -DUSE_UNIXODBC=True to cmake

Note about gdal:
 - Ubuntu Packages require unixodbc, so if you're using it, there won't be any problem. If you want to use iodbc, you'll need to build it from source.
 
Building on Windows
-------------------

To build on Windows, you need Visual Studio 2010 with C++ and C# support.
You also need the latest mysql-workbench-externals-1.0-win32 package, which
contains pre-compiled binaries of all the 3rd party libraries that Workbench 
depends on.

To Build:
- Unpack mysql-gui-win-res in the same top directory as Workbench itself
- Go to the mysql-workbench directory
- Open MySQLWorkbench.sln solution file
- Select Release_OSS or the Debug Configuration
- Select x86 as the Platform
- Build Project



Buiding on Mac OS X
-------------------

To Build:
- Go to http://rudix.org/ and download and install the following packages
  gettext, glib, libpng, libsigc++, lua, pkg-config, pcre, libzip, cairo, pixman
- Install MySQL 5.5.x 32bit (64bit will not work), make sure /usr/local/mysql
  points to the correct installation
- Install MySQL Connector/C++, vsqlite++
- Install Xcode 4.1.0 or later and open the MySQLWorkbench.xcodeproj file
- Select the OS X 10.6 and Debug or Release and build

==============================================================================


MySQL Workbench OSS edition is licensed under the terms of the
General Public License version 2. For the exact terms of this license,
please view the included COPYING file.


==============================================================================


For more information, newer versions, FAQ, mailing lists etc
visit http://wb.mysql.com


The MySQL Workbench Team.