server_installation:opensrf_on_osx
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
server_installation:opensrf_on_osx [2011/08/29 18:02] – created jamesrf | server_installation:opensrf_on_osx [2022/02/10 13:34] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Rough notes for getting OpenSRF running on OS X ==== | ==== Rough notes for getting OpenSRF running on OS X ==== | ||
- | This was tested on master OpenSRF @ba3ca05 | + | This was tested on master OpenSRF @ba3ca05, OS X Lion |
- | Install MacPorts | + | You need to install XCode and MacPorts. |
+ | |||
+ | In MacPorts install something like the following ports: | ||
apache2 @2.2.19_0+preforkmpm+universal (active) platform=' | apache2 @2.2.19_0+preforkmpm+universal (active) platform=' | ||
Line 24: | Line 26: | ||
- | git clone git:// | + | Do something like this: |
- | cd OpenSRF | + | |
- | ./ | + | |
- | ./configure --with-apxs=/ | + | cd OpenSRF |
- | make | + | |
- | sudo make install | + | You need to do this to src/ |
+ | |||
+ | diff --git a/ | ||
+ | index c0ab46e..2cafa4b 100644 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -5,7 +5,6 @@ | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | -#include < | ||
+ | # | ||
+ | # | ||
+ | |||
+ | Then do this or something: | ||
+ | |||
+ | | ||
+ | ./configure --with-apxs=/ | ||
+ | make | ||
+ | sudo make install | ||
+ | |||
+ | You need to do this at some point and it needs to be done each time you reboot before you start Ejabberd, if you want to run OpenSRF: | ||
- | #===== | + | |
- | sudo ifconfig lo0 alias 127.0.1.2 | + | sudo ifconfig lo0 alias 127.0.1.3 |
- | sudo ifconfig lo0 alias 127.0.1.3 | + | |
- | #add the usual stuff to /etc/hosts and ejabberdcfg | + | Be sure to add the usual stuff to /etc/hosts and ejabberdcfg |
- | # add an OpenSRF user | + | Add an OpenSRF user via the normal " |
# run this before starting OpenSRF | # run this before starting OpenSRF | ||
- | export DYLD_LIBRARY_PATH=/ | + | |
server_installation/opensrf_on_osx.1314655329.txt.gz · Last modified: 2022/02/10 13:34 (external edit)