[Samba] pid and lock dir during compile

John H Terpstra jht at samba.org
Thu Mar 20 00:13:04 GMT 2003


Harondel,

Why not take the easy way?

You can build OpenLinux RPM packages from:

	1. cd ~samba/packaging/Caldera/OpenLinux
	2. sh makerpms.sh

If it does not work, drop me a line. I'll try to help you.

- John T.

On Wed, 19 Mar 2003, Harondel J. Sibble wrote:

> I am compiling 2.2.8 on a Caldera Openlinux box that was running 2.0.5 or
> some such. It already has a working config and uses samba.d dirs for it's
> files:
>
> /etc/samba.d
> /var/lock/samba.d
> /var/log/samba.d
>
> etc
>
> During compile I use following switches
>
> --with-piddir=/var/lock/samba.d
> --with-lockdir=/var/lock/samba.d
>
> However the pid files are ending up in /var/run/samba instead of
> /var/lock/samba.d
>
> The only other thing I can think might affect this is the --localstatedir. My
> ./configure line is as follows:
>
>     ./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with-
>     lockdir=/var/lock/samba.d --with-piddir=/var/lock/samba.d --with-
>     confdir=/etc/samba.d --with-codepagedir=/etc/samba.d/codepages --with-
>     logfilebase=/var/log/samba.d --with-syslog --localstatedir=/var --with-
>     privatedir=/etc/samba.d/private
>
> Comments?
>

-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list