Error compiling 1.9.17

Quinn P. Coldiron qsamba at
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_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

and have selected the following OS section:

# Use this for Linux without shadow passwords
# contributed by Andrew.Tridgell at
# AXPROC defines DEC Alpha Processor

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
Compiling server.c
Compiling predict.c
Compiling util.c
Compiling system.c
Compiling charset.c
Compiling kanji.c
Compiling fault.c
Compiling smbencrypt.c
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 mailing list