Mark Andrews writes: > > In message <[email protected]>, James Brown w > ri > tes: > > > > On 11 Mar 2014, at 2:15 pm, Mark Andrews <[email protected]> wrote: > > > > > > > > The first thing is that configure has decided that we are cross > > > compiling which is because the simple executable did not run. > > > > > > configure:3472: checking whether we are cross compiling > > > configure:3510: result: yes > > > > > > I haven't upgraded my machine to Mavericks yet so I can't test this. > > > The version of clang you are using works with 10.8.5 so the first > > > thing I would do is make sure you are completely up to date at the > > > OS level. > > > > > > The program that configure is trying to compile and run is: > > > > > > #include <stdio.h> > > > int > > > main () > > > { > > > FILE *f = fopen ("conftest.out", "w"); > > > return ferror (f) || fclose (f) != 0; > > > > > > ; > > > return 0; > > > } > > > > > > So I would do that by hand. > > > > > > gcc -o conftest conftest.c > > > ./conftest > > > > gcc can't find contest.c, and neither can I! > > > > BordoDNS:bind-9.9.5 me$ gcc -o conftest conftest.c > > clang: error: no such file or directory: 'conftest.c' > > clang: error: no input files > > I didn't think I would need to say "save the contents of the program to > conftest.c". > > cat > conftest.c << 'EOF' > #include <stdio.h> > int > main () > { > FILE *f = fopen ("conftest.out", "w"); > return ferror (f) || fclose (f) != 0; > > ; > return 0; > } > EOF > gcc -o conftest conftest.c > ./conftest
and add "echo $?" at the end to report the exit status. > > James. > > -- > > Mark Andrews, ISC > > 1 Seymour St., Dundas Valley, NSW 2117, Australia > > PHONE: +61 2 9871 4742 INTERNET: [email protected] -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: [email protected] _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

