blob: 06ad535d048aec24b63734b53ef120e05a420468 [file] [log] [blame]
temporal40ee5512008-07-10 02:12:20 +00001Protocol Buffers - Google's data interchange format
2Copyright 2008 Google Inc.
3http://code.google.com/apis/protocolbuffers/
4
5BETA WARNING
6============
7
8This package is a beta. This means that API may change in an
temporala44f3c32008-08-15 18:32:02 +00009incompatible way in the future (however, the wire format will *not*
10change). It's unlikely that any big changes will be made, but we can
11make no promises. Expect a non-beta release in late August 2008.
temporal40ee5512008-07-10 02:12:20 +000012
temporalcc930432008-07-21 20:28:30 +000013C++ Installation - Unix
14=======================
temporal40ee5512008-07-10 02:12:20 +000015
16To build and install the C++ Protocol Buffer runtime and the Protocol
17Buffer compiler (protoc) execute the following:
18
19 $ ./configure
20 $ make
21 $ make check
22 $ make install
23
24If "make check" fails, you can still install, but it is likely that
25some features of this library will not work correctly on your system.
26Proceed at your own risk.
27
28"make install" may require superuser privileges.
29
temporalcc930432008-07-21 20:28:30 +000030For advanced usage information on configure and make, see INSTALL.txt.
31
32** Hint on insall location **
33
34 By default, the package will be installed to /usr/local. However,
35 on many platforms, /usr/local/lib is not part of LD_LIBRARY_PATH.
36 You can add it, but it may be easier to just install to /usr
37 instead. To do this, invoke configure as follows:
38
39 ./configure --prefix=/usr
40
41 If you already built the package with a different prefix, make sure
42 to run "make clean" before building again.
temporal40ee5512008-07-10 02:12:20 +000043
44** Note for Solaris users **
45
46 Solaris 10 x86 has a bug that will make linking fail, complaining
47 about libstdc++.la being invalid. We have included a work-around
48 in this package. To use the work-around, run configure as follows:
49
50 ./configure LDFLAGS=-L$PWD/src/solaris
51
52 See src/solaris/libstdc++.la for more info on this bug.
53
temporalcc930432008-07-21 20:28:30 +000054C++ Installation - Windows
55==========================
56
57If you are using Micosoft Visual C++, see vsprojects/readme.txt.
58
59If you are using Cygwin or MinGW, follow the Unix installation
60instructions, above.
61
temporal40ee5512008-07-10 02:12:20 +000062Java and Python Installation
63============================
64
65The Java and Python runtime libraries for Protocol Buffers are located
66in the java and python directories. See the README file in each
67directory for more information on how to compile and install them.
68Note that both of them require you to first install the Protocol
69Buffer compiler (protoc), which is part of the C++ package.
70
71Usage
72=====
73
74The complete documentation for Protocol Buffers is available via the
75web at:
76
77 http://code.google.com/apis/protocolbuffers/