Date: Sun, 26 Sep 1999 14:45:27 -0400 From: scott <scott@chronis.pobox.com> To: The Hermit Hacker <scrappy@hub.org> Cc: freebsd-questions@freebsd.org Subject: Re: Apache 1.3.9 fails sanity check under 3.3-RELEASE ... Message-ID: <19990926144527.A1380@chronis.pobox.com> In-Reply-To: <Pine.BSF.4.10.9909261357050.22201-100000@thelab.hub.org> References: <Pine.BSF.4.10.9909261357050.22201-100000@thelab.hub.org>
index | next in thread | previous in thread | raw e-mail
I got the same problem with a different set of config options. the
compiler probably isn't linking correctly. You can debug it by cd'ing
to src/Helpers/ and running 'VERBOSE=yes ./TestCompile sanity'.
In my case, it was apache attempting to link against a .a library
which was incorrectly linked against a .so library.
scott
On Sun, Sep 26, 1999 at 01:58:46PM -0300, The Hermit Hacker wrote:
>
> And I'm at a loss to figure out why/where ;(
>
> configuring with:
>
> #!/bin/sh
> ./configure \
> --with-layout=Apache \
> --enable-module=auth_dbm \
> --enable-module=log_agent \
> --enable-module=log_referer \
> --enable-suexec \
> --suexec-caller=nobody \
> --activate-module=src/modules/auth_pgsql/mod_auth_pgsql.c
>
> I get:
>
> Configuring for Apache, Version 1.3.9 Ben-SSL/1.37
> 1.3.9
> + using installation path layout: Apache (config.layout)
> + activated auth_pgsql module (modules/auth_pgsql/mod_auth_pgsql.c)
> Creating Makefile
> Creating Configuration.apaci in src
> Creating Makefile in src
> + configured for FreeBSD 3.3 platform
> + setting C compiler to gcc
> + setting C pre-processor to gcc -E
> + checking for system header files
> + using custom target name: httpsd
> + adding selected modules
> o dbm_auth_module uses ConfigStart/End
> + checking sizeof various data types
> + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
>
> And trying to run 'cd src;./helpers/TestCompile sanity' returns
> nothing...which is what he sanity test is, I believe?
>
> Ideas? I'm definitely using gcc here, which I believe, last i checked, as
> an Ansi C compilter? :)
>
>
> Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990926144527.A1380>
