On Thu, Sep 04, 2003 at 10:27:28AM -0400, Pascal Robert wrote:
> Hello,
>
> we're currently using AMANDA for our Linux servers, but we also want to
> backup two Mac OS X 10.2.6 machines. I followed the instructions from :
>
> http://groups.yahoo.com/group/amanda-users/message/37372
> http://web.brandeis.edu/pages/view/Bio/AmandaMacOSXCompileNotes
>
> I can't apply the patch as explained in the second article, I assume
> that this patch was for 2.4.3 and I'm trying to install 2.4.4p1.
>
> ./configure don't complain a lot (it only says that it will not install
> amplot, which is ok). No matter what options I try with 'configure', I
> always get this error when I run 'make':
>
> 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
>
> Info:
>
> Mac OS X 10.2.6
> July Developer Tools (gcc 3.1)
> AMANDA 2.4.4p1
>
> ./configure --with-user=amanda --with-group=wheel --prefix=/usr/local
> --without-server --with-gnutar=/usr/local/bin/hfstar
> --host=powerpc-apple-darwin
>
> (I tried with --host and with --host=powerpc-apple-osx, no difference,
> and yes I did run 'make clean' before running 'configure' and 'make' again)
Don't know about the rest, but 'make clean' is not what you wanted.
Do a 'make distclean'. That gets rid of the configure cache.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|