From: monipol <mo...@gm...> - 2009-10-20 07:02:58
|
(kicking back to the list) I don't know why but you've got x86_64 (64-bit) libraries on your 32- bit Fink installation, Christoph. It could be the case that atlas' build process somehow overwrites Fink's gcc -arch i386. Can someone on 10.6/i386 check whether atlas builds with the correct target architecture? In the meantime (later today) I'll try to make sextractor build with vecLib instead of atlas. On 20/10/2009, at 04:35, Christoph Deil wrote: > Sorry, I did not know that. This is the first time I post to such a > help mailing list. > > Here is the output from the commands: > > christoph-deils-macbook:~ deil$ fink -V | head -n 2 > Package manager version: 0.29.10 > Distribution version: selfupdate-rsync Mon Oct 19 20:22:48 2009, > 10.6, i386 > christoph-deils-macbook:~ deil$ cat /sw/var/lib/fink/path- > prefix-10.6/compiler_wrapper > #!/bin/sh > exec /usr/bin/${0##*/} -arch i386 "$@" > christoph-deils-macbook:~ deil$ lipo -info /sw/lib/liblapack.dylib > Non-fat file: /sw/lib/liblapack.dylib is architecture: x86_64 > christoph-deils-macbook:~ deil$ lipo -info /sw/lib/libcblas.dylib > Non-fat file: /sw/lib/libcblas.dylib is architecture: x86_64 > christoph-deils-macbook:~ deil$ lipo -info /sw/lib/libatlas.dylib > Non-fat file: /sw/lib/libatlas.dylib is architecture: x86_64 > > > On Oct 19, 2009, at 11:18 PM, monipol wrote: > >> Please don't send attachments to the list, Christoph. They end up >> getting lost because the archives do not show attachments. :) >> >> At any rate, I'm puzzled. Your config.log shows: >> >> $ ./configure --prefix=/sw --prefix=/sw --with-fftw-incdir=/sw/ >> include --with-fftw=/sw/lib --with-atlas-incdir=/sw/include --with- >> atlas=/sw/lib --mandir=/sw/ share/man --disable-dependency-tracking >> (...) >> configure:26514: cc -o conftest -O3 -g -funroll-loops -fomit-frame- >> pointer -Wall -D_REENTRANT -I/sw/include conftest.c -llapack -L/ >> sw/lib -lcblas -latlas -lm >&5 >> ld: warning: in /sw/lib/liblapack.dylib, file is not of required >> architecture >> ld: warning: in /sw/lib/libcblas.dylib, file is not of required >> architecture >> ld: warning: in /sw/lib/libatlas.dylib, file is not of required >> architecture >> >> Also, >> >> configure:26739: cc -o conftest -O3 -g -funroll-loops -fomit-frame- >> pointer -Wall -D_REENTRANT -I/sw/include conftest.c -lcblas -L/ >> sw/lib/lib -latlas -lm >&5 >> configure:26745: $? = 0 >> configure:26763: result: yes >> configure:26899: error: CBLAS/LAPack library files not found in /sw/ >> lib! Exiting. >> >> Notice that -L/sw/lib/lib. That's obviously not the correct >> directory. I guess it wasn't able to use the original libraries >> under /sw/lib because of that apparent architecture mismatch and >> then it tried to add another /lib subdirectory. >> >> Please send me the output of the following five commands: >> >> fink -V | head -n 2 >> cat /sw/var/lib/fink/path-prefix-10.6/compiler_wrapper >> lipo -info /sw/lib/liblapack.dylib >> lipo -info /sw/lib/libcblas.dylib >> lipo -info /sw/lib/libatlas.dylib >> >> >> On 20/10/2009, at 03:56, Christoph Deil wrote: >> >>> The config log is attached. >>> >>> >>> <config.log> >>> >>> On Oct 19, 2009, at 9:18 PM, monipol wrote: >>> >>>> Could you please send me your config.log? It should be located >>>> under >>>> >>>> /sw/src/fink.build/sextractor-2.8.6-1/sextractor-2.8.6 >>>> >>>> It built for me without any glitches on Intel OS 10.5.8, 32-bit >>>> Fink. >>>> >>>> On 20/10/2009, at 01:28, Christoph Deil wrote: >>>> >>>>> Thanks for adding it as a package. >>>>> >>>>> Trying to install it as a fink package gives the following error >>>>> on my machine. >>>>> Any advice? >>>>> >>>>> checking for cc_r... cc >>>>> checking /sw/include/fftw3.h usability... yes >>>>> checking /sw/include/fftw3.h presence... yes >>>>> checking for /sw/include/fftw3.h... yes >>>>> checking for fftw_execute in -lfftw3... yes >>>>> checking for fftw_init_threads in -lfftw3_threads... yes >>>>> checking /sw/include/cblas.h usability... yes >>>>> checking /sw/include/cblas.h presence... yes >>>>> checking for /sw/include/cblas.h... yes >>>>> checking /sw/include/clapack.h usability... yes >>>>> checking /sw/include/clapack.h presence... yes >>>>> checking for /sw/include/clapack.h... yes >>>>> checking for clapack_dpotrf in -llapack... no >>>>> checking for cblas_dgemm in -lcblas... no >>>>> checking for clapack_dpotrf in -llapack... no >>>>> checking for cblas_dgemm in -lcblas... yes >>>>> configure: error: CBLAS/LAPack library files not found in /sw/ >>>>> lib! Exiting. >>>>> ### execution of ./configure failed, exit code 1 >>>>> Removing runtime build-lock... >>>>> Removing build-lock package... >>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-sextractor-2.8.6-1 >>>>> (Reading database ... 69009 files and directories currently >>>>> installed.) >>>>> Removing fink-buildlock-sextractor-2.8.6-1 ... >>>>> Failed: phase compiling: sextractor-2.8.6-1 failed >>>>> >>>>> I think the cblas and lapack libraries are contained in atlas, >>>>> which I have installed successfully: >>>>> i atlas 3.9.11-1 Portably >>>>> optimal linear algebra software >>>>> i atlas-shlibs 3.9.11-1 Portably >>>>> optimal linear algebra software |