From owner-freebsd-ports@FreeBSD.ORG Fri Jul 29 22:57:35 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03A7116A41F for ; Fri, 29 Jul 2005 22:57:35 +0000 (GMT) (envelope-from jowens@ghiapet.homeip.net) Received: from ms-smtp-01.rdc-kc.rr.com (ms-smtp-01.rdc-kc.rr.com [24.94.166.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 991B043D45 for ; Fri, 29 Jul 2005 22:57:34 +0000 (GMT) (envelope-from jowens@ghiapet.homeip.net) Received: from mycroft.ghiapet.net (CPE-69-76-111-42.wi.res.rr.com [69.76.111.42]) by ms-smtp-01.rdc-kc.rr.com (8.12.10/8.12.7) with ESMTP id j6TMvVZ7013531 for ; Fri, 29 Jul 2005 17:57:32 -0500 (CDT) Received: from [192.168.0.201] (mycroft.ghiapet.net [192.168.0.201] (may be forged)) by mycroft.ghiapet.net (8.13.1/8.13.1) with ESMTP id j6TMvS8Y003364; Fri, 29 Jul 2005 17:57:29 -0500 Message-ID: <42EAB453.9010503@ghiapet.homeip.net> Date: Fri, 29 Jul 2005 17:57:23 -0500 From: "John R. Owens" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org X-Enigmail-Version: 0.91.0.0 OpenPGP: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7FCE510003C4E56B069E262A" X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: make apache2 not making mod_cgi X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 22:57:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7FCE510003C4E56B069E262A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit First asked over in FreeBSD-Stable, until I realized that was the wrong place for it. I'm new to FreeBSD and ports, and don't know make well yet, so this could just be something I messed up on my own, redoing the ports tree and all. But the first couple of times I remade apache2, I got a mod_cgi.so installed. Now, the past couple of times I've remade it (perhaps since Wednesday or so?), it's making all the modules I want except mod_cgi. I've cvsup'ed a couple of times since then, and I've got WITH_MISC_MODULES=yes, but in config.log I find this: $ ./configure --prefix=/usr/local --enable-layout=FreeBSD --with-perl=/usr/local/bin/perl5.8.7 --with-port=80 --with-expat=/usr/local --with-iconv=/usr/local --libdir=/usr/local/lib/apache2 --includedir=/usr/local/include/apache2 --enable-v4-mapped --enable-mods-shared=access auth auth_anon auth_dbm auth_digest dav dav_fs ldap auth_ldap actions alias asis autoindex cache cern_meta charset_lite deflate dir disk_cache env expires file_cache headers imap include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_connect proxy_ftp proxy_http ssl suexec cgid suexec --with-mpm=worker i386-portbld-freebsd5.4 --prefix=/usr/local i386-portbld-freebsd5.4 Note that in --enable-mods-shared, the rest of the MISC category is included, except cgi. I also find these lines in Makefile.modules that might be relevant (since I'm not familiar with make syntax, I'm not sure under what conditions these lines will be active): WITHOUT_MODULES+= cgi ... MISC_MODULES= actions alias asis autoindex cache cern_meta \ cgi charset_lite deflate dir disk_cache env expires \ file_cache headers imap include info log_config logio mime \ mime_magic negotiation rewrite setenvif speling status \ unique_id userdir usertrack vhost_alias So, if it's not actually broken in the port, how do I fix it so it installs mod_cgi on my system? Even if it is just a dirty hack to inject the option into a Makefile or configure. If it's broken in the port, of course, that should probably be fixed! I ran make in script, and found this amongst the output: ... checking whether to enable mod_suexec... checking dependencies checking whether to enable mod_suexec... shared checking whether to enable mod_cgid... shared checking whether to enable mod_cgi... no checking for pthread_kill... no checking whether to enable mod_dav_fs... shared checking whether to enable mod_vhost_alias... shared .... but I suppose that should be fairly evident from the config.log. Since the time I posted this to the stable list, I've done make rmconfig, make clean, and when that didn't cut it, I did (in order) rm -rf /usr/ports/*, sysinstall, cvsup ports-supfile, portmanager -u, make deinstall/reinstall, just to be on the safe side. I still get no mod_cgi when including WITH_MISC_MODULES. -- John R. Owens ProofReading Markup Language: http://prml.sourceforge.net/ --------------enig7FCE510003C4E56B069E262A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC6rRYi0+Id/zGcbARAsukAKCFtcIhfupUnE7sAxZTFZwx33qc1QCdFlsF cQ9I+zrRJaD8DtdOI6IKGr8= =AWGs -----END PGP SIGNATURE----- --------------enig7FCE510003C4E56B069E262A--