[Yhc] Building yhc on MAC OS X

C.M.Brown cmb21 at kent.ac.uk
Tue Nov 7 08:55:52 EST 2006


Hi Andrew,

> This is a problem I have seen on a semi-regular basis with MacOS X machines,
> but not having one I haven't been able to track it down. Some time it works,
> other times it fails to build.
>
> Can you please email me the config.log file that should be in your yhc
> directory?

Attached.

After you've done that please try a 'scons fullclean' then try
> building again.
>

I've tried that as well and it still comes up with an error!

Thanks,

Chris
-------------- next part --------------
file /Users/cmb21/yhc/build/configure.py,line 38:
	Configure(confdir = .sconf_temp)
scons: Configure: Checking for architecture... 
scons: Configure: (cached) ppc

scons: Configure: Checking for operating system... 
scons: Configure: (cached) darwin

scons: Configure: Checking for C header file gmp.h... 
scons: Configure: ".sconf_temp/conftest_0.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_0.c <-
  |  |
  |  |#include <gmp.h>
  |  |
  |  |
  |
scons: Configure: ".sconf_temp/conftest_0.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_0.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_0.c
  |
scons: Configure: (cached) yes

scons: Configure: Checking for mpz_t integ; mpz_init (integ) in C library gmp... 
scons: Configure: ".sconf_temp/conftest_1.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_1.c <-
  |  |
  |  |
  |  |#include "gmp.h"
  |  |
  |  |int
  |  |main() {
  |  |  mpz_t integ; mpz_init (integ);
  |  |return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_1.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_1.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_1.c
  |
scons: Configure: ".sconf_temp/conftest_1" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_1 .sconf_temp/conftest_1.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework -lgmp
  |
scons: Configure: (cached) yes

scons: Configure: Checking for libgmp version... 
scons: Configure: ".sconf_temp/conftest_2.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_2.c <-
  |  |
  |  |#include "gmp.h"
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i.%i.%i", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR, __GNU_MP_VERSION_PATCHLEVEL);
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_2.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_2.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_2.c
  |
scons: Configure: ".sconf_temp/conftest_2" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_2.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_2 > .sconf_temp/conftest_2.out
  |
scons: Configure: (cached) 


file /Users/cmb21/yhc/build/configure.py,line 77:
	Configure(confdir = .sconf_temp)
scons: Configure: Checking for Python version 2.3 or later... 
scons: Configure: (cached) Found version 2.4.3 final (0).

scons: Configure: Checking for Scons binary... 
scons: Configure: (cached) "/opt/local/bin//scons"

scons: Configure: Checking for Scons version... 
scons: Configure: (cached) Found version 0.96.92.D002.

scons: Configure: Checking for Darcs binary... 
scons: Configure: (cached) "/usr/local/bin/darcs"

scons: Configure: Checking for Darcs version... 
scons: Configure: (cached) Found version 1.0.8 (release).

scons: Configure: Checking for Subversion binary... 
scons: Configure: (cached) "/usr/local/bin/svn"

scons: Configure: Checking for Subversion version... 
scons: Configure: (cached) Found version 1.3.1.

scons: Configure: Checking for GHC binary... 
scons: Configure: (cached) "/Users/cmb21/bin/ghc"

scons: Configure: Checking for GHC version 6.4.1 or later... 
scons: Configure: (cached) Found version 6.4.1.

scons: Configure: Checking whether byte ordering is bigendian... 
scons: Configure: ".sconf_temp/conftest_3.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_3.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |/* Don't use signed numbers: their format is more complicated
  |  | * than unsigned ones, in a way that we're not interested in.
  |  | */
  |  |typedef unsigned int large_type;
  |  |typedef unsigned char byte_type;
  |  |
  |  |/*
  |  | * Although a test for endianness in C obviously
  |  | * relies on behavior undefined by the C standards,
  |  | * use a union because it is more understandable than
  |  | * pointer-casts, and the C compiler may be more likely
  |  | * to do what we want (see, for example,
  |  | * http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Optimize-Options.html#index-fstrict_002daliasing-542
  |  | * ).
  |  | */
  |  |union endianness_test {
  |  |    large_type i;
  |  |    byte_type byte[sizeof(large_type)];
  |  |};
  |  |
  |  |int main(int argc, char** argv) {
  |  |    union endianness_test test;
  |  |    test.i = 1;
  |  |    /* If the last byte contains the '1' bit,
  |  |     * then the last byte is the least significant byte
  |  |     * and we are big-endian; otherwise we must be little-endian.
  |  |     * Test for big-endianness rather than little-endiannes
  |  |     * because the big-endian machines have apparently been
  |  |     * more consistent in ordering everything consistently
  |  |     * (through no fault of the fundamental notion of little-endianness.
  |  |     * "ON HOLY WARS AND A PLEA FOR PEACE" at
  |  |     * http://www.rdrop.com/~cary/html/endian_faq.html#danny_cohen
  |  |     * is a good, though lengthy, explanation of the issues.)
  |  |     */
  |  |    printf((test.byte[sizeof(large_type) - 1] != 0)
  |  |                    ? "big-endian" : "little-endian" );
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_3.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_3.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_3.c
  |
scons: Configure: ".sconf_temp/conftest_3" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_3.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_3 > .sconf_temp/conftest_3.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of char... 
scons: Configure: ".sconf_temp/conftest_4.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_4.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(char));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_4.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_4.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_4.c
  |
scons: Configure: ".sconf_temp/conftest_4" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_4.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_4 > .sconf_temp/conftest_4.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of short... 
scons: Configure: ".sconf_temp/conftest_5.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_5.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(short));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_5.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_5.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_5.c
  |
scons: Configure: ".sconf_temp/conftest_5" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_5.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_5 > .sconf_temp/conftest_5.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of int... 
scons: Configure: ".sconf_temp/conftest_6.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_6.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(int));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_6.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_6.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_6.c
  |
scons: Configure: ".sconf_temp/conftest_6" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_6.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_6 > .sconf_temp/conftest_6.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of long... 
scons: Configure: ".sconf_temp/conftest_7.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_7.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(long));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_7.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_7.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_7.c
  |
scons: Configure: ".sconf_temp/conftest_7" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_7.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_7 > .sconf_temp/conftest_7.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of long long... 
scons: Configure: ".sconf_temp/conftest_8.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_8.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(long long));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_8.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_8.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_8.c
  |
scons: Configure: ".sconf_temp/conftest_8" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_8.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_8 > .sconf_temp/conftest_8.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of float... 
scons: Configure: ".sconf_temp/conftest_9.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_9.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(float));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_9.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_9.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_9.c
  |
scons: Configure: ".sconf_temp/conftest_9" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_9.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_9 > .sconf_temp/conftest_9.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of double... 
scons: Configure: ".sconf_temp/conftest_10.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_10.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(double));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_10.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_10.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_10.c
  |
scons: Configure: ".sconf_temp/conftest_10" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_10.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_10 > .sconf_temp/conftest_10.out
  |
scons: Configure: (cached) no

scons: Configure: Checking size of void*... 
scons: Configure: ".sconf_temp/conftest_11.c" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_11.c <-
  |  |
  |  |#include <stdio.h>
  |  |
  |  |int main(int argc, char** argv) {
  |  |    printf("%i\n", sizeof(void*));
  |  |    return 0;
  |  |}
  |  |
  |
scons: Configure: ".sconf_temp/conftest_11.o" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_11.o -c -DPOWERPC_DARWIN -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers .sconf_temp/conftest_11.c
  |
scons: Configure: ".sconf_temp/conftest_11" is up to date.
scons: Configure: The original builder output was:
  |gcc -o .sconf_temp/conftest_11 .sconf_temp/conftest_11.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
  |
scons: Configure: ".sconf_temp/conftest_11.out" is up to date.
scons: Configure: The original builder output was:
  |.sconf_temp/conftest_11 > .sconf_temp/conftest_11.out
  |
scons: Configure: (cached) no




More information about the Yhc mailing list