i've been using freebsd, linux, solaris, irix and various other flavors of unix for a long time now so i volunteered to help out my mac os x friends with some compiling problems.i wanted to install wget-1.8 on 10.1, but it fails finding standard header files. the files are in /System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders but if i put that path in the Makefile it throws all sorts of errors.
example:
cc -I. -I. -I/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c cmpt.c
/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/machine/ansi.h:34: header file 'ppc/ansi.h' not found
/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/sys/types.h:98: typedef names cannot being mixed with other type specifiers, found `int'
/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/sys/types.h:114: undefined type, found `_BSD_CLOCK_T_'
/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/sys/types.h:119: illegal external declaration, missing `;' after `_BSD_SIZE_T_'
/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/sys/types.h:124: undefined type, found `_BSD_SSIZE_T_'
i suspect i am going about this all wrong... please set me on the path of righteousness!
thanks
-jsd-