-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/7/11 5:24 AM, Jon Dantzig wrote:
> Thanks again for your help. I have made some progress, but I seem to have
> another problem...
>
> I installed the 64-bit version of fink, and Apple java developer tools. I
> then
> ran fink selfudate and fink update-all. If I try now to build fftw3, some
> other
> packages are needed, including ppl. Build fails in ppl during the
> configuration.
Then you should have reported your problem as being with ppl, not fftw3.
You don't know yet if you're going to have a problem with fftw3.
It reaches the following step, and just hangs here forever:
>
> checking if the compiler has the remainder bug...
>
> fink -V produces:
> Package manager version: 0.29.19
> Distribution version: selfupdate-rsync Mon Feb 7 11:03:44 2011, 10.6,
> x86_64
> Trees: local/main stable/main stable/crypto
>
> Here is where we were at that point. Sorry to be long, but at least it's
> complete...
>
> bzip2 -dc /sw64/src/ppl-0.10.2.tar.bz2 | /sw64/bin/tar -xf - --no-same-
> owner --no-same-permissions
> /var/tmp/tmp.1.nIbiM5
> #!/bin/sh -ev
> # g++-4.0.1 rejects template instantiating w/ anonymous enums --
> fangism
> # this was fixed in ppl-0.11
> file=src/meta_programming.hh
> sed -i.orig -e '/struct Bool/,/^};/s|enum {|enum value_type {|' $file
> # symbols in anonymous namespace given extern linkage
> file=src/initializer.hh
> sed -i.orig -e '/::Init.*initializer/s|^|static |' $file
> # To take advantage of precompiled headers, defined macros must
> match.
> # patch could apply to src/Makefile.am too
> file=src/Makefile.in
> sed -i.orig -e '/CXXCOMPILE.*-xc++-header/s|-o|-DPIC &|' $file
> # files compiled here are VERY taxing on memory, so we serialize
> file=tests/MIP_Problem/Makefile.in
> echo ".NOTPARALLEL: check-am" >> $file
> # use consistent architecture for testing, override default as needed
> file=interfaces/Java/tests/Makefile.in
> case "x86_64" in
> powerpc ) ;;
> i386 ) sed -i.orig '/\$(JAVA)/s|-classpath|-d32 &|' $file ;;
> x64_64 ) ;;
> esac
> /var/tmp/tmp.2.ZdrVW8
> #!/bin/sh -ev
> mkdir build
> cd build
> # old-location
> # JAVA_HOME=`/usr/libexec/java_home`
> JAVA_FW=/System/Library/Frameworks/JavaVM.framework
> JAVA_HOME=$JAVA_FW/Home
> test -d $JAVA_HOME && test -x $JAVA_HOME || \
> { echo "$JAVA_HOME not found." ; exit 1 ;}
> JAVA_INCLUDE=$JAVA_HOME/include
> test -r $JAVA_INCLUDE/jni.h || JAVA_INCLUDE=$JAVA_FW/Headers
> test -r $JAVA_INCLUDE/jni.h || \
> { echo "Missing Java development package containing jni.h." ; \
> echo "Please download/install from Apple and try again." ; \
> echo "Thank you and have a nice day." ; exit 1 ;}
> ../configure --prefix=/sw64 --mandir=/sw64/share/man \
> --infodir=/sw64/share/info \
> --disable-static \
> --enable-pch \
> --with-java="$JAVA_HOME" \
>
> CFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \
> CXXFLAGS="-g -O2 -pipe -fpch-preprocess -fPIC" \
> CPPFLAGS="-I$JAVA_INCLUDE" \
> --enable-check=thorough \
> -C
> configure: creating cache config.cache
> checking build system type... i386-apple-darwin10.6.0
> checking host system type... i386-apple-darwin10.6.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ../install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking whether we are actually using the Intel C compiler... no
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking whether we are actually using the Intel C++ compiler... no
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for fgrep... /usr/bin/grep -F
> checking for egrep... /usr/bin/grep -E
> checking for a sed that does not truncate output... /usr/bin/sed
> checking how to run the C++ preprocessor... g++ -E
> checking whether make sets $(MAKE)... (cached) yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether to compile with debug info... yes
> checking whether to compile for profiling... no
> checking whether to compile for test coverage... no
> checking whether to enable checking of run-time assertions... no
> checking whether to enable even more run-time assertions... no
> checking whether to enable optimizations... standard
> checking for which architecture to optimize... default
> checking whether to select specific floating point arithmetics... default
> checking whether to use precompiled headers... yes
> checking the type of integral values to use as coefficients... GMP mpz
> checking for perl... /usr/bin/perl
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether byte ordering is bigendian... no
> checking for typeof syntax and keyword spelling... typeof
> checking size of char... 1
> checking size of short... 2
> checking size of int... 4
> checking size of long... 8
> checking size of long long... 8
> checking size of size_t... 8
> checking size of float... 4
> checking size of double... 8
> checking size of long double... 16
> checking size of int*... 8
> checking size of fp... 8
> checking fenv.h usability... yes
> checking fenv.h presence... yes
> checking for fenv.h... yes
> checking ieeefp.h usability... no
> checking ieeefp.h presence... no
> checking for ieeefp.h... no
> checking if it is possible to control the FPU... yes
> checking whether the C++ compiler provides proper long doubles... yes
> checking the binary format of C++ floats... IEEE754 Single Precision
> checking whether C++ provides exact output for floats... yes
> checking the binary format of C++ doubles... IEEE754 Double Precision
> checking whether C++ provides exact output for doubles... yes
> checking the binary format of C++ long doubles... Intel Double-Extended
checking whether C++ provides exact output for long doubles... yes
> checking whether the C++ compiler supports flexible arrays... yes
> checking whether the IEEE inexact flag is supported in C++... yes
> checking if the compiler has the remainder bug...
>
> And nothing happens after that.
>
> Jon
>
It works here on 10.6/x86_64. A few things to investigate would be:
1) Verify that you're using the right compiler. At around line 85 in
the config.log file I have:
configure:3027: checking for gcc
configure:3043: found /sw64/var/lib/fink/path-prefix-10.6/gcc
configure:3054: result: gcc
configure:3286: checking for C compiler version
configure:3294: gcc --version >&5
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
and at around line 158, I have:
configure:4215: checking for g++
configure:4231: found /sw64/var/lib/fink/path-prefix-10.6/g++
configure:4242: result: g++
configure:4269: checking for C++ compiler version
configure:4277: g++ --version >&5
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
2) What Xcode version are you using?
3) What happens when you run the remainder bug test manually? There's
a C++ header file and program file in
/sw/src/fink.build/ppl-0.10.2-3/ppl-0.10.2/build/config.log at about
line 925, and the test is slightly above that. If you extract the
confdefs.h header and the conftest.cpp, you can build a little program
using the exact command noted below the line saying "checking if the
compiler has the remainder bug" and then run the program.
- --
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1P+QMACgkQB8UpO3rKjQ+AwQCfaMOiwN/cTJCDM9Ohsq1e/cLt
JF4Anj0k2tbnOI7zSEgrxLcDZSeynT/3
=nYw/
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners