Subject: | |
From: | |
Reply To: | |
Date: | Mon, 25 Aug 1997 13:58:57 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi All,
I'm in the process of trying to install the apache web server(Mark's) and
having trouble trying to compile it. The error messages are below along
with Mark's comments. I would like to use the gcc compiler rather then
c89 compiler (i haven't a clue to the differences). I was under the
impression that i had downloaded and installed the GNU GCC
compiler(the other Mark) while installing that it also produced an error
but i think i got around it (maybe not) that error is also listed below.
Can anyone tell me what i'm doing wrong or where to get the gcc c
compiler. I have been using the NCSA web server for the past 5 months
and would like to take advantage of newer features.
As always any help is greatly appreciated,
Rich
**** Apache Compile error ***
>>> Mark Bixby <[log in to unmask]> 08/22/97 04:27pm >>>
Richard Fisher writes:
> I've been trying to get your version of Apache Web server compiled,
and
> ran into the error below on the Make statement. Do you have any
> suggestions on what to do and where i screwed up. Any help you
can
> offer will be greatly appreciated.
>
> Thanks,
>
>
> /APACHE/PUB/apache_1.2.3/src $./Configure
>
> Using config file: Configuration
> Using Makefile template file: Makefile.tmpl
> Makefile.bak?
> modules.c.bak?
> + configured for MPE/iX platform
> + setting C compiler to c89
I think you may be the first brave person to attempt compiling with c89
instead
of gcc.
> + setting C compiler optimization-level to -O2
>
> /APACHE/PUB/apache_1.2.3/src $make
> c89 -c -O2 -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE
-DSTATUS
> alloc.c
> c89: unrecognized option: 2
> usage: c89 [-cgsEO] [-o outfile] [-D name[=value]] [-I directory] [-L
> directory]
> [-T stacksize] [-U name] -Wphase,args -P listfile files... [-llib ...]
Looks like it doesn't understand the -O2 optimization. Change it to just
-O (I assume c89 -O *does* mean optimize).
You might also have a parameter issue with the final link step....
***** GNU C installion error ********
0 1B 3803 2147483647 -r--r--r-- lib/perl5/validate.pl
0 1B 976 2147483647 -r--r--r-- lib/perl5/vars.pm
./INSTALL.hp3000 146: /local/bin/patch: cannot execute: Permission
denied
Unable to apply patches to /etc/ar.ccg and /etc/c89.ccg from
/tmp/PATCHES.hp3000
Rich Fisher
Carilion Health System
Roanoke, Virginia
[log in to unmask]
(540) 224-4269
The opinions expressed are not necessarily that of my employers, and
may or may not be my own depending on how stupid they sound.
|
|
|