error making apache2 "cannot open file `/home/gatekeeper/minfrin/rpms/httpd-2.0.50/include/ap_compat.h'"

View: New views
5 Messages — Rating Filter:   Alert me  

Parent Message unknown error making apache2 "cannot open file `/home/gatekeeper/minfrin/rpms/httpd-2.0.50/include/ap_compat.h'"

by Siju George :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 I was trying to install apache2 on CentOS5 and got the following error.

 =====================================================
 gawk -f /var/software/httpd-2.0.50/build/make_var_export.awk `cat
 export_files` > export_vars.h
 gawk: /var/software/httpd-2.0.50/build/make_var_export.awk:75: fatal:
 cannot open file
 `/home/gatekeeper/minfrin/rpms/httpd-2.0.50/include/ap_compat.h' for
 reading (No such file or directory)
 make[2]: *** [export_vars.h] Error 2
 make[2]: Leaving directory `/var/software/httpd-2.0.50/server'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/software/httpd-2.0.50/server'
 make: *** [all-recursive] Error 1
 [root@localhost httpd-2.0.50]#
 ==================================================================

 how do I fix this?

 thanks

 Siju

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: error making apache2 "cannot open file `/home/gatekeeper/minfrin/rpms/httpd-2.0.50/include/ap_compat.h'"

by Joshua Slive-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Mar 29, 2008 at 11:25 AM, Siju George <sgeorge.ml@...> wrote:
> Hi,
>   I was trying to install apache2 on CentOS5 and got the following error.

I don't know, but why are you building 2.0.50? If that is a CentOS
restriction, you should content CentOS to figure out what is going
wrong.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: error making apache2 "cannot open file `/home/gatekeeper/minfrin/rpms/httpd-2.0.50/include/ap_compat.h'"

by Nick Kew :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 29 Mar 2008 20:55:05 +0530
"Siju George" <sgeorge.ml@...> wrote:

> Hi,
>  I was trying to install apache2 on CentOS5 and got the following
> error.
>
>  =====================================================
>  gawk -f /var/software/httpd-2.0.50/build/make_var_export.awk `cat
>  export_files` > export_vars.h

Why such an old version?

>  gawk: /var/software/httpd-2.0.50/build/make_var_export.awk:75: fatal:
>  cannot open file
>  `/home/gatekeeper/minfrin/rpms/httpd-2.0.50/include/ap_compat.h' for
>  reading (No such file or directory)

That path indicates that configure was run on one of the developers'
own machine.  Yours is no doubt different.  Whatever you have,
you're in the wrong time (2008) and place (anywhere other than
minfrin's workstation) to build it.

Where the **** did you get that from?

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...


Help apache 101

by Minh Cao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,

I am new to the web server .... please help me with
this 2 questions.


1/  Setup the basic web server myhost.mydomain.com
2/ Setup the virtual host www.mydomain.com


My linux system hostname is:  myhost.mydomain.com
IP: 1.2.3.4
DNS:  www.mydomain.com  CNAME  myhost.mydomain.com


Please explain this:
If I use default DocumentRoot /var/www/html for
question #1, and use
VirtualHost with DocumentRoot /var/www/virtual for #2,
I no longer see the index.html file from
DocumentRoot of #1


Question #1 does not asked to use the Virtual host.
Can I just use the default DocumentRoot to config the
web server OR
have to use the Virtual host ?


Thanks
Tam




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Help apache 101

by Joshua Slive-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Mar 29, 2008 at 12:39 PM, Minh Cao <minhcao123@...> wrote:

>
>
>  Hi,
>
>  I am new to the web server .... please help me with
>  this 2 questions.
>
>
>  1/  Setup the basic web server myhost.mydomain.com
>  2/ Setup the virtual host www.mydomain.com
>
>
>  My linux system hostname is:  myhost.mydomain.com
>  IP: 1.2.3.4
>  DNS:  www.mydomain.com  CNAME  myhost.mydomain.com
>
>
>  Please explain this:
>  If I use default DocumentRoot /var/www/html for
>  question #1, and use
>  VirtualHost with DocumentRoot /var/www/virtual for #2,
>  I no longer see the index.html file from
>  DocumentRoot of #1
>
>
>  Question #1 does not asked to use the Virtual host.
>  Can I just use the default DocumentRoot to config the
>  web server OR
>  have to use the Virtual host ?

I think you need to read this:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html#using
which tells you that you need a <VirtualHost> section for every host
once you start to use NameVirtualHost. The DocumentRoot in the "main
server" no longer has an effect.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...