Results 1 to 4 of 4

Thread: Installing jserv on slackware 12 & httpd ver 2.1 I think :D

  1. #1
    Very good friend of the forum drgr33n's Avatar
    Join Date
    Jan 2010
    Location
    Dark side of the moon ...
    Posts
    699

    Default Installing jserv on slackware 12 & httpd ver 2.1 I think :D

    Hey guys

    I'm in need of some help if anybody is up for the challenge. I'm trying to install jserv on my upgraded version of bt2 and I am having big troubles ;(

    Everytime I try to configure I get

    Code:
    checking for httpd.h... no
    Now I dont think this is the problem because this file exists and I am pointing the script to the right paths ???

    Heres were it all goes wrong in the logs

    Code:
    configure:4269: checking for httpd.h
    configure:4279: gcc -E  -I/usr/include/httpd conftest.c >/dev/null 2>conftest.out
    In file included from /usr/include/httpd/httpd.h:43,
                     from configure:4275:
    /usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or directory
    /usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file or directory
    /usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory
    In file included from /usr/include/httpd/httpd.h:46,
                     from configure:4275:
    /usr/include/httpd/ap_release.h:25:41: error: apr_general.h: No such file or directory
    In file included from configure:4275:
    /usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file or directory
    /usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file or directory
    /usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or directory
    /usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such file or directory
    /usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or directory
    /usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or directory
    /usr/include/httpd/httpd.h:745:21: error: apr_uri.h: No such file or directory
    configure: failed program was:
    #line 4274 "configure"
    #include "confdefs.h"
    #include <httpd.h>
    Now I have checked and checked again and I defo have apache portable runtime libs and utils installed ???

    Configure fails here

    Code:
    if ${TEST} -n ${apache_dir} ; then
    # now that we have include dir check for these
    for ac_hdr in httpd.h http_config.h http_core.h http_log.h http_main.h http_protocol.h util_script.h util_md5.h os-inline.c
    do
    ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    echo "configure:4269: checking for $ac_hdr" >&5
    if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
      echo $ac_n "(cached) $ac_c" 1>&6
    else
      cat > conftest.$ac_ext <<EOF
    #line 4274 "configure"
    #include "confdefs.h"
    #include <$ac_hdr>
    What is checking for all the includes files but config.log suggests httpd.h cannot find apr ??

    Code:
    #include "apr.h"
    #include "apr_hooks.h"
    #include "apr_optional_hooks.h"
    Any pointers at all would be much appreciated cheers

  2. #2
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default

    Ok so httpd.h exists, do the apr*.h files?
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  3. #3
    Very good friend of the forum drgr33n's Avatar
    Join Date
    Jan 2010
    Location
    Dark side of the moon ...
    Posts
    699

    Default

    yes apr*.h files exist. They are to do with the apache portable runtime package. I have pointed all the files in question to the right path in each file Don't know why they cannot be found ??? And now I'm bombarded with errors Give me ten mins and I'l post em

  4. #4
    Very good friend of the forum drgr33n's Avatar
    Join Date
    Jan 2010
    Location
    Dark side of the moon ...
    Posts
    699

    Default

    Code:
    Making all in src
    make[1]: Entering directory `/root/tmp/ApacheJServ-1.1.2/src'
    Making all in c
    make[2]: Entering directory `/root/tmp/ApacheJServ-1.1.2/src/c'
    /bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"ApacheJServ\" -DVERSION=\"1.1.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_HTTPD_H=1 -DHAVE_HTTP_CONFIG_H=1 -DHAVE_HTTP_CORE_H=1 -DHAVE_HTTP_LOG_H=1 -DHAVE_HTTP_MAIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -DHAVE_OS_INLINE_C=1  -I. -I.    -I/usr/include/httpd  -g -O2 -c mod_jserv.c
    gcc -DPACKAGE=\"ApacheJServ\" -DVERSION=\"1.1.2\" -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_HTTPD_H=1 -DHAVE_HTTP_CONFIG_H=1 -DHAVE_HTTP_CORE_H=1 -DHAVE_HTTP_LOG_H=1 -DHAVE_HTTP_MAIN_H=1 -DHAVE_HTTP_PROTOCOL_H=1 -DHAVE_UTIL_SCRIPT_H=1 -DHAVE_UTIL_MD5_H=1 -DHAVE_OS_INLINE_C=1 -I. -I. -I/usr/include/httpd -g -O2 -c  -fPIC -DPIC mod_jserv.c -o mod_jserv.lo
    In file included from /usr/include/httpd/ap_config.h:25,
                     from /usr/include/httpd/httpd.h:43,
                     from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/apr.h:270: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'apr_off_t'
    In file included from /usr/include/httpd/apr_file_io.h:29,
                     from /usr/include/httpd/apr_network_io.h:26,
                     from /usr/include/httpd/httpd.h:53,
                     from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/apr_file_info.h:204: error: expected specifier-qualifier-list before 'apr_off_t'
    In file included from /usr/include/httpd/apr_network_io.h:26,
                     from /usr/include/httpd/httpd.h:53,
                     from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/apr_file_io.h:551: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_file_io.h:746: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from /usr/include/httpd/httpd.h:53,
                     from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/apr_network_io.h:545: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from /usr/include/httpd/apr_buckets.h:32,
                     from /usr/include/httpd/httpd.h:54,
                     from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/apr_mmap.h:134: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_mmap.h:161: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from /usr/include/httpd/httpd.h:54,
                     from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/apr_buckets.h:242: error: expected specifier-qualifier-list before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:706: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:718: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:754: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:890: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:891: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:1168: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:1367: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:1381: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:1431: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/apr_buckets.h:1447: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from jserv.h:64,
                     from mod_jserv.c:63:
    /usr/include/httpd/httpd.h:848: error: expected specifier-qualifier-list before 'apr_off_t'
    In file included from /usr/include/httpd/http_core.h:32,
                     from jserv.h:66,
                     from mod_jserv.c:63:
    /usr/include/httpd/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from jserv.h:66,
                     from mod_jserv.c:63:
    /usr/include/httpd/http_core.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_get_limit_req_body'
    /usr/include/httpd/http_core.h:672: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from jserv.h:69,
                     from mod_jserv.c:63:
    /usr/include/httpd/http_protocol.h:111: error: expected declaration specifiers or '...' before 'apr_off_t'
    /usr/include/httpd/http_protocol.h:203: error: expected declaration specifiers or '...' before 'apr_off_t'
    In file included from mod_jserv.c:63:
    jserv.h:178: error: expected specifier-qualifier-list before 'table'
    jserv.h:325: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jserv_module'
    jserv.h:329: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    jserv.h:342: error: expected ')' before '*' token
    jserv.h:345: error: expected ')' before '*' token
    jserv.h:357: error: expected ')' before '*' token
    mod_jserv.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    mod_jserv.c:78: error: expected ')' before '*' token
    mod_jserv.c:118: error: expected ')' before '*' token
    mod_jserv.c:235: error: expected ')' before '*' token
    mod_jserv.c:298: error: expected ')' before '*' token
    mod_jserv.c:343: error: expected ')' before '*' token
    mod_jserv.c: In function 'jserv_cfg_manual':
    mod_jserv.c:512: warning: return makes pointer from integer without a cast
    mod_jserv.c:519: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_shmfile':
    mod_jserv.c:538: warning: return makes pointer from integer without a cast
    mod_jserv.c:546: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_properties':
    mod_jserv.c:563: warning: return makes pointer from integer without a cast
    mod_jserv.c:570: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_protocol':
    mod_jserv.c:587: warning: return makes pointer from integer without a cast
    mod_jserv.c:593: warning: return makes pointer from integer without a cast
    mod_jserv.c:599: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_host':
    mod_jserv.c:614: warning: return makes pointer from integer without a cast
    mod_jserv.c:617: warning: assignment makes pointer from integer without a cast
    mod_jserv.c:623: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_port':
    mod_jserv.c:639: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_hosturl':
    mod_jserv.c:653: error: 'pool' undeclared (first use in this function)
    mod_jserv.c:653: error: (Each undeclared identifier is reported only once
    mod_jserv.c:653: error: for each function it appears in.)
    mod_jserv.c:653: error: 'p' undeclared (first use in this function)
    mod_jserv.c:661: warning: return makes pointer from integer without a cast
    mod_jserv.c:717: warning: assignment makes pointer from integer without a cast
    mod_jserv.c:762: warning: return makes pointer from integer without a cast
    mod_jserv.c:766: warning: return makes pointer from integer without a cast
    mod_jserv.c:777: warning: assignment makes pointer from integer without a cast
    mod_jserv.c:783: warning: return makes pointer from integer without a cast
    mod_jserv.c:794: warning: assignment makes pointer from integer without a cast
    mod_jserv.c:799: warning: return makes pointer from integer without a cast
    mod_jserv.c: In function 'jserv_cfg_route':
    mod_jserv.c:809: error: 'pool' undeclared (first use in this function)
    mod_jserv.c:809: error: 'p' undeclared (first use in this function)
    mod_jserv.c:818: warning: return makes pointer from integer without a cast
    mod_jserv.c:824: warning: return makes pointer from integer without a cast
    BIG CHUNK MISSING BUT ALL THE SAME CRAPC :D
    mod_jserv.c:1726: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jserv_module'
    make[2]: *** [mod_jserv.lo] Error 1
    make[2]: Leaving directory `/root/tmp/ApacheJServ-1.1.2/src/c'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/tmp/ApacheJServ-1.1.2/src'
    make: *** [all-recursive] Error 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •