From owner-freebsd-ports Thu Mar 28 10:27: 6 2002 Delivered-To: freebsd-ports@freebsd.org Received: from aji.wilshire.net (worm.wilshire.net [64.161.77.242]) by hub.freebsd.org (Postfix) with ESMTP id 017BA37B41F for ; Thu, 28 Mar 2002 10:26:55 -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 g2SIIDM42057 for ; Thu, 28 Mar 2002 10:18:14 -0800 (PST) From: "Riley J. McIntire" To: Subject: FW: apache modules Date: Thu, 28 Mar 2002 10:26:48 -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) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greetings: I'm having trouble modifying the Makefile for the apache13-modssl port. Could someone tell me what I'm doing wrong? Thanks, Riley PS I've posted this twice to -questions with no response, and twice before in a different format--the only response I had was to use the linux apache binaries because the module was for linux, not fbsd. That the source code for the module couldn't be applied under fbsd didn't seem right, but no one's responded pro or con. ************* 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-ports" in the body of the message