On 2/18/13 6:04 AM, sjtu_Eric wrote: > hi,I try install fink on my macbook pro.I can't make it.Problem is here. > > ################################ > make > echo "#define DPKG_VERSION \"1.10.21\" /* This line modified by Makefile */" >> version.h > make all-include all-optlib all-lib all-dpkg-deb all-split all-scripts > all-utils all-main all-po all-methods all-man all-doc > make -C "include" "all" > sed -e 's,#CONFIGDIR#,/sw/bootstrap/etc/dpkg,' \ > -e 's,#ADMINDIR#,/sw/var/lib/dpkg,' \ > -e 's,#LIBDIR#,/sw/bootstrap/lib/dpkg,' dpkg.h.in > dpkg.h > make -C "optlib" "all" > gcc -I/sw/bootstrap/include -I/sw/bootstrap/include -Wall -Wwrite-strings > -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual > -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H > -D_GNU_SOURCE -DLOCALEDIR=\"/sw/bootstrap/share/locale\" > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/intl -I../intl > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21 > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib > -I../include -I.. -I. > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib > -F/System/Library/Frameworks/CoreFoundation.framework -c getopt.c > In file included from getopt.c:36: > In file included from > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:208: > /usr/bin/../lib/clang/4.0/include/stddef.h:31:41: error: cannot combine with > previous 'typeof' declaration specifier > typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; > ^ > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:198:19: > note: > expanded from macro 'ptrdiff_t' > #define ptrdiff_t int > ^ > In file included from getopt.c:36: > In file included from > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:208: > /usr/bin/../lib/clang/4.0/include/stddef.h:35:33: error: 'typeof' cannot be > signed or unsigned > typedef __typeof__(sizeof(int)) size_t; > ^ > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:201:16: > note: > expanded from macro 'size_t' > #define size_t unsigned > ^ > /sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/config.h:219:2: > error: > I do not know what to use for a UWORD32. > #error I do not know what to use for a UWORD32. > ^ > getopt.c:47:10: fatal error: 'stdio.h' file not found > #include <stdio.h> > ^ > 4 errors generated. > make[2]: *** [getopt.o] Error 1 > make[1]: *** [all-optlib] Error 2 > make: *** [all-recursive] Error 2 > ### execution of make failed, exit code 2 > phase compiling: dpkg-bootstrap-1.10.21-1220 failed > ######################################## > Package manager version: 0.34.5 > Distribution version: selfupdate-point (bootstrap), 10.8, x86_64 > Trees: local/main stable/main > Xcode.app: 4.4.1 > Xcode command-line tools: 4.4.0.0.1.1249367152 > Max. Fink build jobs: 4 > ######################################## > Please help me,thanks! > > > > > --
It looks like you're missing some standard stuff. /usr/include/stdio.h is a standard system header, and it should have been installed as part of the OS. And size_t is normally be defined in /usr/include/sys/types.h, which also should have been installed with the OS. What do you get from running ls /usr/include ls /usr/include/sys in a terminal window? -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners