Building /modxslt-2004112100 on FC5 w/apache2.2.2 randrews
From: randrews@xxxxxxxxxxxx
To: users@xxxxxxxxxxxxxxxx
Subject: Building /modxslt-2004112100 on FC5 w/apache2.2.2
Date: Fri, 6 Oct 2006 21:13:58 +0200 (CEST)
Hello everyone,
For starters here's my platform:
2.6.15-1.2054_FC5 i386
Server version: Apache/2.2.2
Server built: Jul 26 2006 11:12:08
I'm trying to build with the following parameters:
../configure --with-apr-config=/usr/bin/apr-1-config << since apr-config
doesn't seem to exist on FC5
Here's my problem:
configure: * Detecting SAPI (Server API) to use
configure: checking if pointers (void *) are at least 32 bits long...
configure: * Trying with: 'detect'
configure: * Trying with: 'apache'
checking for apxs... /usr/sbin/apxs
checking /usr/include/httpd/ap_release.h usability... no checking
/usr/include/httpd/ap_release.h presence... no checking for
/usr/include/httpd/ap_release.h... no
configure: apache: Apache 1.3.x was detected thanks to apxs
configure: * Trying with: 'apache1'
checking /usr/include/httpd/httpd.h usability... no checking
/usr/include/httpd/httpd.h presence... no checking for
/usr/include/httpd/httpd.h... no
configure: apache1: couldn't find a valid 'httpd.h'.
configure: apache1: Falling back to 'apache2'
configure: * Trying with: 'apache2'
checking for apr_send in -lapr-0... no
configure: apache2: 'apr-0' library found is not valid.
configure: apache2: Falling back to 'detect'
configure: * Trying with: 'detect'
configure: * Trying with: 'error'
configure: error: Couldn't find an usable SAPI...
I found a similar error posted earlier and I tried the fix of install
gdbm-devel, but that has not fixed my problem. It seems that during the
configure stages, it does not recognize ap_release.h. This file does exist
in /usr/include/httpd.
From what I can follow, it looks like the output of:
as_ac_Header=`echo "ac_cv_header_$APXS_DIR/ap_release.h" | $as_tr_sh` is
incorrect. Here's my ap_release.h:
/* Copyright 2001-2005 The Apache Software Foundation or its licensors, as
applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file ap_release.h
* @brief Version Release defines
*/
#ifndef AP_RELEASE_H
#define AP_RELEASE_H
#include "apr_general.h" /* stringify */
#define AP_SERVER_COPYRIGHT \
"Copyright 2001-2006 The Apache Software Foundation " \
"or its licensors, as applicable."
/*
* The below defines the base string of the Server: header. Additional
* tokens can be added via the ap_add_version_component() API call.
*
* The tokens are listed in order of their significance for identifying the
* application.
*
* "Product tokens should be short and to the point -- use of them for
* advertizing or other non-essential information is explicitly forbidden."
*
* Example: "Apache/1.1.0 MrWidget/0.1-alpha"
*/
#define AP_SERVER_BASEVENDOR "Apache Software Foundation"
#define AP_SERVER_BASEPRODUCT "Apache"