help on compiling apache 1.3b3 on Solaris2.5.1

help on compiling apache 1.3b3 on Solaris2.5.1

Post by Stenn » Wed, 11 Feb 1998 04:00:00



Dear,

    Can someone help me on how do compile apache 1.3b3 in Solaris 2.5.1, I
have follow the instruction also don't get it work.
     I have installed gcc 2.7.3 and glibc, and gmake too. but when I try to
execute the configure file it return me that I don't have an ANSI C compile.

    Please help. Thanks.

Stenny.

 
 
 

help on compiling apache 1.3b3 on Solaris2.5.1

Post by Marc Slemk » Wed, 11 Feb 1998 04:00:00



Quote:>Dear,
>    Can someone help me on how do compile apache 1.3b3 in Solaris 2.5.1, I
>have follow the instruction also don't get it work.
>     I have installed gcc 2.7.3 and glibc, and gmake too. but when I try to
>execute the configure file it return me that I don't have an ANSI C compile.

You would have to show exactly what it is outputting when
you try.  

 
 
 

help on compiling apache 1.3b3 on Solaris2.5.1

Post by Dave Terre » Wed, 11 Feb 1998 04:00:00



>Dear,

>    Can someone help me on how do compile apache 1.3b3 in Solaris 2.5.1, I
>have follow the instruction also don't get it work.
>     I have installed gcc 2.7.3 and glibc, and gmake too. but when I try to
>execute the configure file it return me that I don't have an ANSI C compile.

>    Please help. Thanks.

Try setting CC=gcc and putting the path to the gcc binary in your path.  
When posting errors like these, copying and pasting the actual error you
get is often very very helpful.

--
Dave Terrell


 
 
 

1. Compiling Apache on Solaris2.5.1 w/SUNpro C compiler

Greetings

I am attempting to compile apache 1.2.4 on a Solaris 2.5.1 system.  I
have ran into some problems and am forced to assume that there are
some compatibility issure with the SUNpro C compiler.  I have made
miniumal changer to Configuration. (Only added the "cc" compiler info.)
I also had to add a tyoedef to conf.c:

typedef int rlim_t;

I run into some "argument mismatch" errors on http_logs.c and
http_protocol.c and some syntax errors in the later.  Heres the
errors for http_protocol.c:

# make
cc -c -Iregex  -O2 -DSOLARIS2   http_protocol.c
"http_protocol.c", line 607: major: argument mismatch
"http_protocol.c", line 607: minor: argument mismatch
"http_protocol.c", line 650: major: argument mismatch
"http_protocol.c", line 650: minor: argument mismatch
"http_protocol.c", line 651: major: argument mismatch
"http_protocol.c", line 651: minor: argument mismatch
"http_protocol.c", line 1652: va_start: argument mismatch
"http_protocol.c", line 1668: va_start: argument mismatch
"http_protocol.c", line 607: syntax error before or at: int
"http_protocol.c", line 625: undefined symbol: len
"http_protocol.c", line 650: syntax error before or at: )
"http_protocol.c", line 651: syntax error before or at: )
"http_protocol.c", line 654: cannot recover from previous errors
*** Error code 10

Could someone tell me what changes need to be made for Apache to
compile with the SUNpro C compiler?

2. Help with Make Error 1.2.13 (ELF)

3. Solaris2.6 TCP/IP faces Solaris2.5.1.

4. NOTEBOOK CHIPSET SURVEY - 23 Mar 1995

5. Losing space from Solaris2.4 to Solaris2.5.1?

6. symbols for all out-of-line code

7. Does anyone have ssh binaries for Solaris2.5.1 or Solaris2.6?

8. using sed?

9. DNS search between Solaris2.5.1 and Solaris2.6

10. Solaris2.3 - Solaris2.5.1 captive accounts

11. Apache/Solaris2.5.1 Slow Responses

12. Apache1.1.1 & Solaris2.5.1 HELP

13. solaris2.5.1 as router, RIP-2 help?