[libRETS-users] Re: Building retsLib and ezRets on Mac OS X 10.4
Keith T. Garner
kgarner at crt.realtors.org
Fri Feb 2 09:44:54 CST 2007
As this is libRETS related, I'm cc'ing the libRETS mailing list, mostly for
archival purposes.
Tom Wiebe wrote:
> Hi Keith,
>
> I'm working with Jim Van Heule of Heunox Corp. trying to get libRets and
> ezRets up and running on OS X Tiger and seem to have run into a brick
> wall with getting libRets compiled, it seems to be having difficulty
> linking to the antlr install, antlr's installed and working when I call
> the binary so, I'm not sure what else to look at.
>
> ./configure CFLAGS=-I/opt/local/include LDFLAGS=-/opt/local/lib \
> --with-expat-prefix=/opt/local --with-boost-prefix=/opt/local \
> --with-prefix=/opt/local
Typically, I put the environmental variable changes before the calling
application. I forgot if configure can work either way, but I've always
seen the modification before. (Also you missed the -L in your LDFLAGS, but
that could be a transcription error.) So I'd do something like:
CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --whatever
> is the configure statement I'm passing for librets and, all the
> appropriate goodies are living in the locations noted above.
It looks good otherwise.
[snip]
> and my JAVA_HOME is set to
> JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home, which I
> believe to be correct.
I haven't had to do this on my MacBook Pro, but it probably doesn't hurt.
Anyway, it doesn't effect the error you're seeing. The test is to see if
the we can link against the C++ level antlr lib.
> I'm on an intel box, a core 2 duo macbook pro, to be exact. I had
> previously successfully compiled an older version of libRets, perhaps
> last March or so, on a PPC box but, not sure what version off the top of
> my head. At that time, I basically just did ./configure; make; make
> install but, who knows what might have changed in the interim.
Nothing on the configure side.
> Any ideas? Pointers? Anyone else done this before (compiled on OS X,
> that is)?
libRETS was developed primarily on OS X. The use of Linux and Windows
during development was primarily just for building and testing.
A lot of the time I use Xcode for my libRETS, but configure should work. It
does for me.
Now, ./configure doesn't work on OS X for ezRETS, only XCode, but thats a
discussion for another e-mail (and for cc'ing another mailing list.)
Keith
--
Keith T. Garner - Managing Director - Center for REALTOR® Technology
kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt
More information about the libRETS-users
mailing list