OS X Source Compile Woes

Jeff Kirkell jeff.kirkell at gmail.com
Tue Aug 7 21:28:25 EDT 2012


Is anyone having trouble compiling from github source on OS X Mountain
Lion? I am currently running Erlang R15B01.

Not sure if there is an official log file, but here is what appears prior
to the compile error

in16.h ../../dist/include/nspr
cd src; make export
cd io; make export
make[6]: Nothing to be done for `export'.
cd linking; make export
cc -o prlink.o -c     -m32  -Wall -fno-common -pthread -O2 -fPIC  -UDEBUG
 -DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1
-DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -DFORCE_PR_LOG
-D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_
-I../../../dist/include/nspr -I../../../pr/include
-I../../../pr/include/private -I/Developer/Headers/FlatCarbon  prlink.c
prlink.c:48:10: fatal error: 'CodeFragments.h' file not found
#include <CodeFragments.h>
         ^
1 error generated.
make[6]: *** [prlink.o] Error 1
make[5]: *** [export] Error 2
make[4]: *** [export] Error 2
make[3]: *** [export] Error 2
make[2]: ***
[/Users/jeff/Database/riaka-1.2.0/deps/erlang_js/c_src/system/lib/libnspr4.a]
Error 2
make[1]: *** [c_src] Error 2
ERROR: Command [compile] failed!
make: *** [rel] Error 1

P.S. this happens when doing make or any of the sub-commands i.e. make rel

Thanks.
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120807/c07c79c2/attachment.html>


More information about the riak-users mailing list