Re: 1.1.5 on Mac OS X

Jim Hague <[email protected]> Tue, 16 Mar 2004 11:43:30 -0000 (GMT)
Newsgroups gmane.network.noffle.user
Organization The Bear Cave
Message-ID <[email protected]>
On 16-Mar-2004 Andre Berger wrote:
> 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

Keep trying. We'll get there. ;-)

That '-D' option looks completely unnecessary. It creates all components of the
target directory if necessary. Well, the previous few installs have already
been into that directory, so we *know* it exists.

The correct fix is to change Makefile.am, but that means running the autoconf
stuff again. The quick 'n dirty approach is to edit Makefile, looking for 

 $(INSTALL_DATA) -D -o 0 -g 0 $(srcdir)/noffle.conf.example \
                                  $(DESTDIR)$(CONFIGFILE).example

and remove the "-D"

 $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/noffle.conf.example \
                                  $(DESTDIR)$(CONFIGFILE).example

This will be overwritten if you run 'configure' again, so perhaps you should do
the same thing in Makefile.in.

I see that chown should get user:group not user.group. I'm way behind the
times. I'll change that too.

-- 
Jim Hague - [email protected]          Never trust a computer you can't lift.


-------------------------------------------------------
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