pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
OOF1 won't link against pkgsrc 2008Q3's math/blas
OOF1 [1] can be installed on NetBSD/amd64 4.0, for example, when
pkgsrc 2007Q3 is used to install its prerequisite packages but
unfortunately it doesn't work when using pkgsrc 2008Q3.
OOF1 needs the x11/forms and math/blas packages, and these are the
commands I've been using to build it:
% pwd /usr/home/ray/installers/nist/oof1/1.038/build-with-thermal-code
% /usr/bin/time sh -c "../configure --with-x
--with-cxxflags='-DNEED_FDSTREAM -DDONT_HAVE_STRSTREAM_H -DTHERMAL
-ffriend-injection' --with-blas='-L/usr/pkg/lib -lblas
-L/usr/pkg/gcc3/lib -lg2c' > configure.log 2>&1"
3.11 real 2.14 user 1.44 sys
% /usr/bin/time sh -c 'gmake all > gmake-all.log 2>&1'
138.70 real 119.30 user 23.52 sys
%
With pkgsrc 2008Q3 ../configure fails with:
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: WARNING: This is a hack to see if blas will link
checking for dgemv_ in -lm... no
configure: error: *** Supplied blas doesn't link ***
%
and this is part of config.log:
configure:6687: WARNING: This is a hack to see if blas will link
configure:6690: checking for dgemv_ in -lm
configure:6721: g++ -o conftest -DNEED_FDSTREAM -DDONT_HAVE_STRSTREAM_H -DTHERM
AL -ffriend-injection -DLITTLEENDIAN -Wno-non-template-friend -pipe -O -DNEED
_FDSTREAM -DDONT_HAVE_STRSTREAM_H -DTHERMAL -ffriend-injection -DLITTLEENDIAN
-Wno-non-template-friend -pipe -O conftest.cc -lm -L/usr/pkg/lib -lblas -L/usr/
pkg/gcc3/lib -lg2c
-lm >&5
/usr/pkg/lib/libblas.so: undefined reference to `MAIN__'
configure:6727: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
Apparently something has changed in the math/blas package since the
2007Q3 version (which is the latest I'd tried before trying 2008Q3
the other day). 2008Q3 pkgsrc certainly needs a different file in
/usr/pkgsrc/distfiles to be able to build blas.
I'd like to be able to use the latest pkgsrc to take advantage of new
versions of other packages like kdebase3 and gimp, but OOF has
priority in this case. Is this the right mailing list to attract the
attention of the blas package developer and request assistance?
Ray
[1] http://www.ctcms.nist.gov/oof/
Home |
Main Index |
Thread Index |
Old Index