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 On Oct 19, 2009, at 5:17 PM, monipol wrote: > I've just added sextractor to Fink's distribution, unstable tree. It > should take one hour at the latest to reach the rsync servers, or > immediately if you use CVS for selfupdate. > > Run > > fink selfupdate > fink list sextractor > > until it shows up. It'd be great if you tested that. > > On the other hand, if you really want to compile sextractor > yourself, try running the following command (I'm assuming you use > Bash as your shell): > > export PATH=/sw/var/lib/fink/path-prefix-10.6:$PATH > > That path-prefix-10.6 directory sets the appropriate architecture > for GCC and friends when compiling programs under Fink, or programs > that use Fink libraries. > > > On 19/10/2009, at 21:21, Christoph Deil wrote: > >> Yes, I am using 32-bit Fink on Mac OS X 10.6.1. >> >> So how can I install sextractor with 32-bit, is there a configure >> option I can pass to GCC? >> I tried the following, but got the same error as before: >> ./configure CFLAGS=m32 --with-fftw=/sw/lib --with-fftw-incdir=/sw/ >> include >> >> Or do I have to switch to 64-bit fink? >> (I'd rather not, since all my other software is running fine at the >> moment.) >> >> >> On Oct 19, 2009, at 3:59 PM, monipol wrote: >> >>> On 19/10/2009, at 20:40, Christoph Deil wrote: >>>> Here is the info from the sextractor config file and fftw library >>>> file. >>>> Note that I did not try to build sextractor yet, since ./ >>>> configure exits with an error message. >>>> >>>> Any advice on how to fix this problem? >>>> >>>> l$ grep fftw config.log >>>> $ ./configure --with-fftw=/sw/lib --with-fftw-incdir=/sw/include >>>> configure:23776: checking /sw/include/fftw3.h usability >>>> configure:23817: checking /sw/include/fftw3.h presence >>>> configure:23885: checking for /sw/include/fftw3.h >>>> configure:24316: checking for fftw_execute in -lfftw3 >>>> configure:24351: cc -o conftest -O3 -g -funroll-loops -fomit- >>>> frame-pointer -Wall -D_REENTRANT conftest.c -lfftw3 -L/sw/lib >>>> -lm >&5 >>>> ld: warning: in /sw/lib/libfftw3.dylib, file is not of required >>>> architecture >>> >>> Note the warning above. Are you using 32-bit Fink on 10.6? Snow >>> Leopard's default GCC builds 64-bit objects. >>> >>>> "_fftw_execute", referenced from: >>>> | #define FFTW_H "$fftw_incdir/fftw3.h" >>>> | char fftw_execute (); >>>> | return fftw_execute (); >>>> ac_cv_header__sw_include_fftw3_h=yes >>>> ac_cv_lib_fftw3_fftw_execute=no >>>> #define FFTW_H "$fftw_incdir/fftw3.h" >>>> >>>> On Oct 19, 2009, at 3:27 PM, monipol wrote: >>>> >>>>> On 19/10/2009, at 20:04, Christoph Deil wrote: >>>>>> I want to install sextractor-2.8.6 ( >>>>>> http://astromatic.iap.fr/software/sextractor >>>>>> ) on my Mac running Snow Leopard, and a problem with my fink >>>>>> fftw3 >>>>>> installation turned up. >>>>>> >>>>>> ./configure --with-fftw=/sw/lib --with-fftw-incdir=/sw/include >>>>>> exits with the following error: >>>>>> >>>>>> 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... no >>>>>> configure: error: FFTW double precision library files not found >>>>>> in /sw/ >>>>>> lib! Exiting. >>>>>> >>>>>> I have installed fftw3: fink list fftw >>>>>> i fftw3 3.2.2-1 Discrete >>>>>> Fourier Transform Lib (Ver 3) >>>>>> i fftw3-shlibs 3.2.2-1 Discrete >>>>>> Fourier Transform Lib (Ver 3) >>>>>> >>>>>> What is the problem? Do I need to reinstall fftw3 with fink and >>>>>> turn a >>>>>> "double precision" option on? >>>>> >>>>> Hello, Christoph. Check if sextractor's config.log gives some >>>>> clues about this build error. On my Intel OS 10.5.8 box, 32-bit >>>>> Fink, I get >>>>> >>>>> $ nm -g /sw/lib/libfftw3.3.dylib | grep fftw_execute$ >>>>> 000f7790 T _fftw_execute >>>>> >>>>> i.e., the fftw_execute function that sextractor seems to require >>>>> is both present and global. > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
