Received: (qmail 18755 invoked by uid 2012); 4 Nov 1998 00:23:09 -0000 Message-Id: <19981104002309.18754.qmail@hyperreal.org> Date: 4 Nov 1998 00:23:09 -0000 From: Rod Venner Reply-To: rvenner@vennercs.com To: apbugs@hyperreal.org Subject: Unable to compile suexec? X-Send-Pr-Version: 3.2 >Number: 3339 >Category: suexec >Synopsis: Unable to compile suexec? >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Nov 3 16:30:01 PST 1998 >Last-Modified: Wed Nov 4 16:50:00 PST 1998 >Originator: rvenner@vennercs.com >Organization: >Release: 1.3.3 >Environment: BSDI 2.1 >Description: cd /usr/home/vennercs/source/apache_1.3.3/src/support; vi suexec.h modify #define GID_MIN to #define GID_MIN 85 (line 88) modify #define LOG_EXEC "/usr/local/etc/httpd/logs/cgi.log" /* Need me? */ to #define LOG_EXEC "/usr/var/log/httpd/cgi.log" /* Need me? */ (line 122) modify #define DOC_ROOT "/usr/local/etc/httpd/htdocs" to #define DOC_ROOT "/usr/var/www" (line 131) save suexec.h /usr/bin/cc suexec.c -o suexec ; mv /usr/contrib/bin/suexec /usr/contrib/bin/suexec.orig This is the error message I am getting ??? suexec.c:74: ap_config.h: No such file or directory mv: rename /usr/contrib/bin/suexec to /usr/contrib/bin/suexec.orig: No such file or directory Thanks for the help >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Nov 3 16:32:56 PST 1998 State-Changed-Why: As I already said in response to your Usenet posting, you should be using "make suexec" instead, after having configured Apache (ie. run Configure or configure). You must be looking at some old docs if they are telling you to do what you are doing. From: Rod Venner To: marc@apache.org Cc: apbugs@apache.org Subject: Re: suexec/3339: Unable to compile suexec? Date: Wed, 04 Nov 1998 17:36:20 -0700 I am currently running BSDI 3.1, all patched and Perl version 5.003_95 . I am trying to install the latest Apache with suexec. When I "make suexec" from the ../apache_1.3.3/src/support directory, I get the following error message. Please advise. main: {18} % make suexec cc -O2 suexec.c -o suexec suexec.c:74: ap_config.h: No such file or directory *** Error code 1 Stop. main: {19} % From: Marc Slemko To: Rod Venner Cc: Apache bugs database Subject: Re: suexec/3339: Unable to compile suexec? Date: Wed, 4 Nov 1998 16:40:35 -0800 (PST) As I already said in my initial response to this PR, you have to have configured Apache for compilation first with configure or Configure. If you can't build Apache in the tree with "make", you won't be able to build suexec. On Wed, 4 Nov 1998, Rod Venner wrote: > I am currently running BSDI 3.1, all patched and Perl version 5.003_95 . I > am trying to install the latest Apache with suexec. When I "make suexec" > from the ../apache_1.3.3/src/support directory, I get the following error > message. Please advise. > > main: {18} % make suexec > cc -O2 suexec.c -o suexec > suexec.c:74: ap_config.h: No such file or directory > *** Error code 1 > > Stop. > main: {19} % > >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]