Just to say this basically works fine on OSX (10.3.3)
A few minor tweaks - first off, weex looks for the macro __unix__
to be defined, but the Mac compiler doesn't set this so I had to
configure as...
CFLAGS=gcc -D__unix__
to get things nice...
Also a few header differences:
In sub.c, before
#include <regex.h>
add
#include <sys/types.h>
And in filedata.c, add
#include <unistd.h>
to the headers.
Thereafter, all is well.
Cheers,
--
Ian
Logged In: YES
user_id=1666941
Originator: NO
prompt> export CFLAGS="-D__unix__"
prompt> ./configure
prompt> make
prompt> make install