From owner-freebsd-questions Wed Mar 27 10: 3:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from aji.wilshire.net (worm.wilshire.net [64.161.77.242]) by hub.freebsd.org (Postfix) with ESMTP id 2845C37B417 for ; Wed, 27 Mar 2002 10:03:18 -0800 (PST) Received: from emilyd (emilyd.wilshire.net [10.100.123.20]) by aji.wilshire.net (8.11.1/8.11.1) with SMTP id g2RHsfM34294 for ; Wed, 27 Mar 2002 09:54:42 -0800 (PST) From: "Riley J. McIntire" To: "FreeBSD Questions" Subject: RE: apache modules Date: Wed, 27 Mar 2002 10:03:13 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Should this be asked in -ports? Riley > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Riley J. > McIntire > Sent: Tuesday, March 26, 2002 2:36 PM > To: FreeBSD Questions > Subject: apache modules > > > Hi all, > > I asked this a while back but maybe wasn't clear. Not unusual. > Anyway I'm > trying to compile a 3rd party module for apache 1.3.23 using the > Makefile in > the ports collection of freebsd 4.5-STABLE. The module is > mod_coldfusion.so > for Cold Fusion 5 for Red Hat Linux, which is installed and running under > Red Hat 7.1 emulation. The module source is supplied. I want to avoid > installing the apache linux binary--if I have to do that to get it to work > I'll just run red hat. > > Ok, > /usr/ports/www/apache13-modssl/work/apache_1.3.23/README.configure says > to add a 3rd party module with DSO support to: > > $ ./configure --prefix=/path/to/apache \ > --add-module=/path/to/mod_foo.c \ > --enable-shared=foo > > Now what I've tried is in the apache-modssl Makefile, in the > CONFIGURE_ARGS= > section: > > > --add-module=/usr/local/coldfusion/webserver/apache/src/mod_coldfusion.c \ > --enable-shared=mod_coldfusion > > And get this with a "make install": > > ===> Configuring for apache+mod_ssl-1.3.23+2.8.6 > Configuring for Apache, Version 1.3.23 > + using installation path layout: FreeBSD > (/usr/ports/www/apache13-modssl/files/FreeBSD.layout) > + on-the-fly added and activated coldfusion module > (modules/extra/mod_coldfusion.o) > configure:Error: No such module named 'mod_coldfusion' > ===> Script "configure" failed: here are the contents of "config.log" > cat: config.log: No such file or directory > *** Error code 1 > > If I "make clean", remove the "--enable-shared=mod_coldfusion" and remake: > > + doing sanity check on compiler and options > ** A test compilation with your Makefile configuration > ** failed. The below error output from the compilation > ** test will give you an idea what is failing. Note that > ** Apache requires an ANSI C Compiler, such as gcc. > > cd ..; > c -DHARD_SERVER_LIMIT=512 > -DDOCUMENT_LOCATION=\"/usr/local/www/data/\" -DD > EFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\" > -DACCEPT_FILTER_NAME=\"httprea > dy\" -funsigned-char -DMOD_SSL=208106 -DEAPI -DEAPI_MM > -DUSE_EXPAT -I./lib/e > xpat-lite -O -pipe `./apaci` -I/usr/local/include -L/usr/local/lib -o > helpers/dummy helpers/dummy.c -lcrypt -lC -lcf -lmm > /usr/libexec/elf/ld: cannot find -lC > *** Error code 1 > > Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.23/src/helpers. > ======== Error Output for sanity check ======== > ============= End of Error Report ============= > > Aborting! > ===> Building for apache+mod_ssl-1.3.23+2.8.6 > ===> src > make: don't know how to make all. Stop > *** Error code 2 > > Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.23. > *** Error code 1 > > Is it possible to do? Am I hopefully doing something dumb and easily > changed or is it hopeless? > > I'll be happy to send other info if anyone cares to help. > > Thanks a million! > > Riley > > > There are two kinds of security problems. The first kind arises > where people > are too stupid for words. Outlook is a petri dish. I don't know > why anyone > uses it. The rest are primarily bugs. . . > --James Gosling, chief architect, java > > > 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