Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Penrose, Colorado

    Question FPSE 5.x on Apache 2.2.9 Using Fc9

    I know what your about to say..

    Your going to say "Don't" and "That's more Security Flaws than a boat load of monkeys flinging poo".. (tm)

    I'm aware of the issue, I'm willing to overlook the matter.

    I'm also aware M$ or it's *nix port buddies no longer support nor supply the code. That I'm flying blind, and I'm a novice.. Please forgive me.. If nothing else I'm learning something good out of a semi impossible task.

    I'm trying to setup a *TEMPORARY* FP enabled Apache server to migrate content for a very stubborn client. It will never be a public facing server, and
    no it cannot be Webdav.. The client is using a version of FP that doesn't support Webdav, and refuses to upgrade.. He's willing to pay to get something done, and i'm stumped.

    I've gotten thru enough the the issues that i think i can get this licked, but it's been a long while since i had to compile c code and need a gentle hand or two to steer me in the right direction..

    i'm using a stock copy of fp50.linux.tar.gz and the script. I've edited the script to account for the issue with the version changes within apachectl -- It's a hack, and it was sort of fun.

    My problem has been with the compiling of the mod_frontpage.c

    While under FC9 (
    using stock packages httpd, httpd-devel, httpd-tools (No extra repos)

    httpd-devel nor httpd-tools does not have the following headers for compatibility:

    apr_compat.h, apr_strings.h,apr_thread_proc.h

    So I pulled copies of these from :

    Apache Portable Runtime: Main Page For version 2.x and placed them with the mod_frontpage fiies.

    So, I run apxs (see below) and this is what i get.

    apxs -c mod_frontpage.c
    /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1 -I/usr/include/mysql  -c -o mod_frontpage.lo mod_frontpage.c && touch mod_frontpage.slo
    In file included from /usr/include/httpd/http_log.h:34,
                     from mod_frontpage.c:68:
    /usr/include/apr-1/apr_thread_proc.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
    /usr/include/apr-1/apr_thread_proc.h:466: error: expected declaration specifiers or '...' before 'apr_cmdtype_e'
    apxs:Error: Command failed with rc=65536
    So.. I'm assuming that the header and the code file

    httpd_log.h (line 34) [ A blank Line]
    mod_frontpage.c (line 6 [ A blank Line]

    Are referencing something in /usr/include/apr-1/apr_thread_proc.h at line 45 and 466, that are needing a attribute and or a declaration..

    HELP!!! it's been too long ago.. Would some one please direct me as how to continue?

    Thank you

  2. #2
    Just Joined!
    Join Date
    Aug 2008
    Penrose, Colorado

    Is there any one with an idea?

  3. #3

    Still there?

    I am running into nearly the same issue currently -- care to share your hacks, and I'll see if I can make any progress? Thanks.

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    Aug 2008
    Penrose, Colorado


    I found the solution, by downgrading to the version of Apache that was supported by FPSE.. there were too many changes with they way MODS were done in the newer versions.. I had very little time to do what needed to be done, and chose the easy route.. If i get my home box setup the way i want it, i will play with it some more on my own time.

    Gabriel J. Dungan

Posting Permissions

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