Re: compiling 2.4.4 on Mac OS X
On Thu, 13 Mar 2003, Jean-Louis Martineau wrote: > Why the configure script didn't found the `initgroups' declaration? > Look at configure.log file. > > Jean-Louis > here's the bit from config.log for 2.4.4, let me know if you want the whole files. There is no corresponding error in configuring 2.4.3. configure:20154: checking for initgroups configure:20197: gcc -o conftest conftest.c -lm -ltermcap >&5 configure:20200: $? = 0 configure:20203: test -s conftest configure:20206: $? = 0 configure:20216: result: yes configure:20154: checking for isascii configure:20197: gcc -o conftest conftest.c -lm -ltermcap >&5 configure:20200: $? = 0 configure:20203: test -s conftest configure:20206: $? = 0 configure:20216: result: yes configure:20232: checking for initgroups configure:20294: result: yes configure:20305: checking for initgroups declaration in grp.h sys/types.h unistd.h libc.h /usr/include/grp.h:72: undefined type, found `gid_t' /usr/include/grp.h:81: syntax error, found `struct' /usr/include/grp.h:81: illegal function definition, found `)' /usr/include/grp.h:82: syntax error, found `size_t' /usr/include/grp.h:82: illegal function definition, found `)' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode /usr/include/grp.h:72: undefined type, found `gid_t' /usr/include/grp.h:81: syntax error, found `struct' /usr/include/grp.h:81: illegal function definition, found `)' /usr/include/grp.h:82: syntax error, found `size_t' /usr/include/grp.h:82: illegal function definition, found `)' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode configure:20351: result: no configure:20368: checking for ioctl configure:20411: gcc -o conftest conftest.c -lm -ltermcap >&5 configure:20414: $? = 0 >
Re: compiling 2.4.4 on Mac OS X
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: [EMAIL PROTECTED] Departement IRO, Universite de Montreal C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529 Montreal, Canada, H3C 3J7Fax: (514) 343-5834
compiling 2.4.4 on Mac OS X
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