From owner-freebsd-questions@FreeBSD.ORG Sun May 17 17:55:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7ED81065675 for ; Sun, 17 May 2009 17:55:01 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: from hook.uz.zgora.pl (hook.uz.zgora.pl [212.109.128.44]) by mx1.freebsd.org (Postfix) with ESMTP id 831C68FC19 for ; Sun, 17 May 2009 17:55:01 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: from localhost (localhost [127.0.0.1]) by hook.uz.zgora.pl (Postfix) with ESMTP id 7F9E2510CB; Sun, 17 May 2009 19:54:57 +0200 (CEST) X-Virus-Scanned: AntiSPAM System - University of Zielona Gora Received: from hook.uz.zgora.pl ([127.0.0.1]) by localhost (hook.uz.zgora.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iVA8SRtCC9Yt; Sun, 17 May 2009 19:54:54 +0200 (CEST) Received: from komp.skl (xdsl-5405.zgora.dialog.net.pl [84.40.169.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hook.uz.zgora.pl (Postfix) with ESMTPSA id 2D5BF510C8; Sun, 17 May 2009 19:54:54 +0200 (CEST) From: Zbigniew Komarnicki To: freebsd-questions@freebsd.org Date: Sun, 17 May 2009 19:54:46 +0200 User-Agent: KMail/1.9.9 References: <85a117790905150151n2ce5e098w8e2214bdaa06a4c9@mail.gmail.com> <44vdnzke54.fsf@lowell-desk.lan> In-Reply-To: <44vdnzke54.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905171954.46511.cblasius@gmail.com> Cc: maho@freebsd.org, Lowell Gilbert Subject: Re: suitesparse - error when compiling from ports 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: Sun, 17 May 2009 17:55:02 -0000 On Sunday 17 of May 2009 16:17:11 Lowell Gilbert wrote: > Looks like there's a missing dependency on math/libgmp4. > That's puzzling, though, because the FreeBSD build cluster built it fine > just a couple of days ago. Thank you. I reinstall math/libgmp4, and after that I saw that I had installed the following library: libgmp.so.8 and libgmpxx.so.5, there aren't libgmp.so.7 and libgmpxx.so.4, why ? Thank you in advance for your help. Here is the output, after: # make install clean ... ===> libgmp-4.3.1 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 math/libgmp4 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/math/libgmp4. ============================= # make deinstall ============================= ===> Deinstalling for math/libgmp4 ===> Deinstalling libgmp-4.3.1 pkg_delete: package 'libgmp-4.3.1' is required by these other packages and may not be deinstalled (but I'll delete it anyway): sdpa-gmp-7.1.2_1 ============================= # make reinstall ============================= ===> Checking if math/libgmp4 already installed make install-recursive Making install in tests Making install in . Making install in devel Making install in mpn Making install in mpz Making install in mpq Making install in mpf Making install in rand Making install in misc Making install in cxx Making install in mpbsd Making install in mpn Making install in mpz Making install in mpq Making install in mpf Making install in printf Making install in scanf Making install in cxx Making install in mpbsd Making install in demos Making install in calc make install-am Making install in expr Making install in tune Making install in doc test -z "/usr/local/info/" || /usr/ports/math/libgmp4/work/gmp-4.3.1/install-sh -d "/usr/local/info/" install -o root -g wheel -m 444 './gmp.info' '/usr/local/info//gmp.info' install-info --info-dir='/usr/local/info/' '/usr/local/info//gmp.info' test -z "/usr/local/lib" || /usr/ports/math/libgmp4/work/gmp-4.3.1/install-sh -d "/usr/local/lib" /bin/sh /usr/local/bin/libtool --mode=install /usr/bin/install -c -o root -g wheel 'libgmp.la' '/usr/local/lib/libgmp.la' /usr/bin/install -c -o root -g wheel .libs/libgmp.so.8 /usr/local/lib/libgmp.so.8 (cd /usr/local/lib && { ln -s -f libgmp.so.8 libgmp.so || { rm -f libgmp.so && ln -s libgmp.so.8 libgmp.so; }; }) (cd /usr/local/lib && { ln -s -f libgmp.so.8 libgmp.so || { rm -f libgmp.so && ln -s libgmp.so.8 libgmp.so; }; }) /usr/bin/install -c -o root -g wheel .libs/libgmp.lai /usr/local/lib/libgmp.la /usr/bin/install -c -o root -g wheel .libs/libgmp.a /usr/local/lib/libgmp.a chmod 644 /usr/local/lib/libgmp.a ranlib /usr/local/lib/libgmp.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib 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. ---------------------------------------------------------------------- /bin/sh /usr/local/bin/libtool --mode=install /usr/bin/install -c -o root -g wheel 'libgmpxx.la' '/usr/local/lib/libgmpxx.la' libtool: install: warning: relinking `libgmpxx.la' (cd /usr/ports/math/libgmp4/work/gmp-4.3.1; /bin/sh /usr/local/bin/libtool --mode=relink c++ -O2 -fno-strict-aliasing -pipe -march=athlon64 -o libgmpxx.la -rpath /usr/local/lib -version-info 5:0:1 dummy.lo cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo cxx/osdoprnti.lo cxx/osfuns.lo cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo libgmp.la ) c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/dummy.o cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmp -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -march=athlon64 -Wl,-soname -Wl,libgmpxx.so.5 -o .libs/libgmpxx.so.5 /usr/bin/install -c -o root -g wheel .libs/libgmpxx.so.5T /usr/local/lib/libgmpxx.so.5 (cd /usr/local/lib && { ln -s -f libgmpxx.so.5 libgmpxx.so || { rm -f libgmpxx.so && ln -s libgmpxx.so.5 libgmpxx.so; }; }) (cd /usr/local/lib && { ln -s -f libgmpxx.so.5 libgmpxx.so || { rm -f libgmpxx.so && ln -s libgmpxx.so.5 libgmpxx.so; }; }) /usr/bin/install -c -o root -g wheel .libs/libgmpxx.lai /usr/local/lib/libgmpxx.la /usr/bin/install -c -o root -g wheel .libs/libgmpxx.a /usr/local/lib/libgmpxx.a chmod 644 /usr/local/lib/libgmpxx.a ranlib /usr/local/lib/libgmpxx.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib 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. ---------------------------------------------------------------------- test -z "/usr/local/include" || /usr/ports/math/libgmp4/work/gmp-4.3.1/install-sh -d "/usr/local/include" install -o root -g wheel -m 444 'gmp.h' '/usr/local/include/gmp.h' test -z "/usr/local/include" || /usr/ports/math/libgmp4/work/gmp-4.3.1/install-sh -d "/usr/local/include" install -o root -g wheel -m 444 'gmpxx.h' '/usr/local/include/gmpxx.h' make install-data-hook +-------------------------------------------------------------+ | CAUTION: | | | | If you have not already run "make check", then we strongly | | recommend you do so. | | | | GMP has been carefully tested by its authors, but compilers | | are all too often released with serious bugs. GMP tends to | | explore interesting corners in compilers and has hit bugs | | on quite a few occasions. | | | +-------------------------------------------------------------+ install-info --quiet /usr/local/info/gmp.info /usr/local/info/dir ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for libgmp-4.3.1 ============================= # ls /usr/local/lib/*gmp* ============================= /usr/local/lib/libgmp.a /usr/local/lib/libgmpxx.a /usr/local/lib/libgmp.la /usr/local/lib/libgmpxx.la /usr/local/lib/libgmp.so /usr/local/lib/libgmpxx.so /usr/local/lib/libgmp.so.8 /usr/local/lib/libgmpxx.so.5