Date: Sun, 17 May 2009 19:54:46 +0200 From: Zbigniew Komarnicki <cblasius@gmail.com> To: freebsd-questions@freebsd.org Cc: maho@freebsd.org, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Subject: Re: suitesparse - error when compiling from ports Message-ID: <200905171954.46511.cblasius@gmail.com> In-Reply-To: <44vdnzke54.fsf@lowell-desk.lan> References: <85a117790905150151n2ce5e098w8e2214bdaa06a4c9@mail.gmail.com> <44vdnzke54.fsf@lowell-desk.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905171954.46511.cblasius>