[EMBOSS] error building on Mac OS X 10.5 (Leopard)

Koen van der Drift kvddrift at earthlink.net
Thu Nov 8 23:23:45 UTC 2007


Hi,

I get the following error when building emboss 5.0.0 on Mac OS X 10.5:

...
  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION= 
\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"EMBOSS 
\" -DVERSION=\"5.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - 
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - 
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 - 
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 - 
DHAVE_UNISTD_H=1 -DGETPGRP_VOID=1 -DHAVE_STRFTIME=1 -DHAVE_FORK=1 - 
DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 - 
DHAVE_VPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_LIBM=1 -DPLD_png=1 -I. -I/usr/ 
X11/include -I./ -I/usr/include/gd -DPREFIX=\"/sw\" -DBUILD_DIR=\".\" - 
DDRV_DIR=\".\" -DEMBOSS_TOP=\"/sw/src/fink.build/emboss-5.0.0-3/ 
EMBOSS-5.0.0\" -DAJ_MACOSXLF -Dstat64=stat -I/sw/include -DBENDIAN -I/ 
System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home - 
DHAVE_JAVA -I/System/Library/Frameworks/JavaVM.framework/Versions/ 
1.4.2/Home/include -DNO_AUTH -O2 -c plctrl.c  -fno-common -DPIC - 
o .libs/plctrl.o
In file included from plctrl.c:46:
/usr/include/sys/stat.h:261: error: redefinition of 'struct stat'
make[2]: *** [plctrl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


Any suggestions what I could do to patch the source so it will compile?

thanks,

- Koen.




More information about the EMBOSS mailing list