From owner-freebsd-questions@FreeBSD.ORG Fri Mar 24 23:11:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E827B16A401 for ; Fri, 24 Mar 2006 23:11:21 +0000 (UTC) (envelope-from brian@visionn.com) Received: from www.intelligentimagination.com (intelligentimagination.com [140.99.16.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA0F43D48 for ; Fri, 24 Mar 2006 23:11:21 +0000 (GMT) (envelope-from brian@visionn.com) Received: from [192.168.0.15] (63-225-221-138.phnx.qwest.net [63.225.221.138]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by www.intelligentimagination.com (Postfix) with ESMTP id 8FD2567834 for ; Fri, 24 Mar 2006 16:24:00 -0700 (MST) Mime-Version: 1.0 (Apple Message framework v746.3) Content-Transfer-Encoding: 7bit Message-Id: <7AAA1540-163C-4737-A72A-BF9A5CB39026@visionn.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Brian Ross Date: Fri, 24 Mar 2006 16:11:19 -0700 X-Mailer: Apple Mail (2.746.3) Subject: ports index broken, expat2 is too new for current apache2 on 5.4-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 23:11:22 -0000 Ok, I got myself into a spot here: As I was trying to install Apache 2.2 from ports, I ran into its expat2 dependency, but it's at a version beyond the version my current version of apache is using. So I decided to just overwrite the old expat2 install not thinking (yes, I know, not good...) that it would affect much. It really hasn't but now I have apache 2.0.54 complaining that I no longer have shared object support since apache was compiled with the older version of expat2 (1.95_8 or something like that). In the process of all this, my ports index got corrupted and now I can't "make index" in /usr/ports. I also now have an expat install that is further along than the portsdb thinks it is. I get the following when I try to "make index" in /usr/ports: ========== notbrain@www: make index Generating INDEX-5 - please wait../libexec/ld-elf.so.1: Shared object "libexpat.so.5" not found, required by "httpd" apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/sbin/httpd'.. "Makefile", line 126: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status /libexec/ld-elf.so.1: Shared object "libexpat.so.5" not found, required by "httpd" apxs:Error: Sorry, no shared object support for Apache. apxs:Error: available under your platform. Make sure. apxs:Error: the Apache module mod_so is compiled into. apxs:Error: your server binary `/usr/local/sbin/httpd'.. "Makefile", line 126: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status bricolage-1.10.0: "/usr/ports/devel/p5-Test-File-Contents" non- existent -- dependency list incomplete ===> www/bricolage failed *** Error code 1 1 error ========== notbrain@www: portdowngrade expat2 portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! 1 error Seeking port expat2 ... not found ========== What's the best way for me to recover from this situation? My first try was to use portdowngrade to install an older expat2, but without INDEX-5, it can't find it (at least I think that's why). CVS to get the older expat2? (Any pointers, please help...) Anybody successfully running apache22 and apache2 alongside each other on 5.4-STABLE? Any guidance is greatly appreciated! Thanks, Brian