Compiling openmotiff 2.3.3 on OSX

Computing 2011.03.25 01:26

My environment:

orchistro.deltabellun:~$ uname -a
Darwin deltabellun.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386


./configure --prefix=/usr/X11 --with-x-includes=/usr/X11/include --with-x-libraries=/usr/X11/lib --with-freetype-config=/usr/X11/bin/freetype-config CC='gcc -I/usr/X11/include -I/usr/X11/include/freetype2' LDFLAGS=-L/usr/X11/lib

After it gives out this error message when compiling:

UilLexAna.c:1488: error: request for member 'value' in something not a structure or union

You need to make a little bit of modification in clients/uil/uilDefI.h:286:

#if defined(linux)
#if defined(linux) || defined(__APPLE__)

A.....n........d you're OK to continue building openmotiff. Enjoy it.

Trackbacks 0 : Comments 0

Write a comment