Cool Tools - compilation of coolstack

Hello,

I am trying to compile coolstack to use different worker mode for apache. SunStudio 11 is installed and collstack src as well. I get following messages:

bash-3.00# uname -a

SunOS sol10 5.10 Generic_118855-36 i86pc i386 i86pc

bash-3.00# echo $PATH

/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin

bash-3.00# ./make_solaris.sh

make: Fatal error: Don't know how to make target `distclean'

checkingfor chosen layout... Apache

checkingfor working mkdir -p... yes

checking build system type... i386-pc-solaris2.10

checking host system type... i386-pc-solaris2.10

checking target system type... i386-pc-solaris2.10

Configuring Apache Portable Runtime library ...

checkingfor APR... reconfig

configuringpackage in srclib/apr now

checking build system type... i386-pc-solaris2.10

checking host system type... i386-pc-solaris2.10

checking target system type... i386-pc-solaris2.10

Configuring APR library

Platform: i386-pc-solaris2.10

checkingfor working mkdir -p... yes

APR Version: 1.2.7

checkingfor chosen layout... apr

checkingfor gcc... no

checkingfor cc... cc

checkingfor C compilerdefault output file name... configure: error: C compiler cannot create executables

See `config.log' for more details.

configure failedfor srclib/apr

make: Fatal error: No arguments to build

make: Fatal error: Don't know how to make target `install'

Could you please help me where is the problem ?

Regards

przemol

[2130 byte] By [przemolba] at [2007-11-26 23:21:33]
# 1

Hello,

I am trying to compile coolstack to use different

worker mode for apache. SunStudio 11 is installed and

[...]

checking for C compiler default output file name...

configure: error: C compiler cannot create

executables

See `config.log' for more details.

[...]

[/code]

Could you please help me where is the problem ?

SunStudio is installed correctly:

bash-3.00# cat aaa.c

#include <stdio.h>

int main ()

{

printf ("Hello World !\n");

}

bash-3.00# cc aaa.c

bash-3.00# ./a.out

Hello World !

Did anybody had similar problem ?

przemol

przemolba at 2007-7-10 14:25:57 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2

Hello-

I am guessing that your path statement is setup wrong (ie, cc is not in your path). Try pasting this into the console where you're trying to compile, and then run make_solaris.sh (from the /opt/coolstack/src/httpd-2.2.3 directory)

cc=/opt/SUNWspro/bin/cc

CC=/opt/SUNWspro/bin/cc

export CC

export cc

PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sfw/bin:$PATH

export PATH

Cheers-

John

john.tracya at 2007-7-10 14:25:57 > top of Java-index,Open Source Technologies,OpenSPARC...
# 3
And another thing.. when I tried to recompile, I got errors about the script trying to find files on space103/...This cleared it up (ran it before running make_solaris.sh)/usr/sfw/bin/gmake clean (from the /opt/coolstack/src/httpd-2.2.3 directory).-John
john.tracya at 2007-7-10 14:25:57 > top of Java-index,Open Source Technologies,OpenSPARC...