2.2a3 ./configure issues

Joachim Feise jfeise at ics.uci.edu
Thu Mar 29 03:54:51 GMT 2001


Hi,

I am configuring Samba 2.2alpha3 with
./configure  --sysconfdir=/etc --localstatedir=/var/log --with-smbmount --with-ssl \
--with-sslinc=/usr/local/include/openssl

This results in the following lines in the Makefile:
# Generated automatically from Makefile.in by configure.
###########################################################################
# Makefile.in for Samba - rewritten for autoconf support
# Copyright Andrew Tridgell 1992-1998
###########################################################################

prefix=/usr/local/samba
exec_prefix=${prefix}
mandir=${prefix}/man
sysconfdir=/etc

LIBS=-lssl -lcrypto -lreadline  -ldl -lcrypt -lnsl
CC=gcc
CFLAGS=-DHAVE_CRYPT_DECL -I/usr/local/include/openssl/include  -O
CPPFLAGS=
LDFLAGS=-L/usr/local/include/openssl/lib 

The problem is that the CFLAGS and LDFLAGS entries are wrong.
OpenSSL's include files are on my system installed in /usr/local/include/openssl,
and the OpenSSL lib files are in /usr/local/lib.
I am using OpenSSL 0.9.6, btw.
The interesting thing (for me) is that the value for sslinc is also used
to determine the library path, which is not specified in ./configure --help.

-Joe




More information about the samba mailing list