File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -40,22 +40,21 @@ You can also get the source by "git clone" our git repository. Make sure you
40
40
have also cloned the submodules and generated the configure script (skip this
41
41
if you are using a release .tar.gz or .zip package):
42
42
43
- ``` shell
44
43
git clone https://github.com/protocolbuffers/protobuf.git
45
44
cd protobuf
46
45
git submodule update --init --recursive
47
46
./autogen.sh
48
- ```
47
+
49
48
To build and install the C++ Protocol Buffer runtime and the Protocol
50
49
Buffer compiler (protoc) execute the following:
51
50
52
- ``` shell
51
+
53
52
./configure
54
53
make
55
54
make check
56
55
sudo make install
57
56
sudo ldconfig # refresh shared library cache.
58
- ```
57
+
59
58
If "make check" fails, you can still install, but it is likely that
60
59
some features of this library will not work correctly on your system.
61
60
Proceed at your own risk.
@@ -123,15 +122,15 @@ of "protobuf" in these examples.
123
122
For a Mac system, Unix tools are not available by default. You will first need
124
123
to install Xcode from the Mac AppStore and then run the following command from
125
124
a terminal:
126
- ``` shell
125
+
127
126
sudo xcode-select --install
128
- ` ` ` shell
127
+
129
128
To install Unix tools, you can install "port" following the instructions at
130
129
https://www.macports.org . This will reside in /opt/local/bin/port for most
131
130
Mac installations.
132
- ` ` ` shell
131
+
133
132
sudo /opt/local/bin/port install autoconf automake libtool
134
- ```
133
+
135
134
Then follow the Unix instructions above.
136
135
137
136
** Note for cross-compiling**
You can’t perform that action at this time.
0 commit comments