Updating to fftw3-3.3.2-8 on
Package manager version: 0.33.2
Distribution version: selfupdate-rsync Thu Jun 21 15:09:30 2012, 10.5, powerpc
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.1.4
Xcode command-line tools: 3.1.4
Max. Fink build jobs: 1
failed with
...
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
configure: error: Altivec requires single precision
### execution of /tmp/fink.4PHpu failed, exit code 1
### execution of /tmp/fink.3vZJ4 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fftw3-3.3.2-8
(Reading database ... 564963 files and directories currently installed.)
Removing fink-buildlock-fftw3-3.3.2-8 ...
Failed: phase compiling: fftw3-3.3.2-8 failed
Looking at the configure file I see
...
# Check whether --enable-single was given.
if test "${enable_single+set}" = set; then :
enableval=$enable_single; ok=$enableval
else
ok=no
fi
# Check whether --enable-float was given.
if test "${enable_float+set}" = set; then :
enableval=$enable_float; ok=$enableval
fi
if test "$ok" = "yes"; then
$as_echo "#define FFTW_SINGLE 1" >>confdefs.h
$as_echo "#define BENCHFFT_SINGLE 1" >>confdefs.h
PRECISION=s
else
PRECISION=d
fi
if test "$ok" = "yes"; then
SINGLE_TRUE=
SINGLE_FALSE='#'
else
SINGLE_TRUE='#'
SINGLE_FALSE=
fi
...
Check whether --enable-altivec was given.
if test "${enable_altivec+set}" = set; then :
enableval=$enable_altivec; have_altivec=$enableval
else
have_altivec=no
fi
if test "$have_altivec" = "yes"; then
$as_echo "#define HAVE_ALTIVEC 1" >>confdefs.h
if test "$PRECISION" != "s"; then
as_fn_error $? "Altivec requires single precision" "$LINENO" 5
fi
fi
if test "$have_altivec" = "yes"; then
HAVE_ALTIVEC_TRUE=
HAVE_ALTIVEC_FALSE='#'
else
HAVE_ALTIVEC_TRUE='#'
HAVE_ALTIVEC_FALSE=
fi
...
So it seems that --enable-altivec requires --enable-single (or --enable-float).
Adding it to line 18 of fftw3.info allows the build.
TIA
Dominique
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users