I saw in the list archives from this month that gnokii works with Mac OS X.
I just checked out gnokii from CVS and tried to build it.
I get the following: Does anyone know where I went wrong?
(sorry - I'm not really a very proficient C developer)
[PowerBookG3:~/gnokii] diggory% autoconf
configure.in:29: error: possibly undefined macro: AM_GNU_GETTEXT
[PowerBookG3:~/gnokii] diggory% autoheader
[PowerBookG3:~/gnokii] diggory% ./configure
checking build system type... powerpc-apple-darwin6.1
checking host system type... powerpc-apple-darwin6.1
checking target system type... powerpc-apple-darwin6.1
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for rm... /bin/rm
checking for find... /usr/bin/find
checking for gmake... no
checking for make... make
checking for a BSD compatible install... /usr/bin/install -c
./configure: AM_GNU_GETTEXT: command not found
checking for include/config.h.in... yes
checking for pthread_attr_init in -lpthread... yes
checking for tm_gmtoff in struct tm... yes
checking for timer operations... yes
checking for cfsetspeed in termios.h... yes
checking for getopt.h... no
checking for getopt_long... no
checking for getopt_long in -lgnugetopt... no
checking for linux/irda.h... no
checking for the bluetooth support...
checking for the struct sockaddr_rc in <bluetooth/rfcomm.h>... no
checking for X... no
checking for X11/xpm.h... no
configure: WARNING: Cannot find include X11/xpm.h
configure: WARNING: Disabling xgnokii.
checking for socket in -lsocket... no
checking for grantpt... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for ctype.h... yes
checking for stdlib.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for sys/socket.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for long long... yes
checking for long double... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for mktime... yes
checking for gettimeofday... yes
checking for select... yes
checking for poll... no
checking for strdup... yes
checking for strstr... yes
checking for strtol... yes
checking for strtok... yes
checking for strsep... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for ISO C99 compliant snprintf... no
checking for ISO C99 compliant vsnprintf... no
configure: creating ./config.status
config.status: creating Makefile.global
config.status: creating po/Makefile.in
config.status: error: cannot find input file: po/Makefile.in.in
[PowerBookG3:~/gnokii] diggory% make
make -C common/phones
gcc -O2 -Wall -I../getopt -I../../include -INONE -c -o generic.o generic.c
../../include/misc.h:37: header file 'config.h' not found
../../include/compat.h:34: header file 'config.h' not found
../../include/compat.h:127: undefined type, found `va_list'
../../include/compat.h:135: undefined type, found `va_list'
../../include/misc.h:95: undefined type, found `va_list'
../../include/gsm-common.h:37: header file 'config.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[1]: *** [generic.o] Error 1
make: *** [common/phones] Error 2
[PowerBookG3:~/gnokii] diggory%