[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
*snip*
> > 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:
> https://sourceforge.net/tracker/index.php?func=detail&aid=509485&group_id=5997&atid=105997
> 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?
HTH Ralf
---
/* For tsearch */
typedef enum
{
preorder,
postorder,
endorder,
leaf
}
VISIT;
---
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list