From owner-freebsd-questions@FreeBSD.ORG Tue Feb 6 06:44:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DBEC16A401 for ; Tue, 6 Feb 2007 06:44:03 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id D8CFF13C4A7 for ; Tue, 6 Feb 2007 06:44:02 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.10.40] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.13.8/8.13.8) with ESMTP id l166i23J042485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Feb 2007 22:44:02 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <45C823A7.2010009@enabled.com> Date: Mon, 05 Feb 2007 22:43:51 -0800 From: Noah User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: php5-session-5.2.0 is already installed 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: Tue, 06 Feb 2007 06:44:03 -0000 Hi there, FreeBSD-6.2 I am attempting to build gallery2 but the build fails because a dependency php5-session-5.2.0 is already built. okay fine. how do I get around that here is the original command: portinstall www/gallery2 here are snippets from the output: ---- snip --- ---------------------------------------------------------------------- Libraries have been installed in: /usr/ports/www/php5-session/work/php-5.2.0/ext/session/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. (It is safe to ignore warnings about tempnam and tmpnam). ===> Installing for php5-session-5.2.0 ===> php5-session-5.2.0 depends on file: /usr/local/include/php/main/php.h - found ===> Generating temporary packing list ===> Checking if www/php5-session already installed ===> php5-session-5.2.0 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of www/php5-session without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/www/php5-session. *** Error code 1 Stop in /usr/ports/www/php5-session. *** Error code 1 Stop in /usr/ports/www/gallery2. *** Error code 1 Stop in /usr/ports/www/gallery2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.59197.0 env make reinstall ** Fix the installation problem and try again. cd: can't cd to /usr/ports/sysutils/portupgrade ** Listing the failed packages (*:skipped / !:failed) ! www/gallery2 (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---- snip --- cheers, Noah