Amanda-Users

Re: compiling 2.4.4 on Mac OS X

2003-03-13 23:33:49
Subject: Re: compiling 2.4.4 on Mac OS X
From: Jean-Louis Martineau <martinea AT IRO.UMontreal DOT CA>
To: Steven Karel <karelsf AT brandeis DOT edu>
Date: Thu, 13 Mar 2003 21:45:03 -0500
On Mon, Mar 10, 2003 at 01:06:08PM -0500, Steven Karel wrote:
> amanda 2.4.3 compiles fine for me on Mac OS X (10.2.4), while 2.4.4 does 
> not. Not urgent, but thought I should report it somewhere. Details:
> 
> Configured with
> 
>  ./configure --with-user=amanda --with-group=wheel 
> --prefix=/usr/local --without-server --with-config='backupset' 
> --with-gnutar=/usr/local/hfstar/bin/tar
> 
> Make fails almost immediately with:
> 
> [raven:~/amanda-2.4.4] amanda% make Making all in configmake  all-am
> make[2]: Nothing to be done for `all-am'.
> Making all in common-src
> source='alloc.c' object='alloc.lo' libtool=yes \
> depfile='.deps/alloc.Plo' tmpdepfile='.deps/alloc.TPlo' \
> depmode=gcc /bin/sh ../config/depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config 
> -I./../regex-src    -g -O2   -c -o alloc.lo `test -f 'alloc.c' || echo 
> './'`alloc.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c alloc.c 
> -Wp,-MD,.deps/alloc.TPlo  -fno-common -DPIC -o .libs/alloc.lo
> In file included from alloc.c:33:
> amanda.h:905: conflicting types for `initgroups'
> /usr/include/unistd.h:175: previous declaration of `initgroups'
> make[1]: *** [alloc.lo] Error 1
> make: *** [all-recursive] Error 1

Why the configure script didn't found the `initgroups' declaration?
Look at configure.log file.

Jean-Louis

-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

<Prev in Thread] Current Thread [Next in Thread>