Date: Mon, 27 Dec 1999 16:49:17 -0500 (EST) From: Vince Vielhaber <vev@michvhf.com> To: Chris Malayter <mustang@TeraHertz.Net> Cc: stable@FreeBSD.ORG Subject: Re: -lc vs. -lc_r (building Apache-PHP) Message-ID: <XFMail.991227164917.vev@michvhf.com> In-Reply-To: <Pine.BSF.4.21.9912271523350.67293-100000@saturn.terahertz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Dec-99 Chris Malayter wrote: > Along this line of problems, > > I am having serious problems compileing a usable apache binary when > compileing modphp with IMAP support. It works fine for me when I just > compile any other service or combination of services. > > Here's the error: > > Configuring for Apache, Version 1.3.9 > + using installation path layout: Apache (config.layout) > + activated php3 module (modules/php3/libphp3.a) Creating Makefile > Creating Configuration.apaci in src Creating Makefile in src > + configured for FreeBSD 3.4 platform > + setting C compiler to gcc > + setting C pre-processor to gcc -E > + checking for system header files > + adding selected modules > o php3_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. > Aborting! > venus# Trying this again, hopefully that last one didn't go out (it was content free). I've seen this many times. Part of the problem is that apache's configure script won't pass --verbose to it's helper scripts which only leaves you clueless as to what's happening. If you go into the src directory and and run the following: $ ./helpers/TestCompile -v sanity you'll see the reason why it won't compile. 9 times out of 10 it's caused by a header file in the wrong place - or apache not knowing where it is. I don't recall what I did to fix it, but it was probably something like copying the file to a standard directory or creating a symlink. Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net 128K ISDN: $24.95/mo or less - 56K Dialup: $17.95/mo or less at Pop4 Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ========================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991227164917.vev>