Re: 1.1.5 on Mac OS X

Andre Berger <[email protected]> Tue, 16 Mar 2004 11:23:09 +0100
Newsgroups gmane.network.noffle.user
Message-ID <[email protected]>
* Andre Berger <[email protected]>, 2004-03-16 11:05 +0100:
> * Jim Hague <[email protected]>, 2004-03-16 10:58 +0100:
> > On 16-Mar-2004 Andre Berger wrote:
> > > gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -O2 -I/sw/include  -g -O2 -c
> > > authenticate.c
> > > In file included from authenticate.c:14:
> > > /usr/include/grp.h:73: error: parse error before "gid_t"
> > > /usr/include/grp.h:75: error: parse error before '}' token
> > > /usr/include/grp.h:82: error: parse error before "struct"
> > > /usr/include/grp.h:83: error: parse error before "size_t"
> > > /usr/include/grp.h:87: error: parse error before "int"
> > > authenticate.c: In function `Auth_checkPrivs':
> > > authenticate.c:358: error: dereferencing pointer to incomplete type
> > > authenticate.c:364: error: dereferencing pointer to incomplete type
> > > authenticate.c:371: error: dereferencing pointer to incomplete type
> > > make[2]: *** [authenticate.o] Error 1
> > > make[1]: *** [all-recursive] Error 1
> > > make: *** [all-recursive-am] Error 2
> > 
> > I think I've made a silly error in the order of header file includes. Can you
> > try the following? It moves the includes of grp.h and pwd.h to after their
> > dependent includes.
> > 
> > --- authenticate.c      12 Jan 2003 17:05:49 -0000      1.2
> > +++ authenticate.c      16 Mar 2004 09:44:51 -0000
> > @@ -11,13 +11,13 @@
> >  #endif
> >   
> >  #include <errno.h>
> > -#include <grp.h>
> > -#include <pwd.h>
> >  #include <stdio.h>
> >  #include <string.h>
> >  #include <sys/types.h>
> >  #include <sys/stat.h>
> >  #include <unistd.h>
> > +#include <grp.h>
> > +#include <pwd.h>
> >  #include "common.h"
> >  #include "authenticate.h"
> >  #include "configfile.h"
> 
> That worked fine with "fuzz 2", thanks!!

Just I'm gettin'

chown -R news.news /var/spool/noffle
chown: separation of user and group with a period is deprecated
/usr/bin/install -c -m 0755 -o 0 -g 0 -d /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./AUTHORS /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./COPYING /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./ChangeLog /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./INSTALL /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./NEWS /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./README /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -o 0 -g 0 ./TODO /usr/local/share/doc/noffle
/usr/bin/install -c -m 644 -D -o 0 -g 0 ./noffle.conf.example \
                                  /usr/local/etc/news/noffle.conf.example
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make[2]: *** [install-data-local] Error 64
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1


-Andre


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click