[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Mac OS X



I cant get leafnode to compile under Mac OS X, I'd like to replace a 
linux box with a mac toy and I'm running into trouble.

Configure is fine :

[newt:~/news/leafnode-1.9.20.rel] lzrd% ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... 
no
checking for gawk... (cached) awk
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc
checking for ranlib... ranlib
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for ar... /usr/bin/ar
checking for rpm... no
checking for strip... strip
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking ap_config.h usability... no
checking ap_config.h presence... no
checking for ap_config.h... no
checking for system include files... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pcre-config... no
checking for pcre.h... no
checking for gmtoff in struct tm... yes
checking for BSD4.2 syslog... no
checking for working GNU-style fnmatch... no
checking return type of signal handlers... void
checking for strftime... yes
checking whether utime accepts a null argument... yes
checking for getcwd... yes
checking for gethostname... yes
checking for mkdir... yes
checking for mktime... yes
checking for rmdir... yes
checking for socket... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for setgid... yes
checking for setuid... yes
checking for getline... no
checking for snprintf... yes
checking for strdup... yes
checking for mkstemp... yes
checking for gethostent... yes
checking for setsockopt... yes
checking confdir... /etc/leafnode
configure: WARNING: ***
configure: WARNING: *** overriding sysconfdir to /etc/leafnode
configure: WARNING: *** use --sysconfdir to fix
configure: WARNING: *** use --sysconfdir='$prefix/etc' to get default 
autoconf behaviour
configure: WARNING: ***
checking spooldir... /var/spool/news
checking lockfile... /var/lock/news/fetchnews.lck
checking rpm build dir... none
configure: creating ./config.status
config.status: creating applyfilter.8
config.status: creating checkgroups.8
config.status: creating fetchnews.8
config.status: creating leafnode.8
config.status: creating texpire.8
config.status: creating newsq.1
config.status: creating leafnode.spec
config.status: creating Makefile
config.status: creating t/Makefile
config.status: creating tools/Makefile
config.status: creating genlsm.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
*** leafnode 1.9.20.rel is now configured and prepared to be compiled.
*** to compile, type `make' (without the quotes)
*** to run some tests, type `make check' (without the quotes)
*** to install, type `make install' as root (without the quotes)
[newt:~/news/leafnode-1.9.20.rel] lzrd%

Make is not:

[newt:~/news/leafnode-1.9.20.rel] lzrd% make
( echo '/* DO NOT EDIT! This file is auto-generated by Makefile. */' ; \
  echo 'const char *spooldir = "/var/spool/news" ;' ; \
  echo 'const char *sysconfdir = "/etc/leafnode" ;' ; \
  echo 'const char *lockfile = "/var/lock/news/fetchnews.lck" ;' ; \
  echo 'const char *version  = "1.9.20.rel" ;' ) >config.c
make  all-recursive
Making all in t
make[2]: Nothing to be done for `all'.
Making all in tools
make[2]: Nothing to be done for `all'.
source='nntputil.c' object='nntputil.o' libtool=no \
depfile='.deps/nntputil.Po' tmpdepfile='.deps/nntputil.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc  -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -c `test -f nntputil.c || echo './'`nntputil.c
In file included from /usr/include/sys/param.h:116,
                 from nntputil.c:27:
/usr/include/sys/signal.h:141: warning: function declaration isn't a 
prototype
/usr/include/sys/signal.h:181: warning: function declaration isn't a 
prototype
nntputil.c: In function `nntpconnect':
nntputil.c:270: warning: function declaration isn't a prototype
source='configutil.c' object='configutil.o' libtool=no \
depfile='.deps/configutil.Po' tmpdepfile='.deps/configutil.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc  -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -c `test -f configutil.c || echo './'`configutil.c
source='xoverutil.c' object='xoverutil.o' libtool=no \
depfile='.deps/xoverutil.Po' tmpdepfile='.deps/xoverutil.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc  -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -c `test -f xoverutil.c || echo './'`xoverutil.c
In file included from /usr/include/sys/param.h:116,
                 from xoverutil.c:27:
/usr/include/sys/signal.h:141: warning: function declaration isn't a 
prototype
/usr/include/sys/signal.h:181: warning: function declaration isn't a 
prototype
source='activutil.c' object='activutil.o' libtool=no \
depfile='.deps/activutil.Po' tmpdepfile='.deps/activutil.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc  -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -c `test -f activutil.c || echo './'`activutil.c
source='miscutil.c' object='miscutil.o' libtool=no \
depfile='.deps/miscutil.Po' tmpdepfile='.deps/miscutil.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc  -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -c `test -f miscutil.c || echo './'`miscutil.c
In file included from /usr/include/sys/param.h:116,
                 from miscutil.c:27:
/usr/include/sys/signal.h:141: warning: function declaration isn't a 
prototype
/usr/include/sys/signal.h:181: warning: function declaration isn't a 
prototype
source='artutil.c' object='artutil.o' libtool=no \
depfile='.deps/artutil.Po' tmpdepfile='.deps/artutil.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc  -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -W -Wstrict-prototypes 
-Wmissing-prototypes -c `test -f artutil.c || echo './'`artutil.c
mkdir -p pcre && ( cd pcre && case . in \
/*) my=. ;; \
*) my=../. ;; esac ; \
/bin/sh ${my}/pcre/configure \
--enable-static --disable-shared && make  all )
checking for gcc... no
checking for cc... cc
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 cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for limits.h... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
checking build system type... configure: error: cannot guess build type; 
you must specify one
make[2]: *** [pcre/.libs/libpcre.a] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[newt:~/news/leafnode-1.9

--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list