User Tools

Site Tools


server_installation:opensrf_on_osx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
server_installation:opensrf_on_osx [2011/08/29 18:05] jamesrfserver_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 and the following ports:+You need to install XCode and MacPorts. 
 + 
 +In MacPorts install something like the following ports:
  
   apache2 @2.2.19_0+preforkmpm+universal (active) platform='darwin 11' archs='i386 x86_64'   apache2 @2.2.19_0+preforkmpm+universal (active) platform='darwin 11' archs='i386 x86_64'
Line 28: Line 30:
   git clone git://git.evergreen-ils.org/OpenSRF.git   git clone git://git.evergreen-ils.org/OpenSRF.git
   cd OpenSRF   cd OpenSRF
 +  
 +You need to do this to src/c-apps/timejson.c
 +
 +  diff --git a/src/c-apps/timejson.c b/src/c-apps/timejson.c
 +  index c0ab46e..2cafa4b 100644
 +  --- a/src/c-apps/timejson.c
 +  +++ b/src/c-apps/timejson.c
 +  @@ -5,7 +5,6 @@
 +   #include <time.h>
 +   #include <sys/time.h>
 +   #include <sys/resource.h>
 +  -#include <malloc.h>
 +   #include "opensrf/utils.h"
 +   #include "opensrf/osrf_json.h"
 +
 +Then do this or something:
 +
   ./autogen.sh   ./autogen.sh
   ./configure --with-apxs=/opt/local/apache2/bin/apxs  --with-libraries=/opt/local/lib:/usr/lib --with-includes=/opt/local/include/ --with-apache=/opt/local/include --with-apr=/opt/local/include/apr-1/ --with-libxml=/opt/local/include/libxml2   ./configure --with-apxs=/opt/local/apache2/bin/apxs  --with-libraries=/opt/local/lib:/usr/lib --with-includes=/opt/local/include/ --with-apache=/opt/local/include --with-apr=/opt/local/include/apr-1/ --with-libxml=/opt/local/include/libxml2
Line 33: Line 52:
   sudo make install   sudo make install
  
-You need to do this at some point and it needs to be done each time you reboot if you want to run OpenSRF:+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.2
server_installation/opensrf_on_osx.1314655529.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.