[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Leafnode 2.0b8_ma9 on MacOS X 10.1.2?
Matthias Andree wrote:
> Jari Lehtonen <jari@xxxxxx> writes:
> > redblack.h:45: header file 'search.h' not found
> > Is anyone running leafnode 2 on MacOS X? I've been running 1.9.19 for
> > several months without problems. Missing "search.h" suggests a missing
> > library of some sort.
> As far as search.h is concerned, it is used to pull in symbols to
> reflect the API of tsearch(3) et al. My understanding is that MacOS X
> lacks tsearch(3) and the search.h that defines it, and therefore,
> redblack.h fails to pull in the symbols -- this is a portability problem
> with redblack.h.
> Anyways, I filed a problem report against libredblack at sourceforge
> (URL above), #509485, see:
> It looks as though leafnode_2.0b8_ma9 is currently unsupported on MacOS X.
Maybe not really. IMHO search.h is needed just do define VISIT. Does
it help if you replace the #include <search.h> with the following definition?
/* For tsearch */
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list