[Yhc] building YHC on gentoo linux
C.M.Brown
cmb21 at kent.ac.uk
Wed Nov 8 05:36:13 EST 2006
Hi again!
After failed attempts of building yhc on my mac, I thought I would try it
on my linux box. However, it's still refusing to build. I have install
subversion and downloaded yhc using darcs. Then during the configure I get
the following message:
Finished getting.
svn co http://svn.python.org/projects/python/trunk/Modules/_ctypes/
depends/ctypes
svn: Unrecognized URL scheme for
'http://svn.python.org/projects/python/trunk/Modules/_ctypes'
Bootstrapping...
build/SConscript.depends -> depends/SConscript
build/SConscript.cpphs -> depends/cpphs/SConscript
build/SConscript.filepath -> depends/filepath/SConscript
IOError: [Errno 2] No such file or directory: 'depends/ctypes/SConscript':
File "Sconstruct", line 71:
bootstrap(env)
File "/home/cmb21/yhc/build/bootstrap.py", line 13:
copy(env, "depends/ctypes/SConscript", "build/SConscript.ctypes")
File "/home/cmb21/yhc/build/bootstrap.py", line 31:
open(to, "wb").write(open(file, "rb").read())
I have attached the config.log file with this email.
I hope someone can help me build yhc!
THanks,
Chris.
-------------- next part --------------
file /home/cmb21/yhc/build/configure.py,line 38:
Configure( confdir = .sconf_temp )
Checking for architecture...
Result: x86
Checking for operating system...
Result: linux2
Checking for C header file gmp.h... .sconf_temp/conftest_0.c <-
|
|#include <gmp.h>
|
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_0.o .sconf_temp/conftest_0.c
yes
Checking for mpz_t integ; mpz_init (integ) in C library gmp... .sconf_temp/conftest_1.c <-
|
|
| #include "gmp.h"
|
| int
| main() {
| mpz_t integ; mpz_init (integ);
| return 0;
| }
|
|
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_1.o .sconf_temp/conftest_1.c
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
yes
Checking for libgmp version...
.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;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_2.o .sconf_temp/conftest_2.c
gcc -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_2.o .sconf_temp/conftest_2.c
.sconf_temp/conftest_2 > .sconf_temp/conftest_2.out
Result: 4.1.4
file /home/cmb21/yhc/build/configure.py,line 77:
Configure( confdir = .sconf_temp )
Checking for Python version 2.3 or later...
Result: Found version 2.4.2 final (0).
Checking for Scons binary...
Result: "/usr/bin/scons"
Checking for Scons version...
Result: Found version 0.96.1.D001.
Checking for Darcs binary...
Result: "/usr/bin/darcs"
Checking for Darcs version...
Result: Found version 1.0.5 (release).
Checking for Subversion binary...
Result: "/usr/local/bin/svn"
Checking for Subversion version...
Result: Found version 1.4.2.
Checking for GHC binary...
Result: "/usr/bin/ghc"
Checking for GHC version 6.4.1 or later...
Result: Found version 6.4.1.
Checking whether byte ordering is bigendian...
.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;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_3.o .sconf_temp/conftest_3.c
gcc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_3.o .sconf_temp/conftest_3.c
.sconf_temp/conftest_3 > .sconf_temp/conftest_3.out
Result: no
Checking size of char...
.sconf_temp/conftest_4.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(char));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_4.o .sconf_temp/conftest_4.c
gcc -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_4.o .sconf_temp/conftest_4.c
.sconf_temp/conftest_4 > .sconf_temp/conftest_4.out
Result: 1
Checking size of short...
.sconf_temp/conftest_5.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(short));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_5.o .sconf_temp/conftest_5.c
gcc -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_5.o .sconf_temp/conftest_5.c
.sconf_temp/conftest_5 > .sconf_temp/conftest_5.out
Result: 2
Checking size of int...
.sconf_temp/conftest_6.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(int));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_6.o .sconf_temp/conftest_6.c
gcc -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_6.o .sconf_temp/conftest_6.c
.sconf_temp/conftest_6 > .sconf_temp/conftest_6.out
Result: 4
Checking size of long...
.sconf_temp/conftest_7.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(long));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_7.o .sconf_temp/conftest_7.c
gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_7.o .sconf_temp/conftest_7.c
.sconf_temp/conftest_7 > .sconf_temp/conftest_7.out
Result: 4
Checking size of long long...
.sconf_temp/conftest_8.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(long long));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_8.o .sconf_temp/conftest_8.c
gcc -o .sconf_temp/conftest_8 .sconf_temp/conftest_8.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_8.o .sconf_temp/conftest_8.c
.sconf_temp/conftest_8 > .sconf_temp/conftest_8.out
Result: 8
Checking size of float...
.sconf_temp/conftest_9.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(float));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_9.o .sconf_temp/conftest_9.c
gcc -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_9.o .sconf_temp/conftest_9.c
.sconf_temp/conftest_9 > .sconf_temp/conftest_9.out
Result: 4
Checking size of double...
.sconf_temp/conftest_10.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(double));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_10.o .sconf_temp/conftest_10.c
gcc -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_10.o .sconf_temp/conftest_10.c
.sconf_temp/conftest_10 > .sconf_temp/conftest_10.out
Result: 8
Checking size of void*...
.sconf_temp/conftest_11.c <-
|
|#include <stdio.h>
|
|int main(int argc, char** argv) {
| printf("%i\n", sizeof(void*));
| return 0;
|}
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_11.o .sconf_temp/conftest_11.c
gcc -o .sconf_temp/conftest_11 .sconf_temp/conftest_11.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_11.o .sconf_temp/conftest_11.c
.sconf_temp/conftest_11 > .sconf_temp/conftest_11.out
Result: 4
Checking for pthread_create() in C library pthread... .sconf_temp/conftest_12.c <-
|
|
|
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create();
| int
| main() {
| pthread_create();
| return 0;
| }
|
|
|
gcc -DX86 -I. -I/usr/local/include -I/opt/local/include -I/Library/Frameworks/GMP.Framework/Headers -c -o .sconf_temp/conftest_12.o .sconf_temp/conftest_12.c
gcc -o .sconf_temp/conftest_12 .sconf_temp/conftest_12.o -L/usr/local/lib -L/opt/local/lib -L/Library/Frameworks/GMP.Framework -lpthread
yes
More information about the Yhc
mailing list