What steps will reproduce the problem?
1. Install lua and mongodb via macports
2. download source code
3. make
What is the expected output? What do you see instead?
expected a successful build, got errors.
What version of the product are you using? On what operating system?
svn checkout as of 2011/01/20
Snow Leopard 10.6.6
Please provide any additional information below.
This is two problems:
first is that macports puts everything in opt/local. This is fixed by changing
the Makefile CFLAGS to:
CFLAGS= -g -O2 -shared -fpic -I/opt/local/include/ -I/opt/local/include/mongo/
-L/opt/local/lib/
second is a linker problem:
I needed to add two more shared libraries in the makefile to get a successful
compile
LIBS=-lmongoclient -lboost_thread-mt -lboost_filesystem-mt
-lboost_program_options-mt -lboost_system-mt -llua
Original issue reported on code.google.com by mtn...@gmail.com on 20 Jan 2011 at 6:38
Original issue reported on code.google.com by
mtn...@gmail.com
on 20 Jan 2011 at 6:38