[Xapian-discuss] Compiling omega 1.0.6 on Mac OS X 10.5.2 results in an error.
Olly Betts
olly at survex.com
Tue Apr 15 11:34:22 BST 2008
On Tue, Apr 15, 2008 at 09:00:07AM +0100, Olly Betts wrote:
> On Mon, Apr 14, 2008 at 12:10:44PM -0300, Bill Hutten wrote:
> > freemem.cc: In function 'long int get_free_physical_memory()':
> > freemem.cc:75: error: aggregate 'vmtotal vm_info' has incomplete type
> > and cannot be defined
>
> Can you send your config.log?
It was over the list's size limit, so Bill sent me a copy privately.
This is the interesting bit:
/usr/include/sys/vmmeter.h:123: error: 'int16_t' does not name a type
[...]
/usr/include/sys/vmmeter.h:128: error: 'int32_t' does not name a type
[...]
Looking at the man page I found online, it seems that sys/types.h
probably needs to be included first, or else sys/vmmeter.h is rejected
as not working by the configure check.
I'll try to fix that, but as a workaround, try:
make CPPFLAGS=-DHAVE_SYS_VMMETER_H
And let us know if it works or not.
Cheers,
Olly
More information about the Xapian-discuss
mailing list