🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12833

Re: Leafnode make install problem

#12833
From: Shaw Carruthers
Date: Fri, 29 Nov 1996 00:00
76 lines
3238 bytes
This is a multi-part message in MIME format.

--------------1770882C7E47BDC0201F44FE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

[Posted & mailed]
Gary Taylor wrote:
> 
> When trying to install leafnode 1.0 I am getting error messages as
> follows:
> 
> mkdir: cannot make directory '0' : File exists
> make: **** [install] Error 1

The Makefile is broken, try the attached patch:


-- 
Shaw Carruthers - shaw@shawc.demon.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).

--------------1770882C7E47BDC0201F44FE
Content-Type: text/plain; charset=us-ascii; name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="diff"

*** Makefile.dist	Thu Nov 28 15:34:32 1996
--- Makefile	Fri Nov 29 01:47:08 1996
***************
*** 9,15 ****
  VERSION = 1.0
  #
  # this is the directory where the news is stored.
! SPOOLDIR = /var/spool/news
  #
  # this is the directory where the configuration and group information is
  # kept.  It should preferably not be on the same partition as spooldir
--- 9,15 ----
  VERSION = 1.0
  #
  # this is the directory where the news is stored.
! SPOOLDIR = /var/spool/leafnode
  #
  # this is the directory where the configuration and group information is
  # kept.  It should preferably not be on the same partition as spooldir
***************
*** 43,52 ****
  	-mkdir -p $(SPOOLDIR) $(LIBDIR)
  	-mkdir -p $(SPOOLDIR)/{message.id,interesting.groups,out.going}
  	# this is actually quite fast, for _small_ servers
! 	cd $(SPOOLDIR)/message.id
  	for a in 0 1 2 3 4 5 6 7 8 9 ; do for b in 0 1 2 3 4 5 6 7 8 9 ; do \
! 		mkdir ${a}${b}0 ${a}${b}1 ${a}${b}2 ${a}${b}3 ${a}${b}4 ; \
! 		mkdir ${a}${b}5 ${a}${b}6 ${a}${b}7 ${a}${b}8 ${a}${b}9 ; \
  		done ; done
  	cp config.example $(LIBDIR)
  	chown -R news.news $(LIBDIR) $(SPOOLDIR)
--- 43,52 ----
  	-mkdir -p $(SPOOLDIR) $(LIBDIR)
  	-mkdir -p $(SPOOLDIR)/{message.id,interesting.groups,out.going}
  	# this is actually quite fast, for _small_ servers
! 	cd $(SPOOLDIR)/message.id ; \
  	for a in 0 1 2 3 4 5 6 7 8 9 ; do for b in 0 1 2 3 4 5 6 7 8 9 ; do \
! 		mkdir $${a}$${b}0 $${a}$${b}1 $${a}$${b}2 $${a}$${b}3 $${a}$${b}4 ; \
! 		mkdir $${a}$${b}5 $${a}$${b}6 $${a}$${b}7 $${a}$${b}8 $${a}$${b}9 ; \
  		done ; done
  	cp config.example $(LIBDIR)
  	chown -R news.news $(LIBDIR) $(SPOOLDIR)

--------------1770882C7E47BDC0201F44FE--


Technical Details
Message-ID: <329E4296.705E4CC6@shawc.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <E1ItBs.89@eskimo.com>

Show Full Headers
Complete Article Headers
Message-ID: <329E4296.705E4CC6@shawc.demon.co.uk>
Subject: Re: Leafnode make install problem
Date: Fri, 29 Nov 1996 00:00:00 +0000
From: Shaw Carruthers <shaw@shawc.demon.co.uk>
References: <E1ItBs.89@eskimo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 201321943
Distribution: inet
X-nntp-posting-host: shawc.demon.co.uk
To: Gary Taylor <gctaylor@eskimo.com>
Content-type: multipart/mixed; boundary="------------1770882C7E47BDC0201F44FE"
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.26 i486)