Trouble compiling coolstack_src httpd-2.0.58

I'm trying to compile apache2 from coolstack_src on a freshly installed solaris 10 machine with Sun Studio 11.

I added --enable-ldap and --enable-auth-ldap to config.sh and tried to compile using "make". I keep getting build failures related to paths starting with:

/space103/server/apache2

Is this an internal path from Sun's build system or is something weird going on at my end?

Is it safe to use the coolstack config.sh with source from apache.org?

[486 byte] By [judda] at [2007-11-26 14:29:47]
# 1

Did you do a 'make clean' first ?

For ldap, you also need to download ldap (openldap.org), build it and add the following options to the configure command in 'config.sh' for apache :

--with-ldap-include=<path> and -with-ldap-lib=<path>

And yes - you can use this config.sh for newer Apache source you download from the apache site as well.

The next version of Cool Stack will include Apache 2.2.3.

Let me know if you run into issues compiling the ldap library. We've just done so for openldap-2.3.3 and here is a 'config.sh' you can use :

#!/bin/sh

LDFLAGS=-L/usr/local/lib

export LDFLAGS

CPPFLAGS='-I/usr/local/include'

export CPPFLAGS

LD_LIBRARY_PATH=/usr/local/lib;export LD_LIBRARY_PATH

CFLAGS='-xO4 -xtarget=generic -I/opt/coolstack/include' ./configure --prefix=/usr/local --with-cyrus-sasl

shantiSa at 2007-7-8 2:24:15 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2
I've recompiled Cool Stack to enable ldap and to support my install of TWiki, see if this helps, http://blogs.sun.com/dwaynelee/entry/setting_up_twiki_with_cool1
dwaynelee@suna at 2007-7-8 2:24:15 > top of Java-index,Open Source Technologies,OpenSPARC...