diff options
-rw-r--r-- | INSTALL.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -171,15 +171,21 @@ Different: libvpx (webm) libopus pkgconfig gettext | |||
171 | (the libintl, from gettext, built into OS X 10.5 is missing libintl_setlocale, but the Macports build has it) | 171 | (the libintl, from gettext, built into OS X 10.5 is missing libintl_setlocale, but the Macports build has it) |
172 | 172 | ||
173 | Verify where libintl is on your system: (MacPorts puts it in /opt/local) | 173 | Verify where libintl is on your system: (MacPorts puts it in /opt/local) |
174 | $ for d in /usr/local/lib /opt/local/lib /usr/lib /lib; do ls -l $d/libintl.*; done | 174 | ``` |
175 | for d in /usr/local/lib /opt/local/lib /usr/lib /lib; do ls -l $d/libintl.*; done | ||
176 | ``` | ||
175 | 177 | ||
176 | Check if that copy has libintl_setlocale: | 178 | Check if that copy has libintl_setlocale: |
179 | ``` | ||
177 | nm /opt/local/lib/libintl.8.dylib | grep _libintl_setlocale | 180 | nm /opt/local/lib/libintl.8.dylib | grep _libintl_setlocale |
181 | ``` | ||
178 | 182 | ||
179 | Certain other tools may not be installed, or outdated, and should also be installed from MacPorts for simplicity: git cmake | 183 | Certain other tools may not be installed, or outdated, and should also be installed from MacPorts for simplicity: git cmake |
180 | 184 | ||
181 | If libsodium was installed with MacPorts, you may want to symlink the copy in /opt/local/lib to /usr/local/lib. That way you don't need special configure switches for toxcore to find libsodium, and every time MacPorts updates libsodium, the new version will be linked to toxcore every time you build: | 185 | If libsodium was installed with MacPorts, you may want to symlink the copy in /opt/local/lib to /usr/local/lib. That way you don't need special configure switches for toxcore to find libsodium, and every time MacPorts updates libsodium, the new version will be linked to toxcore every time you build: |
186 | ``` | ||
182 | ln -s /opt/local/lib/libsodium.dylib /usr/local/lib/libsodium.dylib | 187 | ln -s /opt/local/lib/libsodium.dylib /usr/local/lib/libsodium.dylib |
188 | ``` | ||
183 | 189 | ||
184 | Much of the build can then be done as for other platforms: git clone, and so on. Differences will be noted with (OS X 10.5 specific) | 190 | Much of the build can then be done as for other platforms: git clone, and so on. Differences will be noted with (OS X 10.5 specific) |
185 | 191 | ||
@@ -217,7 +223,9 @@ There is also a shell script called "osx_build_script_toxcore.txt" which automat | |||
217 | 223 | ||
218 | If after running ./configure you get an error about core being unable to find libsodium (and you have installed it) run the following in place of ./configure; | 224 | If after running ./configure you get an error about core being unable to find libsodium (and you have installed it) run the following in place of ./configure; |
219 | 225 | ||
226 | ``` | ||
220 | ./configure --with-libsodium-headers=/usr/local/include/ --with-libsodium-libs=/usr/local/lib | 227 | ./configure --with-libsodium-headers=/usr/local/include/ --with-libsodium-libs=/usr/local/lib |
228 | ``` | ||
221 | 229 | ||
222 | Ensure you set the locations correctly depending on where you installed libsodium on your computer. | 230 | Ensure you set the locations correctly depending on where you installed libsodium on your computer. |
223 | 231 | ||