Thanks, Volker. This works for me.
I have a related configure question. If you set --with-krb5=dir,
shouldn't configure add a -Rdir so that it finds the run-time version
of the library? It appears to only do a -Ldir, so some of the
configure tests fail.
Thanks.
-John
Volker
Unable to compile samba-3.2.4 on Solaris 9 for sparc.
#building openldap
CC=gcc
#echo $CC
#exit
CPPFLAGS=-I/usr/local/include -I/usr/local/ssl/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/sasl
LDFLAGS=-L/usr/local/lib -L/usr/local/ssl/lib
-L/usr/local/BerkeleyDB.4.2/lib
Hi Wayne,
I had the same problem. I fixed one line in configure:
if test x$debug = xyes ; then
CFLAGS=${CFLAGS} -g
else
CFLAGS=-O
fi
The second if statement was clearing my CFLAGS setting, replacing it
with just -O. I changed the line from CFLAGS=-O to
CFLAGS=${CFLAGS} -O.
On Wed, Oct 01, 2008 at 06:28:42PM -0400, John Center wrote:
I had the same problem. I fixed one line in configure:
if test x$debug = xyes ; then
CFLAGS=${CFLAGS} -g
else
CFLAGS=-O
fi
The second if statement was clearing my CFLAGS setting, replacing it
with just -O.