~jan-kneschke/mysql-proxy/packet-tracking-assertions

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Kay Roepke
  • Date: 2009-09-02 14:04:24 UTC
  • Revision ID: kay@sun.com-20090902140424-j795532tpi1y06lt
Fix linking errors on Win32:
 * chassis-timing was missing CHASSIS_API
 * evutil_socketpair was not exported

Suppress superfluous warnings from MSVC and fix a couple of valid ones (unused variables etc).

Add third path to the dllexport macros, to be used in testcases which are statically linked (fixes linker warnings).
Fixes PR-237

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
/usr/local/share/aclocal. Setting ACLOCAL_FLAGS to get a include directory makes aclocal
39
39
aware of the new location.
40
40
 
41
 
  $ ACLOCAL_FLAGS="-I /opt/local/share/aclocal"
 
41
  $ ACLOCAL_FLAGS="-I /sw/share/aclocal/"
42
42
  $ export ACLOCAL_FLAGS
43
43
  $ sh ./autogen.sh
44
44
 
45
 
if using fink probably: ACLOCAL_FLAGS="-I /sw/share/aclocal"
46
 
 
47
 
 
48
45
Installing from Source 
49
46
======================
50
47
 
132
129
If you are using darwin-ports pkg-config might not be able to see the glib-2.0.pc in 
133
130
/opt/local/lib/pkgconfig.
134
131
 
135
 
  $ ./configure PKG_CONFIG_PATH=/opt/local/lib/pkgconfig \
136
 
                LDFLAGS=-L/opt/local/lib \
137
 
                CPPFLAGS=-I/opt/local/include
 
132
  $ PKG_CONFIG_PATH="/opt/local/lib/pkgconfig" \
 
133
      ./configure
138
134
 
139
135
openSUSE
140
136
--------
285
281
    LDFLAGS="-L/directory/of/libevent.so -levent" \
286
282
    CPPFLAGS="-I/directory/of/event.h"
287
283
 
288
 
In case the detected MySQL is not the correct one:
289
 
 
290
 
export DEFAULT_MYSQL=/path/to/mysql-5.1
291
 
export MYSQL_LIBS="-L${DEFAULT_MYSQL} -lmysqlclient -lz -lm"
292
 
export MYSQL_CFLAGS="-I${DEFAULT_MYSQL}/include"
293
 
export MYSQL_CONFIG="${DEFAULT_MYSQL}/bin/mysql_config"
294
 
export MYSQL_TEST_BIN="${DEFAULT_MYSQL}/bin/mysqltest"
295
 
 
296
 
 
297
284
Building
298
285
========
299
286