[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Building 2.2.19 from source



On Fri, 2004-12-31 at 09:06 -0500, Jonathan Higgins wrote:
> ive had some problems with compiling on RHELv3.. that had the same
> result after a configure --Makefile is empty-- ,but it usually had to do
> with a perl build.. but I digress.. the fix is to change the default
> LANG from en_US.UTF.8 to en_US
> 
> #export LANG=en_US
> 
> then give your ./configure another go.. 
----
that helped but train fell off the track later...

went back and compiled separate branch of openssl for /usr/local and
then went back to heimdal and cyrus-sasl - ran config again for both,
make clean, make, make install for the new version of openssl.

Problem is in 'make' step for openldap

In file included from /usr/include/openssl/ssl.h:179,
                 from tls.c:41:
/usr/include/openssl/kssl.h:136: syntax error before "krb5_octet"
/usr/include/openssl/kssl.h:149: syntax error before '*' token
/usr/include/openssl/kssl.h:150: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:151: syntax error before '*' token
/usr/include/openssl/kssl.h:152: syntax error before '*' token
/usr/include/openssl/kssl.h:153: syntax error before '*' token
/usr/include/openssl/kssl.h:155: syntax error before '*' token
/usr/include/openssl/kssl.h:157: syntax error before '*' token
/usr/include/openssl/kssl.h:159: syntax error before '*' token
/usr/include/openssl/kssl.h:166: syntax error before "krb5_ticket_times"
/usr/include/openssl/kssl.h:167: syntax error before '*' token
In file included from tls.c:41:
/usr/include/openssl/ssl.h:909: syntax error before "KSSL_CTX"
/usr/include/openssl/ssl.h:931: syntax error before '}' token
make[2]: *** [tls.lo] Error 1
make[2]: Leaving directory `/opt/build-
openldap/openldap-2.2.19/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/opt/build-
openldap/openldap-2.2.19/libraries'
make: *** [all-common] Error 1

My rules for config are...
# cat Config
#!/bin/sh
export LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
export CPPFLAGS="-I/usr/local/include"
export LD_LIBRARY_PATH=/usr/local/lib
export LD_RUN_PATH=/usr/local/lib
export LANG=en_US
./configure \
    --prefix=/usr/local \
    --disable-ipv6 \
    --with-cyrus-sasl \
    --with-kerberos \
    --with-tls \
    --enable-monitor \
    --enable-dynamic \
    --enable-phonetic \
    --enable-slapd \
    --enable-spasswd \
    --enable-rlookups \
    --enable-wrappers \
    --enable-crypt \
    --enable-hdb \
    --with-dyngroup=yes \
    --with-proxycache=yes

? ?

Craig