tin 1.8.0 compiling errors on Mac OS X 10.4.4

Jennifer Arendt <[email protected]> Sun, 29 Jan 2006 14:32:06 +0100 (CET)
Newsgroups gmane.network.tin.user
Message-ID <[email protected]>
I tried to compile tin 1.8.0 on Mac OS X 10.4.4
(Tiger/Darwin)
with latest Xcode Tools.
After...
     ./configure --with-domain-name=news.example.org
...the command...
     make build
...resultet in `parse error´ lines and I could not
continue in
installing tin. Unfortunately the README.MAC file was
not helpful
at all, the normal README is far better in explaining
the
installation steps.

As I am not confident with the shell (a Mac user last
but not
least :), I am not sure what to do to resolve those
errors. (But I
really would like to gain some proficiency with Unix
tools.)
I compiled tin 1.6.0 some time ago on Mac OS X 10.3
without
errors, as far as I remember.
I appreciate any help with this issue. The output from
above commands follows:

$ ./configure --with-domain-name=news.example.org
creating cache ./config.cache
checking for X... libraries /usr/X11R6/lib, headers
/usr/X11R6/include
checking host system type... powerpc-apple-darwin8.4.0
Configuring for darwin8.4.0
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install...
/usr/bin/install -c
checking for bison -y... yes
checking for lint... no
checking for alint... no
checking for lclint... no
checking for tdlint... no
checking for splint... no
checking for AIX... no
checking if gcc -U and -D options work together... yes
checking if we should define _XOPEN_SOURCE... 500
checking if we should define _POSIX_C_SOURCE... no
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C...
-DCC_HAS_PROTOS
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for object suffix... o
checking whether ln -s works... yes
checking build system type...
powerpc-apple-darwin8.4.0
checking for ranlib... ranlib
checking for ld... ld
checking for ar... ar
checking for archiver options (symbol AR_OPTS)... rv
checking for ispell... no
checking for metamail... no
checking for sum... /usr/bin/sum
checking if /usr/bin/sum takes -r... no
checking for default editor... checking for vi...
/usr/bin/vi
/usr/bin/vi
checking for sendmail... /usr/sbin/sendmail
checking for default mailer... /usr/sbin/sendmail
checking for incoming-mail directory... /var/mail
checking if you want PGP/GPG-Support... yes
checking for pgp... no
checking for pgpk... no
checking for gpg... /usr/local/bin/gpg
checking for the default shell program... /bin/sh
checking if NNTP-support will be used... yes
checking whether to be NNTP_ONLY... no
checking if you want to compile-in debug support... no
checking if you want to see long compiling messages...
yes
checking if you want to compile with fallback
prototypes... no
checking if you want to turn on gcc warnings... no
checking for news-library path... /usr/lib/news
checking for news spool-directory path...
/var/spool/news
checking for news overview-directory path...
/var/spool/news
checking for overview filename... .overview
checking for directory containing "inews"...
/usr/lib/news
checking for inews... --internal
checking for optional INN-NNTP library... 
checking if you want socks library... no
checking if you want socks5 library... no
checking for network libraries... working...
checking for gethostname... yes
checking for main in -linet... no
checking for socket... yes
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for unistd.h... yes
checking for fcntl.h... yes
checking for sys/file.h... yes
checking for fcntl... yes
checking for lockf... yes
checking for flock... yes
checking for file-locking functions...  fcntl lockf
checking which locking method should be used... fcntl
checking for screen type... none
checking if you specified curses install-directory...
no
checking if you want to use ncurses library... no
checking if you want curses rather than termcap
interface... no
checking if you want to use installed version of
pcre... no
checking if you want to link with dbmalloc for
testing... no
checking if you want to link with dmalloc for
testing... no
checking if you want debugging-trace... no
checking for domain-name... news.example.org
checking for NNTP default-server...
news.news.example.org
checking whether to use MH style mail handling for
mailgroups... no
checking whether to enable 8-bit keycodes... yes
checking whether to enable ANSI-color... yes
checking whether to enable posting-etiquette... yes
checking whether to strictly observe RFC2047 and break
long lines... no
checking whether to force MM_CHARSET obeyance when
decoding mime... yes
checking for MIME character-set... US-ASCII
checking for default ISO/ASCII table... -1
checking whether to enable locale support... yes
checking whether to enable posting... yes
checking whether to enable shell escape... yes
checking whether to have fascist newsadmin... no
checking whether to enable inverse video and
highlighting... yes
checking whether to enable piping support... yes
checking whether to enable printer support... yes
checking whether to unique tmp-files by appending
.pid... yes
checking whether to fallback to XHDR XREF if XOVER
isn't supported... yes
checking whether to send a GROUP command before a
LISTGROUP... no
checking whether to ignore system()s return value...
no
checking for directory containing tin.defaults file...
/etc/tin
checking whether to enable IPv6... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking whether to make a coffee while compiling...
no
checking for makeflags variable... 
checking for working const... yes
checking for inline... inline
checking for ansi token expansion/substitution... yes
checking for ansi token concatenation... yes
checking if nested parameters work... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be
included... yes
checking for sys/wait.h that is POSIX.1 compatible...
yes
checking for argz.h... no
checking for arpa/inet.h... yes
checking for curses.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for getopt.h... yes
checking for ioctl.h... no
checking for langinfo.h... yes
checking for libc.h... yes
checking for locale.h... yes
checking for malloc.h... no
checking for net/socket.h... no
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netlib.h... no
checking for nl_types.h... yes
checking for nomacros.h... no
checking for paths.h... yes
checking for poll.h... yes
checking for prototypes.h... no
checking for pwd.h... yes
checking for sgtty.h... yes
checking for socket.h... no
checking for stdarg.h... yes
checking for stdbool.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for stropts.h... no
checking for sys/bsdtypes.h... no
checking for sys/errno.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/ptem.h... no
checking for sys/pty.h... no
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/stream.h... no
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/times.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for term.h... yes
checking for termio.h... no
checking for time.h... yes
checking for unistd.h... yes
checking for varargs.h... no
checking for wchar.h... yes
checking for wctype.h... yes
checking for termio.h... no
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking whether termios.h needs _POSIX_SOURCE... no
checking declaration of size-change... yes
checking if sys/time.h conflicts with sys/select.h...
no
checking for gid_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for time_t... yes
checking for uid_t in sys/types.h... yes
checking for quad_t... yes
checking for long long... yes
checking for nl_item... yes
checking for UUInitialize in -luu... no
checking for stringprep_check_version in -lidn... no
checking for unicode/unorm.h... no
checking for tigetstr in -lcurses... yes
checking if we should include termcap.h... no
checking for term.h... term.h
checking if we should include curses.h or termcap.h...
term.h
checking declaration of tputs 3rd param... int
OutChar(int)
checking if external errno is declared... yes
checking if external errno exists... yes
checking for strerror... yes
checking for atoi... yes
checking for atol... yes
checking for bcopy... yes
checking for chmod... yes
checking for closesocket... no
checking for execlp... yes
checking for fcntl... (cached) yes
checking for fdopen... yes
checking for fork... yes
checking for ftime... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for inet_aton... yes
checking for is_xterm... no
checking for isascii... yes
checking for link... yes
checking for lockf... (cached) yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for mktemp... yes
checking for mkstemp... yes
checking for nl_langinfo... yes
checking for poll... yes
checking for putenv... yes
checking for rewinddir... yes
checking for resizeterm... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for settz... no
checking for sigaction... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... (cached) yes
checking for strcasestr... yes
checking for strdup... yes
checking for strftime... yes
checking for strpbrk... yes
checking for strrstr... no
checking for strsep... yes
checking for strstr... yes
checking for strtol... yes
checking for tmpfile... yes
checking for tzset... yes
checking for uname... yes
checking for unlink... yes
checking for use_default_colors... yes
checking for usleep... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for tigetint... no
checking for tigetnum... yes
checking for tparam... no
checking for tparm... yes
checking for flock... (cached) yes
checking for wide char and multibyte support... no
checking if gettimeofday takes two arguments... yes
checking return type of signal handlers... void
checking declaration of signal arguments... int sig
checking whether sigaction needs _POSIX_SOURCE... no
checking if we have sigaction/related functions... yes
checking for fork... yes
checking for memmove... (cached) yes
checking if select expects int * arguments... no
checking whether closedir returns void... no
checking whether setvbuf arguments are reversed... no
checking for gai_strerror... yes
checking for getaddrinfo... (cached) yes
checking for gethostname... (cached) yes
checking for gethostbyname... (cached) yes
checking for getservbyname... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for strncasecmp... yes
checking for type sigaction_t... no
checking for nonconflicting termios.h... yes
checking for passwd.pw_gecos... yes
checking for tm.tm_gmtoff... yes
checking for long file names... yes
checking for sys/wait.h... (cached) yes
checking for union wait... no
checking if the system function returns usable
child-status... yes
checking for redefinable signal constants... yes
checking for ANSI qsort... yes
checking if application can dump core... no
checking for missing errno extern... no
checking for missing getenv extern... no
checking for missing getlogin extern... no
checking for missing getpwnam extern... no
checking for missing popen extern... no
checking for missing strchr extern... no
checking for missing strcasestr extern... no
checking for missing strsep extern... no
checking for missing gethostbyname extern... no
checking for missing getservbyname extern... no
checking for missing inet_aton extern... no
checking for missing inet_ntoa extern... no
checking for missing socket extern... no
checking for missing tgetstr extern... no
checking for missing tgoto extern... no
checking for working TIOCGWINSZ... no
checking for ranlib... (cached) ranlib
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or
newer... no
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... no
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... no
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char *
*inbuf, size_t *inbytesleft, char * *outbuf, size_t
*outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for bison... bison
checking version of bison... 1.28, ok
checking for catalogs to be installed...  de en_GB et
fr ru rw tr
checking if we should use included message-library...
yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for iconv.h... yes
checking for iconv_open() //TRANSLIT extension... yes
updating cache ./config.cache
creating ./config.status
creating pcre/Makefile
creating pcre/RunTest
creating pcre/pcre.h
creating po/Makefile.in
creating intl/Makefile
creating src/Makefile
creating include/autoconf.h
creating po/POTFILES
creating po/Makefile

$ make build
gcc -O2  -DHAVE_CONFIG_H -I. -I../include -I../pcre
-I../pcre -DLOCALEDIR=\"/usr/local/share/locale\"
-I../include   -I../intl  -U_XOPEN_SOURCE
-D_XOPEN_SOURCE=500 -I../pcre -I../pcre  -o makecfg
makecfg.c #-lcurses   -liconv
In file included from /usr/include/sys/ucred.h:64,
                 from /usr/include/sys/attr.h:36,
                 from /usr/include/sys/mount.h:63,
                 from /usr/include/libc.h:45,
                 from ../include/tin.h:208,
                 from makecfg.c:41:
/usr/include/bsm/audit.h:219: error: parse error
before 'u_char'
/usr/include/bsm/audit.h:222: error: parse error
before '}' token
/usr/include/bsm/audit.h:229: error: parse error
before 'u_char'
/usr/include/bsm/audit.h:232: error: parse error
before '}' token
In file included from /usr/include/sys/attr.h:36,
                 from /usr/include/sys/mount.h:63,
                 from /usr/include/libc.h:45,
                 from ../include/tin.h:208,
                 from makecfg.c:41:
/usr/include/sys/ucred.h:76: error: parse error before
'u_long'
/usr/include/sys/ucred.h:88: error: parse error before
'}' token
/usr/include/sys/ucred.h:95: error: parse error before
'u_int'
/usr/include/sys/ucred.h:99: error: parse error before
'}' token
In file included from /usr/include/sys/mount.h:63,
                 from /usr/include/libc.h:45,
                 from ../include/tin.h:208,
                 from makecfg.c:41:
/usr/include/sys/attr.h:69: error: parse error before
'u_short'
/usr/include/sys/attr.h:76: error: parse error before
'}' token
/usr/include/sys/attr.h:365: error: parse error before
'u_long'
/usr/include/sys/attr.h:372: error: parse error before
'}' token
/usr/include/sys/attr.h:377: error: parse error before
'u_char'
make[1]: *** [makecfg] Error 1
make: [build] Error 2 (ignored)



--


	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de