File: README-Cygwin.txt

package info (click to toggle)
mysql%2B%2B 3.2.1%2Bpristine-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,624 kB
  • ctags: 11,252
  • sloc: cpp: 35,659; sh: 3,034; makefile: 951; perl: 786
file content (26 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download | duplicates (3)
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
Prerequisite: Build MySQL
~~~~~~~~~~~~~~~~~~~~~~~~~
    Before you can build MySQL++, you need to build the MySQL client
    library from source.  You're welcome to try linking MySQL++ to the
	native MySQL client libraries instead, but if you have problems with
	it, don't expect any support on the mailing list.
	
	You do not need to build a Cygwin version of the MySQL server.  It's
	still best to use the native Windows version of that.

    Older versions of MySQL do not build cleanly out of the box on
    Cygwin.  This has been fixed recently.  I tested these instructions
    on 5.0.67, with a contemporaneous version of Cygwin 1.5.x.

    You can build it with the standard configure && make && make install
    sequence, but a better configure command for this purpose is:

    $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
        --infodir=/usr/share/info --mandir=/usr/share/man \
        --disable-shared --without-{debug,readline,libedit,server}


Building the Library and Example Programs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    With that done, you can build MySQL++ just as you would any other
    typical Unix program.  See README-Unix.txt for details.