Error compiling 1.9.17
Quinn P. Coldiron
qsamba at up-intrepid.unl.edu
Thu Aug 28 13:32:21 GMT 1997
I was able to compile 1.9.17alpha5 ok, but can't get the latest release
1.9.17 to compile. I am using a Pentium RedHat 4.2 system and have set the
following in my Makefile:
# You will need to use a ANSI C compiler. This means under SunOS 4 you can't
# use cc, instead you will have to use gcc.
CC = gcc
# This is for PAM authentication. RedHat Linux uses PAM.
# If you use PAM, then uncomment the following lines:
PAM_FLAGS = -DUSE_PAM
PAM_LIBS = -ldl -lpam
# This is for SMB encrypted (lanman) passwords.
# you may wish to add -DREPLACE_GETPASS if your getpass() is limited
# to 8 chars
DES_LIB= -L$(DES_BASE) -ldes
PASSWD_FLAGS=-DUSE_LIBDES -DSMB_PASSWD=\"$(BINDIR)/smbpasswd\" -DSMB_PASSWD_FIL
and have selected the following OS section:
# Use this for Linux without shadow passwords
# contributed by Andrew.Tridgell at anu.edu.au
# AXPROC defines DEC Alpha Processor
FLAGSM = -DLINUX -DAXPROC -DFAST_SHARE_MODES
FLAGSM = -DLINUX -DFAST_SHARE_MODES
when I type make, I get this:
Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/us
Using LIBS = -ldl -lpam -L/usr/local/libdes -ldes
smbencrypt.c:25: des.h: No such file or directory
make: *** [smbencrypt.o] Error 1
I can't find des.h. Should this come with the tar file?
More information about the samba