Subject: Re: quark file locking
From: seiji (seiji@kitokitonet.ne.jp)
Date: Wed Aug 01 2001 - 20:41:13 EDT
HI
I am using pre-asun2.1.4-37b.tar.gz on Redhat 7.1
So far there is not a problem even MacOSX even Quark.
I change this part of "Makefile" like the lower part.
Before a change
--------------------------------------------------------
# for system-level binaries
SBINDIR=$(DESTDIR)/sbin
# for user-level binaries
BINDIR=$(DESTDIR)/bin
# for program libraries (*.a)
LIBDIR=$(DESTDIR)/lib
# for machine-independent resources (pagecount.ps, etc.)
RESDIR=$(DESTDIR)/etc
# for configuration files (AppleVolumes.system, etc.)
ETCDIR=$(DESTDIR)/etc
# for include files
INCDIR=$(DESTDIR)/include
# Root of man pages. Subdirectories will be
# ${MANDIR}/man1, ${MANDIR}/man4, and ${MANDIR}/man8.
MANDIR=$(DESTDIR)/man
#INSTALL_PREFIX=
#SBINDIR=${INSTALL_PREFIX}/usr/sbin
#BINDIR=${INSTALL_PREFIX}/usr/bin
#LIBDIR=${INSTALL_PREFIX}/usr/lib
#RESDIR=${INSTALL_PREFIX}/usr/lib/atalk
#ETCDIR=${INSTALL_PREFIX}/etc/atalk
#INCDIR=${INSTALL_PREFIX}/usr/include
#MANDIR=${INSTALL_PREFIX}/usr/man
---------------------------------------------------------
After a change
---------------------------------------------------------
# for system-level binaries
#SBINDIR=$(DESTDIR)/sbin
# for user-level binaries
#BINDIR=$(DESTDIR)/bin
# for program libraries (*.a)
#LIBDIR=$(DESTDIR)/lib
# for machine-independent resources (pagecount.ps, etc.)
#RESDIR=$(DESTDIR)/etc
# for configuration files (AppleVolumes.system, etc.)
#ETCDIR=$(DESTDIR)/etc
# for include files
#INCDIR=$(DESTDIR)/include
# Root of man pages. Subdirectories will be
# ${MANDIR}/man1, ${MANDIR}/man4, and ${MANDIR}/man8.
#MANDIR=$(DESTDIR)/man
INSTALL_PREFIX=
SBINDIR=${INSTALL_PREFIX}/usr/sbin
BINDIR=${INSTALL_PREFIX}/usr/bin
LIBDIR=${INSTALL_PREFIX}/usr/lib
RESDIR=${INSTALL_PREFIX}/usr/lib/atalk
ETCDIR=${INSTALL_PREFIX}/etc/atalk
INCDIR=${INSTALL_PREFIX}/usr/include
MANDIR=${INSTALL_PREFIX}/usr/man
--------------------------------------------------
And I change this part of "Makefile" like the lower part.
Before a change
CRYPTODIR=/usr/local/ssl
After a change
#CRYPTODIR=/usr/local/ssl
And I change this part of "Makefile" like the lower part.
Before a change
#DESDIR=/usr/local
After a change
DESDIR=/usr/local
And I change this part of "etc/afpd/Makefile" like the lower part.
Before a change
CFLAGS=****
After a change
CFLAGS=**** -DSHADOWPW
And I change this part of "sys/linux/Makefile" like the lower part.
(In case of me, there was not a problem of a lock of Quark when I took out
this option.)
Before a change
DEFS=$$OSDEFS $$MACHINEDEFS $$QUOTADEF
After a change
DEFS=$$OSDEFS $$MACHINEDEFS $$QUOTADEF -DUSE_FLOCK_LOCKS
# make
# make install
# cd config
# cp AppleVolumes.default /etc/atalk
# cp AppleVolumes.system /etc/atalk
# cp atalkd.conf /etc/atalk
# cp papd.conf /etc/atalk
# cd /etc/atalk
/usr/bin/afppasswd -acf
(Then a file named "afppasswd" comes "/usr/lib/atalk/".)
/usr/bin/afppasswd username
(Input a password twice.)
In "/etc/atalk/afpd.conf" file, add "-passwdfile /usr/lib/atalk/afppasswd"
Good Luck!!
====
naka
====
This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:47 EDT