Ask again, error in installing apache2.0.35

Ask again, error in installing apache2.0.35

Post by cyan » Fri, 26 Apr 2002 02:39:43



OS: Solaris 8. Default shell: csh. compiler: tried both gcc 2.95 and 3.0.3

I downloaded apache2.0.35 binaries for Solaris.

When I ran the config script:
% ./configure --enable-mods-shared=all --prefix=/usr/local/apache_2.0.35

The last a few lines from the output:
========================

  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
checking for rm... (cached) /usr/bin/rm
checking for mawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -pthreads ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.

Can someone help?

BTW, not long ago, I successfully installed apache 2.0.x (2.0.14 maybe?) on
Solaris 8 with gcc 3.0.3.

 
 
 

1. error in installing apache2.0.35

OS: Solaris 8. Default shell: csh. compiler: gcc 2.95

I downloaded apache2.0.35 binaries for Solaris.

When I ran the config script:
% ./configure --enable-mods-shared=all --prefix=/usr/local/apache_2.0.35

The last a few lines from the output:
========================

  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
checking for rm... (cached) /usr/bin/rm
checking for mawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -pthreads ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.

The error in config.log
===============

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:940: checking for chosen layout
configure:1717: checking host system type
configure:1738: checking target system type
configure:1756: checking build system type
configure:2339: checking for rm
configure:2376: checking for mawk
configure:2408: checking for gcc
configure:2521: checking whether the C compiler (gcc -O2 -pthreads ) works
configure:2537: gcc -o
conftest -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
conftest
.c -lsendfile -lrt -lm -lsocket -lnsl -lresolv  -ldl 1>&5
ld: fatal: library -lsendfile: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:

#line 2532 "configure"
#include "confdefs.h"

main(){return(0);}

Can someone help?

BTW, not long ago, I successfully installed apache 2.0.x (2.0.14 maybe?) on
Solaris 8 with gcc 3.0.x. Does gcc really make the difference? I doubt it.

2. 2 modems to provide aggregate bandwidth possible? (no multilink)

3. Config Apache2.0.35 and Tomcat 4.0.3

4. Problems when installing shadow password

5. apache2-2.0.35 Binary Depot for HP-UX 11.00

6. Apache timeout problem with mod_proxy

7. Apache2.0.35

8. history.

9. Apache-2.0.35: (error) permissions on cross-process lock?

10. Newbie Linux-2.0.35 compile error.

11. setup.ins error when installing OO in 5.0-REL

12. apache_2.0.35 + mod_ssl

13. contest update to 0.35