trying to build 'mg' on Panther

Joshua Root jmr at macports.org
Mon Jan 12 07:06:10 PST 2009


Chris Janton wrote:
> fi_mtime is a "timespec"
> 
> can't see any options/variants that might indicate a setting I can change.
> 
> admin at x:admin:200 $ sudo port install mg
> --->  Building mg
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_mg/work/mg-20081211"
> && make all " returned error 2
> Command output: gcc -O2 -pipe -g -Wall -Werror -Wno-strict-aliasing -c
> autoexec.c
> In file included from def.h:13,
>                  from autoexec.c:5:
> sysdef.h:49: error: field `fi_mtime' has incomplete type
> make: *** [autoexec.o] Error 1

You'll pick up a definition for struct timespec if you #include <time.h>
(or <sys/time.h>), if that helps.

- Josh


More information about the macports-users mailing list