File
README-Unix.txt
— part of check-in
[b690497dbb]
at
2018-10-17 16:02:56
on branch trunk
— Changed several *.txt files from Unix to DOS line endings, per
HACKERS.md.
(user:
tangent
size: 4250)
[more...]
0000: 50 6c 61 74 66 6f 72 6d 20 56 61 72 69 61 74 69 Platform Variati
0010: 6f 6e 73 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ons..~~~~~~~~~~~
0020: 7e 7e 7e 7e 7e 7e 7e 7e 0d 0a 20 20 20 20 54 68 ~~~~~~~~.. Th
0030: 69 73 20 66 69 6c 65 20 6f 6e 6c 79 20 63 6f 76 is file only cov
0040: 65 72 73 20 64 65 74 61 69 6c 73 20 63 6f 6d 6d ers details comm
0050: 6f 6e 20 74 6f 20 61 6c 6c 20 55 6e 69 78 20 76 on to all Unix v
0060: 61 72 69 61 6e 74 73 0d 0a 20 20 20 20 73 75 70 ariants.. sup
0070: 70 6f 72 74 65 64 20 62 79 20 4d 79 53 51 4c 2b ported by MySQL+
0080: 2b 2e 20 20 46 6f 72 20 70 6c 61 74 66 6f 72 6d +. For platform
0090: 2d 73 70 65 63 69 66 69 63 20 64 65 74 61 69 6c -specific detail
00a0: 73 2c 20 73 65 65 20 74 68 65 0d 0a 20 20 20 20 s, see the..
00b0: 66 69 6c 65 20 61 70 70 72 6f 70 72 69 61 74 65 file appropriate
00c0: 20 74 6f 20 79 6f 75 72 20 4f 53 3a 0d 0a 0d 0a to your OS:....
00d0: 20 20 20 20 20 20 20 20 52 45 41 44 4d 45 2d 43 README-C
00e0: 79 67 77 69 6e 2e 74 78 74 0d 0a 20 20 20 20 20 ygwin.txt..
00f0: 20 20 20 52 45 41 44 4d 45 2d 4c 69 6e 75 78 2e README-Linux.
0100: 74 78 74 0d 0a 20 20 20 20 20 20 20 20 52 45 41 txt.. REA
0110: 44 4d 45 2d 4d 61 63 2d 4f 53 2d 58 2e 74 78 74 DME-Mac-OS-X.txt
0120: 0d 0a 20 20 20 20 20 20 20 20 52 45 41 44 4d 45 .. README
0130: 2d 53 6f 6c 61 72 69 73 2e 74 78 74 0d 0a 0d 0a -Solaris.txt....
0140: 20 20 20 20 54 68 65 72 65 20 61 72 65 20 6e 6f There are no
0150: 20 73 70 65 63 69 61 6c 20 69 6e 73 74 72 75 63 special instruc
0160: 74 69 6f 6e 73 20 66 6f 72 20 61 6e 79 20 6f 74 tions for any ot
0170: 68 65 72 20 55 6e 69 78 20 66 6c 61 76 6f 72 73 her Unix flavors
0180: 2e 0d 0a 0d 0a 0d 0a 42 75 69 6c 64 69 6e 67 20 .......Building
0190: 74 68 65 20 4c 69 62 72 61 72 79 20 61 6e 64 20 the Library and
01a0: 45 78 61 6d 70 6c 65 20 50 72 6f 67 72 61 6d 73 Example Programs
01b0: 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ..~~~~~~~~~~~~~~
01c0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ~~~~~~~~~~~~~~~~
01d0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 0d 0a 20 20 20 ~~~~~~~~~~~..
01e0: 20 4d 79 53 51 4c 2b 2b 20 75 73 65 73 20 47 4e MySQL++ uses GN
01f0: 55 20 61 75 74 6f 63 6f 6e 66 2c 20 73 6f 20 79 U autoconf, so y
0200: 6f 75 20 63 61 6e 20 62 75 69 6c 64 20 69 74 20 ou can build it
0210: 77 69 74 68 20 74 68 65 20 73 74 61 6e 64 61 72 with the standar
0220: 64 0d 0a 20 20 20 20 63 6f 6d 6d 61 6e 64 73 3a d.. commands:
0230: 0d 0a 0d 0a 20 20 20 20 24 20 2e 2f 63 6f 6e 66 .... $ ./conf
0240: 69 67 75 72 65 0d 0a 20 20 20 20 24 20 6d 61 6b igure.. $ mak
0250: 65 0d 0a 20 20 20 20 24 20 73 75 0d 0a 20 20 20 e.. $ su..
0260: 20 23 20 6d 61 6b 65 20 69 6e 73 74 61 6c 6c 0d # make install.
0270: 0a 0d 0a 0d 0a 43 6f 6e 66 69 67 75 72 65 20 4f .....Configure O
0280: 70 74 69 6f 6e 73 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e ptions..~~~~~~~~
0290: 7e 7e 7e 7e 7e 7e 7e 7e 7e 0d 0a 20 20 20 20 54 ~~~~~~~~~.. T
02a0: 68 65 20 63 6f 6e 66 69 67 75 72 65 20 73 63 72 he configure scr
02b0: 69 70 74 20 74 61 6b 65 73 20 73 65 76 65 72 61 ipt takes severa
02c0: 6c 20 69 6e 74 65 72 65 73 74 69 6e 67 20 6f 70 l interesting op
02d0: 74 69 6f 6e 73 2e 20 53 61 79 3a 0d 0a 0d 0a 20 tions. Say:....
02e0: 20 20 20 20 20 20 20 24 20 2e 2f 63 6f 6e 66 69 $ ./confi
02f0: 67 75 72 65 20 2d 2d 68 65 6c 70 0d 0a 0d 0a 20 gure --help....
0300: 20 20 20 74 6f 20 67 65 74 20 61 20 6c 69 73 74 to get a list
0310: 2e 20 20 53 6f 6d 65 20 6f 66 20 74 68 65 20 6d . Some of the m
0320: 6f 72 65 20 69 6e 74 65 72 65 73 74 69 6e 67 20 ore interesting
0330: 66 6c 61 67 73 20 61 72 65 3a 0d 0a 0d 0a 20 20 flags are:....
0340: 20 20 2d 2d 70 72 65 66 69 78 3a 0d 0a 0d 0a 20 --prefix:....
0350: 20 20 20 20 20 20 20 49 66 20 79 6f 75 20 77 69 If you wi
0360: 73 68 20 74 6f 20 69 6e 73 74 61 6c 6c 20 6d 79 sh to install my
0370: 73 71 6c 2b 2b 20 69 6e 20 61 20 72 6f 6f 74 20 sql++ in a root
0380: 64 69 72 65 63 74 6f 72 79 20 6f 74 68 65 72 20 directory other
0390: 74 68 61 6e 0d 0a 20 20 20 20 20 20 20 20 2f 75 than.. /u
03a0: 73 72 2f 6c 6f 63 61 6c 2c 20 72 75 6e 20 63 6f sr/local, run co
03b0: 6e 66 69 67 75 72 65 20 77 69 74 68 20 2d 2d 70 nfigure with --p
03c0: 72 65 66 69 78 3d 2f 73 6f 6d 65 2f 64 69 72 2f refix=/some/dir/
03d0: 6e 61 6d 65 0d 0a 0d 0a 20 20 20 20 2d 2d 77 69 name.... --wi
03e0: 74 68 2d 6d 79 73 71 6c 2a 3a 0d 0a 0d 0a 20 20 th-mysql*:....
03f0: 20 20 20 20 20 20 49 66 20 79 6f 75 20 69 6e 73 If you ins
0400: 74 61 6c 6c 65 64 20 4d 79 53 51 4c 20 69 6e 20 talled MySQL in
0410: 61 6e 20 61 74 79 70 69 63 61 6c 20 6c 6f 63 61 an atypical loca
0420: 74 69 6f 6e 2c 20 74 68 65 20 63 6f 6e 66 69 67 tion, the config
0430: 75 72 65 0d 0a 20 20 20 20 20 20 20 20 73 63 72 ure.. scr
0440: 69 70 74 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 ipt will not be
0450: 61 62 6c 65 20 74 6f 20 66 69 6e 64 20 74 68 65 able to find the
0460: 20 6c 69 62 72 61 72 79 20 61 6e 64 20 68 65 61 library and hea
0470: 64 65 72 0d 0a 20 20 20 20 20 20 20 20 66 69 6c der.. fil
0480: 65 73 20 77 69 74 68 6f 75 74 20 68 65 6c 70 2e es without help.
0490: 20 20 54 68 65 20 73 69 6d 70 6c 65 73 74 20 77 The simplest w
04a0: 61 79 20 74 6f 20 63 6c 75 65 20 63 6f 6e 66 69 ay to clue confi
04b0: 67 75 72 65 20 69 6e 74 6f 0d 0a 20 20 20 20 20 gure into..
04c0: 20 20 20 77 68 65 72 65 20 4d 79 53 51 4c 20 69 where MySQL i
04d0: 73 20 69 6e 73 74 61 6c 6c 65 64 20 69 73 20 77 s installed is w
04e0: 69 74 68 20 74 68 65 20 2d 2d 77 69 74 68 2d 6d ith the --with-m
04f0: 79 73 71 6c 20 6f 70 74 69 6f 6e 2e 0d 0a 20 20 ysql option...
0500: 20 20 20 20 20 20 54 72 79 20 73 6f 6d 65 74 68 Try someth
0510: 69 6e 67 20 6c 69 6b 65 20 22 2d 2d 77 69 74 68 ing like "--with
0520: 2d 6d 79 73 71 6c 3d 2f 75 73 72 2f 6c 6f 63 61 -mysql=/usr/loca
0530: 6c 2f 6d 79 73 71 6c 22 2c 20 66 6f 72 0d 0a 20 l/mysql", for..
0540: 20 20 20 20 20 20 20 69 6e 73 74 61 6e 63 65 2e instance.
0550: 20 20 54 68 65 20 63 6f 6e 66 69 67 75 72 65 20 The configure
0560: 73 63 72 69 70 74 20 77 69 6c 6c 20 74 68 65 6e script will then
0570: 20 74 72 79 20 74 6f 20 67 75 65 73 73 20 77 68 try to guess wh
0580: 69 63 68 0d 0a 20 20 20 20 20 20 20 20 73 75 62 ich.. sub
0590: 64 69 72 65 63 74 6f 72 69 65 73 20 75 6e 64 65 directories unde
05a0: 72 20 74 68 65 20 67 69 76 65 6e 20 64 69 72 65 r the given dire
05b0: 63 74 6f 72 79 20 63 6f 6e 74 61 69 6e 20 74 68 ctory contain th
05c0: 65 20 6c 69 62 72 61 72 79 0d 0a 20 20 20 20 20 e library..
05d0: 20 20 20 61 6e 64 20 69 6e 63 6c 75 64 65 20 66 and include f
05e0: 69 6c 65 73 2e 0d 0a 0d 0a 20 20 20 20 20 20 20 iles.....
05f0: 20 49 66 20 74 68 61 74 20 64 6f 65 73 6e 27 74 If that doesn't
0600: 20 77 6f 72 6b 2c 20 69 74 27 73 20 62 65 63 61 work, it's beca
0610: 75 73 65 20 74 68 65 20 6c 69 62 72 61 72 79 20 use the library
0620: 61 6e 64 20 68 65 61 64 65 72 0d 0a 20 20 20 20 and header..
0630: 20 20 20 20 66 69 6c 65 73 20 61 72 65 6e 27 74 files aren't
0640: 20 69 6e 20 74 79 70 69 63 61 6c 20 6c 6f 63 61 in typical loca
0650: 74 69 6f 6e 73 20 75 6e 64 65 72 20 74 68 65 20 tions under the
0660: 64 69 72 65 63 74 6f 72 79 20 79 6f 75 20 67 61 directory you ga
0670: 76 65 0d 0a 20 20 20 20 20 20 20 20 66 6f 72 20 ve.. for
0680: 63 6f 6e 66 69 67 75 72 65 20 74 6f 20 66 69 6e configure to fin
0690: 64 20 74 68 65 6d 2e 20 20 53 6f 2c 20 79 6f 75 d them. So, you
06a0: 20 6e 65 65 64 20 74 6f 20 73 70 65 63 69 66 79 need to specify
06b0: 20 74 68 65 6d 0d 0a 20 20 20 20 20 20 20 20 73 them.. s
06c0: 65 70 61 72 61 74 65 6c 79 20 77 69 74 68 20 2d eparately with -
06d0: 2d 77 69 74 68 2d 6d 79 73 71 6c 2d 69 6e 63 6c -with-mysql-incl
06e0: 75 64 65 20 61 6e 64 20 2d 2d 77 69 74 68 2d 6d ude and --with-m
06f0: 79 73 71 6c 2d 6c 69 62 0d 0a 20 20 20 20 20 20 ysql-lib..
0700: 20 20 69 6e 73 74 65 61 64 2e 20 20 41 73 20 77 instead. As w
0710: 69 74 68 20 2d 2d 77 69 74 68 2d 6d 79 73 71 6c ith --with-mysql
0720: 2c 20 63 6f 6e 66 69 67 75 72 65 20 63 61 6e 20 , configure can
0730: 6f 66 74 65 6e 20 67 75 65 73 73 0d 0a 20 20 20 often guess..
0740: 20 20 20 20 20 77 68 69 63 68 20 73 75 62 64 69 which subdi
0750: 72 65 63 74 6f 72 79 20 75 6e 64 65 72 20 74 68 rectory under th
0760: 65 20 67 69 76 65 6e 20 64 69 72 65 63 74 6f 72 e given director
0770: 79 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 0d 0a y contains the..
0780: 20 20 20 20 20 20 20 20 6e 65 65 64 65 64 20 66 needed f
0790: 69 6c 65 73 2c 20 73 6f 20 79 6f 75 20 64 6f 6e iles, so you don
07a0: 27 74 20 6e 65 63 65 73 73 61 72 69 6c 79 20 68 't necessarily h
07b0: 61 76 65 20 74 6f 20 67 69 76 65 20 74 68 65 20 ave to give the
07c0: 66 75 6c 6c 0d 0a 20 20 20 20 20 20 20 20 70 61 full.. pa
07d0: 74 68 20 74 6f 20 74 68 65 73 65 20 66 69 6c 65 th to these file
07e0: 73 2e 0d 0a 20 20 20 20 0d 0a 20 20 20 20 2d 2d s... .. --
07f0: 77 69 74 68 2d 66 69 65 6c 64 2d 6c 69 6d 69 74 with-field-limit
0800: 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 54 68 69 :.... Thi
0810: 73 20 6c 65 74 73 20 79 6f 75 20 69 6e 63 72 65 s lets you incre
0820: 61 73 65 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 ase the maximum
0830: 66 69 65 6c 64 20 6c 69 6d 69 74 20 66 6f 72 20 field limit for
0840: 74 65 6d 70 6c 61 74 65 0d 0a 20 20 20 20 20 20 template..
0850: 20 20 71 75 65 72 69 65 73 20 61 6e 64 20 53 53 queries and SS
0860: 51 4c 53 65 73 2e 20 20 42 79 20 64 65 66 61 75 QLSes. By defau
0870: 6c 74 2c 20 62 6f 74 68 20 61 72 65 20 6c 69 6d lt, both are lim
0880: 69 74 65 64 20 74 6f 20 32 35 0d 0a 20 20 20 20 ited to 25..
0890: 20 20 20 20 66 69 65 6c 64 73 2e 20 20 53 65 65 fields. See
08a0: 20 63 68 61 70 74 65 72 20 38 2e 32 20 69 6e 20 chapter 8.2 in
08b0: 74 68 65 20 75 73 65 72 20 6d 61 6e 75 61 6c 20 the user manual
08c0: 66 6f 72 20 64 65 74 61 69 6c 73 3a 0d 0a 0d 0a for details:....
08d0: 20 20 20 20 20 20 20 20 68 74 74 70 3a 2f 2f 74 http://t
08e0: 61 6e 67 65 6e 74 73 6f 66 74 2e 6e 65 74 2f 6d angentsoft.net/m
08f0: 79 73 71 6c 2b 2b 2f 64 6f 63 2f 68 74 6d 6c 2f ysql++/doc/html/
0900: 75 73 65 72 6d 61 6e 2f 63 6f 6e 66 69 67 75 72 userman/configur
0910: 61 74 69 6f 6e 2e 68 74 6d 6c 0d 0a 0d 0a 20 20 ation.html....
0920: 20 20 2d 2d 65 6e 61 62 6c 65 2d 74 68 72 65 61 --enable-threa
0930: 64 2d 63 68 65 63 6b 3a 0d 0a 0d 0a 20 20 20 20 d-check:....
0940: 20 20 20 20 42 75 69 6c 64 73 20 4d 79 53 51 4c Builds MySQL
0950: 2b 2b 20 77 69 74 68 20 74 68 72 65 61 64 69 6e ++ with threadin
0960: 67 20 73 75 70 70 6f 72 74 2c 20 69 66 20 70 6f g support, if po
0970: 73 73 69 62 6c 65 2e 0d 0a 20 20 20 20 20 20 20 ssible...
0980: 20 0d 0a 20 20 20 20 20 20 20 20 54 68 69 73 20 .. This
0990: 6f 70 74 69 6f 6e 20 73 69 6d 70 6c 79 20 74 75 option simply tu
09a0: 72 6e 73 20 6f 6e 20 74 77 6f 20 74 65 73 74 73 rns on two tests
09b0: 3a 20 66 69 72 73 74 2c 20 74 68 61 74 20 79 6f : first, that yo
09c0: 75 72 0d 0a 20 20 20 20 20 20 20 20 73 79 73 74 ur.. syst
09d0: 65 6d 20 75 73 65 73 20 61 20 63 6f 6d 70 61 74 em uses a compat
09e0: 69 62 6c 65 20 74 68 72 65 61 64 69 6e 67 20 6c ible threading l
09f0: 69 62 72 61 72 79 3b 20 61 6e 64 20 73 65 63 6f ibrary; and seco
0a00: 6e 64 2c 0d 0a 20 20 20 20 20 20 20 20 74 68 61 nd,.. tha
0a10: 74 20 74 68 65 20 74 68 72 65 61 64 2d 73 61 66 t the thread-saf
0a20: 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 e version of the
0a30: 20 4d 79 53 51 4c 20 43 20 41 50 49 20 6c 69 62 MySQL C API lib
0a40: 72 61 72 79 0d 0a 20 20 20 20 20 20 20 20 28 6c rary.. (l
0a50: 69 62 6d 79 73 71 6c 63 6c 69 65 6e 74 5f 72 29 ibmysqlclient_r)
0a60: 20 69 73 20 69 6e 73 74 61 6c 6c 65 64 20 61 6e is installed an
0a70: 64 20 77 6f 72 6b 69 6e 67 2e 20 20 49 66 20 62 d working. If b
0a80: 6f 74 68 20 6f 66 0d 0a 20 20 20 20 20 20 20 20 oth of..
0a90: 74 68 65 73 65 20 61 72 65 20 74 72 75 65 2c 20 these are true,
0aa0: 79 6f 75 20 67 65 74 20 61 20 74 68 72 65 61 64 you get a thread
0ab0: 2d 61 77 61 72 65 20 76 65 72 73 69 6f 6e 20 6f -aware version o
0ac0: 66 20 4d 79 53 51 4c 2b 2b 2e 0d 0a 20 20 20 20 f MySQL++...
0ad0: 20 20 20 20 22 54 68 72 65 61 64 2d 61 77 61 72 "Thread-awar
0ae0: 65 22 20 6d 65 61 6e 73 20 74 68 61 74 20 74 68 e" means that th
0af0: 65 20 6c 69 62 72 61 72 79 20 64 6f 65 73 20 6d e library does m
0b00: 61 6b 65 20 61 6e 20 65 66 66 6f 72 74 20 74 6f ake an effort to
0b10: 0d 0a 20 20 20 20 20 20 20 20 70 72 65 76 65 6e .. preven
0b20: 74 20 70 72 6f 62 6c 65 6d 73 2c 20 62 75 74 20 t problems, but
0b30: 77 65 20 64 6f 6e 27 74 20 67 75 61 72 61 6e 74 we don't guarant
0b40: 65 65 20 74 68 61 74 20 61 6c 6c 20 70 6f 73 73 ee that all poss
0b50: 69 62 6c 65 0d 0a 20 20 20 20 20 20 20 20 75 73 ible.. us
0b60: 65 73 20 6f 66 20 4d 79 53 51 4c 2b 2b 20 61 72 es of MySQL++ ar
0b70: 65 20 74 68 72 65 61 64 2d 73 61 66 65 2e 0d 0a e thread-safe...
0b80: 0d 0a 20 20 20 20 20 20 20 20 4e 6f 74 65 20 74 .. Note t
0b90: 68 61 74 20 74 68 69 73 20 69 73 20 61 20 73 75 hat this is a su
0ba0: 67 67 65 73 74 69 6f 6e 2c 20 6e 6f 74 20 61 20 ggestion, not a
0bb0: 63 6f 6d 6d 61 6e 64 2e 20 20 49 66 20 77 65 20 command. If we
0bc0: 63 61 6e 27 74 0d 0a 20 20 20 20 20 20 20 20 66 can't.. f
0bd0: 69 67 75 72 65 20 6f 75 74 20 74 68 65 20 73 79 igure out the sy
0be0: 73 74 65 6d 27 73 20 74 68 72 65 61 64 69 6e 67 stem's threading
0bf0: 20 6d 6f 64 65 6c 20 6f 72 20 63 61 6e 27 74 20 model or can't
0c00: 66 69 6e 64 20 74 68 65 0d 0a 20 20 20 20 20 20 find the..
0c10: 20 20 74 68 72 65 61 64 2d 61 77 61 72 65 20 62 thread-aware b
0c20: 75 69 6c 64 20 6f 66 20 74 68 65 20 43 20 41 50 uild of the C AP
0c30: 49 20 6c 69 62 72 61 72 79 2c 20 63 6f 6e 66 69 I library, confi
0c40: 67 75 72 65 20 77 6f 6e 27 74 20 66 61 69 6c 2e gure won't fail.
0c50: 0d 0a 20 20 20 20 20 20 20 20 49 74 20 6a 75 73 .. It jus
0c60: 74 20 72 65 76 65 72 74 73 20 74 6f 20 74 68 65 t reverts to the
0c70: 20 73 74 61 6e 64 61 72 64 20 73 69 6e 67 6c 65 standard single
0c80: 2d 74 68 72 65 61 64 20 62 75 69 6c 64 2e 0d 0a -thread build...
0c90: 0d 0a 20 20 20 20 20 20 20 20 53 65 65 20 74 68 .. See th
0ca0: 65 20 63 68 61 70 74 65 72 20 6f 6e 20 74 68 72 e chapter on thr
0cb0: 65 61 64 69 6e 67 20 69 6e 20 74 68 65 20 75 73 eading in the us
0cc0: 65 72 20 6d 61 6e 75 61 6c 20 66 6f 72 20 6d 6f er manual for mo
0cd0: 72 65 0d 0a 20 20 20 20 20 20 20 20 64 65 74 61 re.. deta
0ce0: 69 6c 73 20 61 6e 64 20 61 64 76 69 63 65 20 6f ils and advice o
0cf0: 6e 20 63 72 65 61 74 69 6e 67 20 74 68 72 65 61 n creating threa
0d00: 64 2d 73 61 66 65 20 70 72 6f 67 72 61 6d 73 20 d-safe programs
0d10: 77 69 74 68 0d 0a 20 20 20 20 20 20 20 20 4d 79 with.. My
0d20: 53 51 4c 2b 2b 2e 0d 0a 0d 0a 0d 0a 42 75 69 6c SQL++.......Buil
0d30: 64 69 6e 67 20 61 20 53 74 61 74 69 63 20 4c 69 ding a Static Li
0d40: 62 72 61 72 79 0d 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e brary..~~~~~~~~~
0d50: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e ~~~~~~~~~~~~~~~~
0d60: 0d 0a 20 20 20 20 41 73 20 73 68 69 70 70 65 64 .. As shipped
0d70: 2c 20 4d 79 53 51 4c 2b 2b 20 6f 6e 6c 79 20 62 , MySQL++ only b
0d80: 75 69 6c 64 73 20 61 20 73 68 61 72 65 64 20 6c uilds a shared l
0d90: 69 62 72 61 72 79 2e 20 20 49 74 27 73 20 70 6f ibrary. It's po
0da0: 73 73 69 62 6c 65 20 74 6f 0d 0a 20 20 20 20 63 ssible to.. c
0db0: 68 61 6e 67 65 20 74 68 69 6e 67 73 20 73 6f 20 hange things so
0dc0: 79 6f 75 20 67 65 74 20 61 20 73 74 61 74 69 63 you get a static
0dd0: 20 6c 69 62 72 61 72 79 20 69 6e 73 74 65 61 64 library instead
0de0: 2e 0d 0a 0d 0a 20 20 20 20 42 65 66 6f 72 65 20 ..... Before
0df0: 77 65 20 67 65 74 20 74 6f 20 22 68 6f 77 2c 22 we get to "how,"
0e00: 20 62 65 77 61 72 65 20 74 68 61 74 20 6c 69 6b beware that lik
0e10: 69 6e 67 20 73 74 61 74 69 63 61 6c 6c 79 20 74 ing statically t
0e20: 6f 20 4d 79 53 51 4c 2b 2b 20 68 61 73 0d 0a 20 o MySQL++ has..
0e30: 20 20 20 6c 65 67 61 6c 20 63 6f 6e 73 65 71 75 legal consequ
0e40: 65 6e 63 65 73 20 74 68 61 74 20 6d 61 79 20 6d ences that may m
0e50: 61 74 74 65 72 20 74 6f 20 79 6f 75 2c 20 64 75 atter to you, du
0e60: 65 20 74 6f 20 74 68 65 20 6c 69 62 72 61 72 79 e to the library
0e70: 27 73 0d 0a 20 20 20 20 6c 69 63 65 6e 73 65 2c 's.. license,
0e80: 20 74 68 65 20 47 4e 55 20 4c 47 50 4c 2e 20 20 the GNU LGPL.
0e90: 46 61 6d 69 6c 69 61 72 69 7a 65 20 79 6f 75 72 Familiarize your
0ea0: 73 65 6c 66 20 77 69 74 68 20 74 68 65 20 6c 69 self with the li
0eb0: 63 65 6e 73 65 2c 20 61 6e 64 0d 0a 20 20 20 20 cense, and..
0ec0: 63 6f 6e 73 69 64 65 72 20 67 65 74 74 69 6e 67 consider getting
0ed0: 20 6c 65 67 61 6c 20 63 6f 75 6e 73 65 6c 20 62 legal counsel b
0ee0: 65 66 6f 72 65 20 70 72 6f 63 65 65 64 69 6e 67 efore proceeding
0ef0: 2e 20 20 41 6c 73 6f 2c 20 73 65 65 20 74 68 65 . Also, see the
0f00: 0d 0a 20 20 20 20 4d 79 53 51 4c 2b 2b 20 46 41 .. MySQL++ FA
0f10: 51 3a 20 68 74 74 70 3a 2f 2f 74 61 6e 67 65 6e Q: http://tangen
0f20: 74 73 6f 66 74 2e 6e 65 74 2f 6d 79 73 71 6c 2b tsoft.net/mysql+
0f30: 2b 2f 23 66 61 71 20 20 54 68 65 72 65 20 69 73 +/#faq There is
0f40: 20 6d 6f 72 65 20 6f 6e 0d 0a 20 20 20 20 74 68 more on.. th
0f50: 69 73 20 74 6f 70 69 63 20 74 68 65 72 65 2e 0d is topic there..
0f60: 0a 0d 0a 20 20 20 20 54 68 65 20 6e 65 63 65 73 ... The neces
0f70: 73 61 72 79 20 63 68 61 6e 67 65 73 20 61 72 65 sary changes are
0f80: 20 61 6c 6c 20 69 6e 20 6d 79 73 71 6c 2b 2b 2e all in mysql++.
0f90: 62 6b 6c 3a 0d 0a 0d 0a 20 20 20 20 20 20 20 20 bkl:....
0fa0: 2d 20 43 68 61 6e 67 65 20 74 68 65 20 3c 64 6c - Change the <dl
0fb0: 6c 3e 20 74 61 67 20 74 6f 20 3c 6c 69 62 3e 2e l> tag to <lib>.
0fc0: 20 20 28 52 65 6d 65 6d 62 65 72 20 74 68 65 20 (Remember the
0fd0: 63 6c 6f 73 69 6e 67 20 74 61 67 21 29 0d 0a 0d closing tag!)...
0fe0: 0a 20 20 20 20 20 20 20 20 2d 20 52 65 6d 6f 76 . - Remov
0ff0: 65 20 74 68 65 20 3c 64 6c 6c 6e 61 6d 65 3e 20 e the <dllname>
1000: 74 61 67 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2d tag.... -
1010: 20 52 65 6d 6f 76 65 20 74 68 65 20 3c 73 6f 5f Remove the <so_
1020: 76 65 72 73 69 6f 6e 3e 20 74 61 67 0d 0a 0d 0a version> tag....
1030: 20 20 20 20 54 68 65 6e 2c 20 72 65 2d 62 6f 6f Then, re-boo
1040: 74 73 74 72 61 70 20 74 68 65 20 6c 69 62 72 61 tstrap the libra
1050: 72 79 2e 20 20 53 65 65 20 48 41 43 4b 45 52 53 ry. See HACKERS
1060: 2e 74 78 74 20 69 66 20 79 6f 75 20 6e 65 65 64 .txt if you need
1070: 20 66 75 72 74 68 65 72 0d 0a 20 20 20 20 69 6e further.. in
1080: 73 74 72 75 63 74 69 6f 6e 20 6f 6e 20 64 6f 69 struction on doi
1090: 6e 67 20 74 68 61 74 2e 0d 0a ng that...