Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12
2010 01 02 03 04 05 06 07 08 09 10 11 12
2011 01 02 03 04 05 06 07 08 09 10 11 12

       Chronological   next            Thread   next  

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.

    ls /usr/include/httpd/
    ap_compat.h
    ap_config_auto.h
    ap_config.h
    ap_config_layout.h
    ap_listen.h
    ap_mmn.h
    ap_mpm.h
    ap_provider.h
    ap_regex.h
    ap_regkey.h
    ap_release.h
    http_config.h
    http_connection.h
    http_core.h
    httpd.h
    http_log.h
    http_main.h
    http_protocol.h
    http_request.h
    http_vhost.h
    mod_auth.h
    mod_cgi.h
    mod_core.h
    mod_dav.h
    mod_dbd.h
    mod_include.h
    mod_log_config.h
    mod_proxy.h
    mod_ssl.h
    mod_status.h
    mpm_common.h
    mpm_default.h
    mpm.h
    os.h
    scoreboard.h
    unixd.h
    util_cfgtree.h
    util_charset.h
    util_ebcdic.h
    util_filter.h
    util_ldap.h
    util_md5.h
    util_script.h
    util_time.h
    util_xml.h

    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"

    #define AP_SERVER_MAJORVERSION_NUMBER 2
    #define AP_SERVER_MINORVERSION_NUMBER 2
    #define AP_SERVER_PATCHLEVEL_NUMBER 2
    /* #define AP_SERVER_DEVBUILD_BOOLEAN 1 */

    #if AP_SERVER_DEVBUILD_BOOLEAN
    #define AP_SERVER_ADD_STRING "-dev"
    #else
    #define AP_SERVER_ADD_STRING ""
    #endif

    /* keep old macros as well */
    #define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
    #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
    #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
    AP_SERVER_ADD_STRING

    #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "."
    AP_SERVER_MINORVERSION #define AP_SERVER_BASEREVISION
    AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
    #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/"
    AP_SERVER_BASEREVISION
    #define AP_SERVER_VERSION AP_SERVER_BASEVERSION

    /* macro for Win32 .rc files using numeric csv representation */ #define
    AP_SERVER_PATCHLEVEL_CSV AP_SERVER_MAJORVERSION_NUMBER ##, \
    ##AP_SERVER_MINORVERSION_NUMBER ##, \
    ##AP_SERVER_PATCHLEVEL_NUMBER

    #endif


    Sorry for the verbosity, but I hope it helps

    -- Richard.

      Powered by Sympa