Hi, I am the maintainer of the fink package for emboss. A user reported the following error on an Intel iMac because crypt.h is missing. On a Mac most of the the functions in crypt.h are in unistd.h. So I could replace the #include crypt.h with #include unistd.h. Another reader was wondering why crypt.h is needed, is there a situation when emboss needs a password? In that case I could just comment out the #include. BTW, on a PPC iMac, there is no error because of:
#if !defined(__ppc__) && !defined(__FreeBSD__) #include <crypt.h> #endif thanks, - Koen. Begin forwarded message: > gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION= > \"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE= > \"EMBOSS\" -DVERSION=\"4.1.0\" -DSTDC_HEADERS=1 - > DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_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_UNISTD_H=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. -DAJAX_FIXED_ROOT= > \"/sw/src/fink.build/emboss-4.1.0-1/EMBOSS-4.1.0/emboss\" -DPREFIX= > \"/sw\" -I../plplot -DPOSIX_MALLOC_THRESHOLD=10 -DAJ_MACOSXLF - > Dstat64=stat -I/sw/include -DLENDIAN -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 - > O1 -c ajjava.c -fno-common -DPIC -o .libs/ajjava.o > ajjava.c:93:19: error: crypt.h: No such file or directory > ajjava.c: In function > 'Java_org_emboss_jemboss_parser_Ajax_seqsetType': > ajjava.c:335: warning: 'ajSeqsetLen' is deprecated (declared at > ajseq.h:240) > ajjava.c:337: warning: 'ajSeqsetTotweight' is deprecated (declared > at ajseq.h:259) > ajjava.c: In function 'Java_org_emboss_jemboss_parser_Ajax_fork': > ajjava.c:1251: warning: passing argument 1 of 'ajSysStrtokR' > discards qualifiers from pointer target type > ajjava.c: In function 'make_array': > ajjava.c:1525: warning: passing argument 1 of 'ajSysStrtokR' > discards qualifiers from pointer target type > make[1]: *** [ajjava.lo] Error 1 > make: *** [all-recursive] Error 1 > ### execution of make failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-emboss-4.1.0-1 > (Reading database ... 144792 files and directories currently > installed.) > Removing fink-buildlock-emboss-4.1.0-1 ... > Failed: phase compiling: emboss-4.1.0-1 failed > _______________________________________________ EMBOSS mailing list [email protected] http://lists.open-bio.org/mailman/listinfo/emboss
