after configuring and running make goes
"make: * [/home/geekay/devel/buildroot/buildroot-2013.08.1/output/build/eglibc-2.17-svnr22064/.stamp_configured] Error 1"
cat output/build/eglibc-2.17-svnr22064/build/config.log command output
<...>
gcc version 4.8.1 (Buildroot 2013.08.1)
configure:2758: $? = 0
configure:2747: /home/geekay/devel/buildroot/buildroot-2013.08.1/output/host/usr/bin/arm-buildroot-linux-gnueabi-gcc -V >&5
arm-buildroot-linux-gnueabi-gcc: error: unrecognized command line option '-V'
arm-buildroot-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:2758: $? = 1
configure:2747: /home/geekay/devel/buildroot/buildroot-2013.08.1/output/host/usr/bin/arm-buildroot-linux-gnueabi-gcc -qversion >&5
arm-buildroot-linux-gnueabi-gcc: error: unrecognized command line option '-qversion'
arm-buildroot-linux-gnueabi-gcc: fatal error: no input files
compilation terminated.
configure:2758: $? = 1
configure:2763: checking for suffix of object files
configure:2785: /home/geekay/devel/buildroot/buildroot-2013.08.1/output/host/usr/bin/arm-
buildroot-linux-gnueabi-gcc -c -O2 conftest.c >&5
Assembler messages:
Fatal error: invalid -march= option: `armv7-a'
configure:2789: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "glibc"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
| #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(Buildroot) "
| #define REPORT_BUGS_TO "<http://www.eglibc.org/issues/>"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2803: error: in `/home/geekay/devel/buildroot/buildroot-2013.08.1/output/build/eglibc-2.17-svnr22064/build':
configure:2805: error: cannot compute suffix of object files: cannot compile
<...>
what do i need to tune and correct?
Related
I was able to compiled the gateway but I got the error below running the make command.
gcc -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql -o gwlib/dbpool.o -c gwlib/dbpool.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from gwlib/gwlib.h:70,
from gwlib/dbpool.c:70:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
In file included from gwlib/gwlib.h:83,
from gwlib/dbpool.c:70:
gwlib/dbpool_mysql.c: In function ‘mysql_select’:
gwlib/dbpool_mysql.c:224:48: error: ‘my_bool’ undeclared (first use in this function); did you mean ‘xr_bool’?
224 | bind[i].is_null = gw_malloc(sizeof(my_bool));
gwlib/gwmem.h:122:43: note: in definition of macro ‘gw_malloc’
122 | #define gw_malloc(size) (gw_native_malloc(size))|
gwlib/dbpool_mysql.c:224:48: note: each undeclared identifier is reported only once for each function it appears in
224 | bind[i].is_null = gw_malloc(sizeof(my_bool));
gwlib/gwmem.h:122:43: note: in definition of macro ‘gw_malloc’
122 | #define gw_malloc(size) (gw_native_malloc(size))
make: *** [Makefile:230: gwlib/dbpool.o] Error 1`
This error comes when you're compiling with mysql 8
To fix this, add these lines to gwlib/dbpool_mysql.c
/* define my_bool for newer versions because they use the bool or int C type instead */
#if MYSQL_VERSION_ID >= 80000 && !defined(MARIADB_BASE_VERSION)
typedef bool my_bool;
#endif
I'm trying to get zkcm up and running on my system (Mac OS X 10.11.3). I've installed gmp just fine (using ./configure --prefix=/usr/local --enable-cxx), and mpfr installed easily once I told it where to find gmp (/usr/local/include).
However, zkcm isn't installing as easily. It is also able to find the gmp.h file (using ./configure --with-gmp-include=/usr/local/include), but even though I can see gmpxx.h is right there, the configuration fails with
checking /usr/local/include/gmp.h usability... yes
checking /usr/local/include/gmp.h presence... yes
checking for /usr/local/include/gmp.h... yes
checking /usr/local/include/gmpxx.h usability... no
checking /usr/local/include/gmpxx.h presence... no
checking for /usr/local/include/gmpxx.h... no
configure: error: not found.
I'm not sure what the issue is. I've tried re-installing gmp several times, to no avail.
I've gone through other similar questions, but I could only find information directing me to what I've already done. I'm using the latest libraries for all three. How can I properly direct zkcm to gmpxx.h?
Edit
All of the config.log text with "gmpxx.h":
configure:3331: checking /usr/local/include/gmpxx.h usability
configure:3331: g++ -c -g -O2 conftest.cpp >&5
In file included from conftest.cpp:53:
/usr/local/include/gmpxx.h:43:10: error: 'gmp.h' file not found with <angled> include; use "quotes" instead
#include <gmp.h>
^~~~~~~
"gmp.h"
1 error generated.
configure:3331: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE__USR_LOCAL_INCLUDE_GMP_H 1
| /* end confdefs.h. */
| #include </usr/local/include/gmpxx.h>
configure:3331: result: no
configure:3331: checking for /usr/local/include/gmpxx.h
configure:3331: result: no
configure:3338: error: not found.
on MacOSX 10.8.5, after upgrading to Xcode 5.0.2 (and upgrading/installing the Command Line Tools (from within Xcode preferences) I was installing FFTW 3.3.3 and Open MPI 1.6.5 by configuring them from the sources. I get the same type of error in both config.log files in the configure step, which shows the problem is not with the programs as I downloaded them from the official websites.
In short, the first error I see in the both logs is:
configure:3750: checking for gcc
configure:3766: found /usr/bin/gcc
configure:3777: result: gcc
configure:4006: checking for C compiler version
configure:4015: gcc --version >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
configure:4026: $? = 0
configure:4015: gcc -v >&5
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
configure:4026: $? = 0
configure:4015: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4026: $? = 1
configure:4015: gcc -qversion >&5
clang: error: no input files
when I type:
alexey-sorokin:local admin$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
when I type some commands to check what is the problem I get similar error to the log:
alexey-sorokin:local admin$ gcc -V
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
alexey-sorokin:local admin$ clang -v
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
alexey-sorokin:local admin$ which clang
/usr/bin/clang
alexey-sorokin:local admin$ gcc
clang: error: no input files
See my config.log file for FFTW3.3.3 installation below. The log for OpenMPI1.6.5 looks very similar, I can upload it in the next message if needed. I could not upload the ful log in the body so I made it shorter.
Any help/insights much appreciated! Thank you all!
++++CONFIG.LOG+++++FFTW3.3.3installation
It was created by fftw configure 3.3.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local
## --------- ##
## Platform. ##
## --------- ##
hostname = alexey-sorokin
uname -m = x86_64
uname -r = 12.5.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 8.00 gigabytes
Default processor set: 120 tasks, 548 threads, 4 processors
Load average: 1.22, Mach factor: 2.76
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2742: checking for a BSD-compatible install
configure:2810: result: /usr/bin/install -c
configure:2821: checking whether build environment is sane
configure:2871: result: yes
configure:3012: checking for a thread-safe mkdir -p
configure:3051: result: ./install-sh -c -d
configure:3064: checking for gawk
configure:3094: result: no
configure:3064: checking for mawk
configure:3094: result: no
configure:3064: checking for nawk
configure:3094: result: no
configure:3064: checking for awk
configure:3080: found /usr/bin/awk
configure:3091: result: awk
configure:3102: checking whether make sets $(MAKE)
configure:3124: result: yes
configure:3208: checking whether to enable maintainer-specific portions of Makefiles
configure:3217: result: no
configure:3265: checking build system type
configure:3279: result: x86_64-apple-darwin12.5.0
configure:3299: checking host system type
configure:3312: result: x86_64-apple-darwin12.5.0
configure:3750: checking for gcc
configure:3766: found /usr/bin/gcc
configure:3777: result: gcc
configure:4006: checking for C compiler version
configure:4015: gcc --version >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
configure:4026: $? = 0
configure:4015: gcc -v >&5
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
configure:4026: $? = 0
configure:4015: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4026: $? = 1
configure:4015: gcc -qversion >&5
clang: error: no input files
configure:4026: $? = 1
configure:4046: checking whether the C compiler works
configure:4068: gcc conftest.c >&5
configure:4072: $? = 0
configure:4120: result: yes
configure:4123: checking for C compiler default output file name
configure:4125: result: a.out
configure:4131: checking for suffix of executables
configure:4138: gcc -o conftest conftest.c >&5
configure:4142: $? = 0
configure:4164: result:
configure:4186: checking whether we are cross compiling
configure:4194: gcc -o conftest conftest.c >&5
configure:4198: $? = 0
configure:4205: ./conftest
configure:4209: $? = 0
configure:4224: result: no
configure:4229: checking for suffix of object files
configure:4251: gcc -c conftest.c >&5
configure:4255: $? = 0
configure:4276: result: o
configure:4280: checking whether we are using the GNU C compiler
configure:4299: gcc -c conftest.c >&5
configure:4299: $? = 0
configure:4308: result: yes
configure:4317: checking whether gcc accepts -g
configure:4337: gcc -c -g conftest.c >&5
configure:4337: $? = 0
configure:4378: result: yes
configure:4395: checking for gcc option to accept ISO C89
configure:4458: gcc -c -g -O2 conftest.c >&5
configure:4458: $? = 0
configure:4471: result: none needed
configure:4502: checking for style of include used by make
configure:4530: result: GNU
configure:4556: checking dependency style of gcc
configure:4667: result: gcc3
configure:4683: checking whether gcc and cc understand -c and -o together
configure:4714: gcc -c conftest.c -o conftest2.o >&5
configure:4718: $? = 0
configure:4724: gcc -c conftest.c -o conftest2.o >&5
configure:4728: $? = 0
configure:4739: cc -c conftest.c >&5
configure:4743: $? = 0
configure:4751: cc -c conftest.c -o conftest2.o >&5
configure:4755: $? = 0
configure:4761: cc -c conftest.c -o conftest2.o >&5
configure:4765: $? = 0
configure:4783: result: yes
configure:4810: checking for C compiler vendor
configure:4834: gcc -c -g -O2 conftest.c >&5
conftest.c:18:7: error: use of undeclared identifier 'thisisanerror'
thisisanerror;
^
1 error generated.
configure:4834: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fftw"
| #define PACKAGE_TARNAME "fftw"
| #define PACKAGE_VERSION "3.3.3"
| #define PACKAGE_STRING "fftw 3.3.3"
| #define PACKAGE_BUGREPORT "fftw#fftw.org"
| #define PACKAGE_URL ""
| #define PACKAGE "fftw"
| #define VERSION "3.3.3"
| #define FFTW_ENABLE_ALLOCA 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__ICC) || defined(__ECC) || defined(__INTEL_COMPILER))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:4834: gcc -c -g -O2 conftest.c >&5
conftest.c:18:7: error: use of undeclared identifier 'thisisanerror'
thisisanerror;
^
1 error generated.
configure:4834: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fftw"
| #define PACKAGE_TARNAME "fftw"
| #define PACKAGE_VERSION "3.3.3"
| #define PACKAGE_STRING "fftw 3.3.3"
| #define PACKAGE_BUGREPORT "fftw#fftw.org"
| #define PACKAGE_URL ""
| #define PACKAGE "fftw"
| #define VERSION "3.3.3"
| #define FFTW_ENABLE_ALLOCA 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__xlc__) || defined(__xlC__) || defined(__IBMC__) || defined(__IBMCPP__))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:4834: gcc -c -g -O2 conftest.c >&5
conftest.c:18:7: error: use of undeclared identifier 'thisisanerror'
thisisanerror;
^
1 error generated.
configure:4834: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fftw"
| #define PACKAGE_TARNAME "fftw"
| #define PACKAGE_VERSION "3.3.3"
| #define PACKAGE_STRING "fftw 3.3.3"
| #define PACKAGE_BUGREPORT "fftw#fftw.org"
| #define PACKAGE_URL ""
| #define PACKAGE "fftw"
| #define VERSION "3.3.3"
| #define FFTW_ENABLE_ALLOCA 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #if !(defined(__PATHCC__) || defined(__PATHSCALE__))
| thisisanerror;
| #endif
|
| ;
| return 0;
| }
configure:4834: gcc -c -g -O2 conftest.c >&5
configure:4834: $? = 0
configure:4841: result: gnu
configure:4848: checking for gcc option to accept ISO C99
configure:4997: gcc -c -g -O2 conftest.c >&5
configure:4997: $? = 0
configure:5010: result: none needed
configure:5118: checking for gcc option to accept ISO Standard C
configure:5129: result: none needed
configure:5137: checking whether ln -s works
configure:5141: result: yes
configure:5148: checking whether make sets $(MAKE)
configure:5170: result: yes
configure:5528: checking how to print strings
configure:5555: result: printf
configure:5576: checking for a sed that does not truncate output
configure:5640: result: /usr/bin/sed
configure:5658: checking for grep that handles long lines and -e
configure:5716: result: /usr/bin/grep
configure:5721: checking for egrep
configure:5783: result: /usr/bin/grep -E
configure:5788: checking for fgrep
configure:5850: result: /usr/bin/grep -F
configure:5885: checking for ld used by gcc
configure:5952: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
configure:5959: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
configure:5974: result: no
configure:5986: checking for BSD- or MS-compatible name lister (nm)
configure:6035: result: /usr/bin/nm
configure:6165: checking the name lister (/usr/bin/nm) interface
configure:6172: gcc -c -g -O2 conftest.c >&5
configure:6175: /usr/bin/nm "conftest.o"
configure:6178: output
0000000000000208 S _some_variable
configure:6185: result: BSD nm
configure:6189: checking the maximum length of command line arguments
configure:6319: result: 196608
configure:6336: checking whether the shell understands some XSI constructs
configure:6346: result: yes
configure:6350: checking whether the shell understands "+="
configure:6356: result: yes
configure:6391: checking how to convert x86_64-apple-darwin12.5.0 file names to x86_64-apple-darwin12.5.0 format
configure:6431: result: func_convert_file_noop
configure:6438: checking how to convert x86_64-apple-darwin12.5.0 file names to toolchain format
configure:6458: result: func_convert_file_noop
configure:6465: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
configure:6472: result: -r
configure:6546: checking for objdump
configure:6573: result: objdump
configure:6602: checking how to recognize dependent libraries
configure:6800: result: pass_all
configure:6885: checking for dlltool
configure:6912: result: dlltool
configure:6942: checking how to associate runtime and link libraries
configure:6969: result: printf %s\n
configure:7029: checking for ar
configure:7045: found /usr/bin/ar
configure:7056: result: ar
configure:7093: checking for archiver #FILE support
configure:7110: gcc -c -g -O2 conftest.c >&5
configure:7110: $? = 0
configure:7113: ar cru libconftest.a #conftest.lst >&5
ar: #conftest.lst: No such file or directory
configure:7116: $? = 1
configure:7136: result: no
configure:7194: checking for strip
configure:7210: found /usr/bin/strip
configure:7221: result: strip
configure:7293: checking for ranlib
configure:7309: found /usr/bin/ranlib
configure:7320: result: ranlib
configure:7422: checking command to parse /usr/bin/nm output from gcc object
configure:7542: gcc -c -g -O2 conftest.c >&5
configure:7545: $? = 0
configure:7549: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7552: $? = 0
cannot find nm_test_var in conftest.nm
configure:7542: gcc -c -g -O2 conftest.c >&5
configure:7545: $? = 0
configure:7549: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7552: $? = 0
configure:7618: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:7621: $? = 0
configure:7659: result: ok
configure:7696: checking for sysroot
configure:7726: result: no
configure:7982: checking for mt
configure:8012: result: no
configure:8032: checking if : is a manifest tool
configure:8038: : '-?'
configure:8046: result: no
configure:8102: checking for dsymutil
configure:8118: found /usr/bin/dsymutil
configure:8129: result: dsymutil
configure:8194: checking for nmedit
configure:8210: found /usr/bin/nmedit
configure:8221: result: nmedit
configure:8286: checking for lipo
configure:8302: found /usr/bin/lipo
configure:8313: result: lipo
configure:8378: checking for otool
configure:8394: found /usr/bin/otool
configure:8405: result: otool
configure:8470: checking for otool64
configure:8500: result: no
configure:8545: checking for -single_module linker flag
gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:8578: result: yes
configure:8581: checking for -exported_symbols_list linker flag
configure:8601: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
configure:8601: $? = 0
configure:8611: result: yes
configure:8614: checking for -force_load linker flag
gcc -g -O2 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:8646: result: yes
configure:8688: checking how to run the C preprocessor
configure:8719: gcc -E conftest.c
configure:8719: $? = 0
configure:8733: gcc -E conftest.c
conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:8733: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "fftw"
| #define PACKAGE_TARNAME "fftw"
| #define PACKAGE_VERSION "3.3.3"
| #define PACKAGE_STRING "fftw 3.3.3"
| #define PACKAGE_BUGREPORT "fftw#fftw.org"
| #define PACKAGE_URL ""
| #define PACKAGE "fftw"
| #define VERSION "3.3.3"
| #define FFTW_ENABLE_ALLOCA 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:8758: result: gcc -E
configure:8778: gcc -E conftest.c
configure:8778: $? = 0
configure:8792: gcc -E conftest.c
conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:8792: $? = 1
configure: failed program was:
| /* confdefs.h */
………….and so on…..below is the end:
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Users/admin/Downloads/fftw-3.3.3/missing --run aclocal-1.11'
ALLOCA=''
ALTIVEC_CFLAGS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /Users/admin/Downloads/fftw-3.3.3/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/admin/Downloads/fftw-3.3.3/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/admin/Downloads/fftw-3.3.3/missing --run automake-1.11'
AVX_CFLAGS=''
AWK='awk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O3 -fomit-frame-pointer -mtune=native -malign-double -fstrict-aliasing -fno-schedule-insns -ffast-math'
CHECK_PL_OPTS=''
COMBINED_THREADS_FALSE=''
COMBINED_THREADS_TRUE='#'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
C_FFTW_R2R_KIND='C_INT32_T'
C_MPI_FINT=''
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
F77='gfortran'
FFLAGS='-g -O2'
FGREP='/usr/bin/grep -F'
FLIBS=' -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin12/4.8.2 -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin12/4.8.2/../../.. -lgfortran -lquadmath -lm'
GREP='/usr/bin/grep'
HAVE_ALTIVEC_FALSE=''
HAVE_ALTIVEC_TRUE='#'
HAVE_AVX_FALSE=''
HAVE_AVX_TRUE='#'
HAVE_NEON_FALSE=''
HAVE_NEON_TRUE='#'
HAVE_SSE2_FALSE=''
HAVE_SSE2_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
LDFLAGS=''
LDOUBLE_FALSE=''
LDOUBLE_TRUE='#'
LIBOBJS=''
LIBQUADMATH=''
LIBS='-lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/admin/Downloads/fftw-3.3.3/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='./install-sh -c -d'
MPICC=''
MPILIBS=''
MPIRUN=''
MPI_FALSE=''
MPI_TRUE='#'
NEON_CFLAGS=''
NM='/usr/bin/nm'
NMEDIT='nmedit'
OBJDUMP='objdump'
OBJEXT='o'
OCAMLBUILD=''
OPENMP_CFLAGS=''
OPENMP_FALSE=''
OPENMP_TRUE='#'
OTOOL64=':'
OTOOL='otool'
PACKAGE='fftw'
PACKAGE_BUGREPORT='fftw#fftw.org'
PACKAGE_NAME='fftw'
PACKAGE_STRING='fftw 3.3.3'
PACKAGE_TARNAME='fftw'
PACKAGE_URL=''
PACKAGE_VERSION='3.3.3'
PATH_SEPARATOR=':'
POW_LIB=''
PRECISION='d'
PREC_SUFFIX=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
QUAD_FALSE=''
QUAD_TRUE='#'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHARED_VERSION_INFO='6:2:3'
SHELL='/bin/sh'
SINGLE_FALSE=''
SINGLE_TRUE='#'
SMP_FALSE=''
SMP_TRUE='#'
SSE2_CFLAGS=''
STACK_ALIGN_CFLAGS=''
STRIP='strip'
THREADLIBS=''
THREADS_FALSE=''
THREADS_TRUE='#'
VERSION='3.3.3'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
ac_ct_F77='gfortran'
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin12.5.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin12.5.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-apple-darwin12.5.0'
host_alias=''
host_cpu='x86_64'
host_os='darwin12.5.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/admin/Downloads/fftw-3.3.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "fftw"
#define PACKAGE_TARNAME "fftw"
#define PACKAGE_VERSION "3.3.3"
#define PACKAGE_STRING "fftw 3.3.3"
#define PACKAGE_BUGREPORT "fftw#fftw.org"
#define PACKAGE_URL ""
#define PACKAGE "fftw"
#define VERSION "3.3.3"
#define FFTW_ENABLE_ALLOCA 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define STDC_HEADERS 1
#define HAVE_STDDEF_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_LIMITS_H 1
#define HAVE_STDINT_H 1
#define HAVE_MACH_MACH_TIME_H 1
#define HAVE_SYS_SYSCTL_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_LONG_DOUBLE 1
#define SIZEOF_INT 4
#define SIZEOF_UNSIGNED_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_UNSIGNED_LONG 8
#define SIZEOF_LONG_LONG 8
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define SIZEOF_SIZE_T 8
#define SIZEOF_PTRDIFF_T 8
#define HAVE_UINTPTR_T 1
#define SIZEOF_FLOAT 4
#define SIZEOF_DOUBLE 8
#define SIZEOF_FFTW_R2R_KIND 4
#define HAVE_ALLOCA_H 1
#define HAVE_ALLOCA 1
#define HAVE_VPRINTF 1
#define HAVE_LIBM 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_DRAND48 1
#define HAVE_SQRT 1
#define HAVE_MEMSET 1
#define HAVE_POSIX_MEMALIGN 1
#define HAVE_MACH_ABSOLUTE_TIME 1
#define HAVE_SYSCTL 1
#define HAVE_ABORT 1
#define HAVE_SINL 1
#define HAVE_COSL 1
#define HAVE_SNPRINTF 1
#define HAVE_DECL_DRAND48 1
#define HAVE_DECL_SRAND48 1
#define HAVE_DECL_MEMALIGN 0
#define HAVE_DECL_POSIX_MEMALIGN 1
#define HAVE_DECL_SINL 1
#define HAVE_DECL_COSL 1
#define HAVE_DECL_SINQ 0
#define HAVE_DECL_COSQ 0
#define HAVE_ISNAN 1
#define F77_FUNC(name,NAME) name ## _
#define F77_FUNC_(name,NAME) name ## _
#define F77_FUNC_EQUIV 1
#define WITH_G77_WRAPPERS 1
#define FFTW_CC "gcc -O3 -fomit-frame-pointer -mtune=native -malign-double -fstrict-aliasing -fno-schedule-insns -ffast-math"
configure: exit 0
The problem is, that Apple redirect all GCC calls to clang. Configure thinks it is using GCC and uses an incompatible syntax, thus Clang fails.
You have either look for a more recent version of your tools which fixed the issue. Or you have to look for specific flags to tell configure which compiler to use. Try to set the shell variables CC, CXX or there might be a specific configure flag, ask configure --help
The other possibility would be to install GCC. Using macports or homebrew this is rather simpler. But it could be that one of these offers you MPI and FFTW, so you could use these.
I'm trying to compile GCC 4.7.2 on a Buffalo LinkStation Pro Duo (after unlocking it) which runs Linux 2.6.31.8 armv5tel.
Unfortunately, make throws quite some errors, starting with
gcc -c -DIN_GCC_FRONTEND -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-formIn file included from ../../gcc-4.7.2/gcc/tree.h:32,
from ../../gcc-4.7.2/gcc/c-lang.c:27:
../../gcc-4.7.2/gcc/real.h:53: error: 'SIZEOF_LONG' undeclared here (not in a function)
In file included from ../../gcc-4.7.2/gcc/tree.h:32,
from ../../gcc-4.7.2/gcc/c-lang.c:27:
../../gcc-4.7.2/gcc/real.h:87:5: error: division by zero in #if
../../gcc-4.7.2/gcc/real.h:87:5: error: division by zero in #if
../../gcc-4.7.2/gcc/real.h:90:6: error: division by zero in #if
Line 53 of real.h reads unsigned long sig[SIGSZ];, where SIGSZ is defined at line 40 as
#define SIGSZ (SIGNIFICAND_BITS / HOST_BITS_PER_LONG)
while line 87 is #if REAL_WIDTH == 1 with REAL_WIDTH defined starting at line 72 as
#define REAL_WIDTH \
(REAL_VALUE_TYPE_SIZE/HOST_BITS_PER_WIDE_INT \
+ (REAL_VALUE_TYPE_SIZE%HOST_BITS_PER_WIDE_INT ? 1 : 0)) /* round up */
This seems to boil down to the HOST_BITS_PER_* being zero. Do I have to define these manually with some configure parameter or how can this issue be resolved?
update
config.log contains the following errors:
conftest.c:10:19: error: ppl_c.h: No such file or directory
conftest.c: In function 'main':
conftest.c:16: error: 'choke' undeclared (first use in this function)
conftest.c:16: error: (Each undeclared identifier is reported only once
conftest.c:16: error: for each function it appears in.)
conftest.c:16: error: expected ';' before 'me'
configure:5708: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include "ppl_c.h"
| int
| main ()
| {
|.
| #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
| choke me
| #endif
|.
| ;
| r
Following this post I seem to have forgotten to install ppl, which I'll try now
SIZEOF_LONG should be #defined by configure in the file auto-host.h. Your auto-host.h should contain something like:
/* The size of `long', as computed by sizeof. */
#ifndef USED_FOR_TARGET
#define SIZEOF_LONG 8
#endif
If the above is not present (and it looks like in your case it's indeed so), check config.log for errors. Search for errors around the string checking size of long.
Thanks to chill's answer I checked config.log to discover
conftest.c:10:19: error: ppl_c.h: No such file or directory
(which, curiously, did not prevent configure from creating a Makefile and returning a success error code). The first google hit on that was this post, showing I didn't provide the ppl dependency.
The ppl-1.0 compilation greeted me with
checked_float.inlines.hh:1012: error: 'frexpl' was not declared in this scope
which led me to this post suggesting I'd use the 1.1 snapshot instead, which worked
Now, gcc's make offered me another "helpful" error:
gcc/../libcpp/include/line-map.h:66: error: 'CHAR_BIT'
which turned out to be due to C_INCLUDE_PATH ending with a colon (I already experienced the checking LIBRARY_PATH variable... contains current directory error mentioned in that post, but didn't think about checking other variables for that as well)
Compilation is still running, so far no more errors...
I'm trying to build xmonad in Mountain Lion to run with Xquartz 2.7.2, tutorial found here .
I'm using cabal to get required X11 libraries cabal install X11-1.5.0.1.
That didn't work, so I got the tar and tried building it with ghc, same error. It won't configure:
Resolving dependencies...
Configuring X11-1.5.0.1...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.outchecking for suffix of executables...
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking for X... no
configure: error: in `/private/var/folders/vr/6swz_qtn60q0ld9lp_pbdqk80000gn/T/X11-1.5.0.1-78620/X11-1.5.0.1':
configure: error: X11 libraries not found, so X11 package cannot be built
See `config.log' for more details
cabal: Error: some packages failed to install:X11-1.5.0.1 failed during the configure step. The exception was:ExitFailure 1
my config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Haskell X11 package configure 1.4.6, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ configure --with-hc=ghc --with-gcc=/usr/bin/gcc
## --------- ##
## Platform. ##
## --------- ##
hostname = ilikeplantss-MacBook.local
uname -m = x86_64
uname -r = 12.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 96 tasks, 410 threads, 2 processors
Load average: 1.90, Mach factor: 0.72
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2169: checking for gcc
configure:2185: found /usr/bin/gcc
configure:2196: result: gcc
configure:2425: checking for C compiler version
configure:2434: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2445: $? = 0
configure:2434: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:2445: $? = 0
configure:2434: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:2445: $? = 1
configure:2434: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:2445: $? = 1
configure:2465: checking whether the C compiler works
configure:2487: gcc -m32 conftest.c >&5
configure:2491: $? = 0
configure:2539: result: yes
configure:2542: checking for C compiler default output file name
configure:2544: result: a.out
configure:2550: checking for suffix of executables
configure:2557: gcc -o conftest -m32 conftest.c >&5
configure:2561: $? = 0
configure:2583: result:
configure:2605: checking whether we are cross compiling
configure:2613: gcc -o conftest -m32 conftest.c >&5
configure:2617: $? = 0
configure:2624: ./conftest
configure:2628: $? = 0
configure:2643: result: no
configure:2648: checking for suffix of object files
configure:2670: gcc -c -m32 conftest.c >&5
configure:2674: $? = 0
configure:2695: result: o
configure:2699: checking whether we are using the GNU C compiler
configure:2718: gcc -c -m32 conftest.c >&5
configure:2718: $? = 0
configure:2727: result: yes
configure:2736: checking whether gcc accepts -g
configure:2756: gcc -c -g conftest.c >&5
configure:2756: $? = 0
configure:2797: result: yes
configure:2814: checking for gcc option to accept ISO C89
configure:2878: gcc -c -m32 conftest.c >&5
configure:2878: $? = 0
configure:2891: result: none needed
configure:2917: checking how to run the C preprocessor
configure:2948: gcc -E conftest.c
configure:2948: $? = 0
configure:2962: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:2962: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Haskell X11 package"
| #define PACKAGE_TARNAME "X11"
| #define PACKAGE_VERSION "1.4.6"
| #define PACKAGE_STRING "Haskell X11 package 1.4.6"
| #define PACKAGE_BUGREPORT "dons#galois.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:2987: result: gcc -E
configure:3007: gcc -E conftest.c
configure:3007: $? = 0
configure:3021: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3021: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Haskell X11 package"
| #define PACKAGE_TARNAME "X11"
| #define PACKAGE_VERSION "1.4.6"
| #define PACKAGE_STRING "Haskell X11 package 1.4.6"
| #define PACKAGE_BUGREPORT "dons#galois.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3050: checking for X
configure:3158: gcc -E conftest.c
conftest.c:9:22: error: X11/Xlib.h: No such file or directory
configure:3158: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Haskell X11 package"
| #define PACKAGE_TARNAME "X11"
| #define PACKAGE_VERSION "1.4.6"
| #define PACKAGE_STRING "Haskell X11 package 1.4.6"
| #define PACKAGE_BUGREPORT "dons#galois.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <X11/Xlib.h>
configure:3189: gcc -o conftest -m32 conftest.c -lX11 >&5
conftest.c:9:22: error: X11/Xlib.h: No such file or directory
configure:3189: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Haskell X11 package"
| #define PACKAGE_TARNAME "X11"
| #define PACKAGE_VERSION "1.4.6"
| #define PACKAGE_STRING "Haskell X11 package 1.4.6"
| #define PACKAGE_BUGREPORT "dons#galois.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <X11/Xlib.h>
| int
| main ()
| {
| XrmInitialize ()
| ;
| return 0;
| }
configure:3228: result: no
configure:3744: gcc -E conftest.c
conftest.c:10:22: error: X11/Xlib.h: No such file or directory
configure:3744: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Haskell X11 package"
| #define PACKAGE_TARNAME "X11"
| #define PACKAGE_VERSION "1.4.6"
| #define PACKAGE_STRING "Haskell X11 package 1.4.6"
| #define PACKAGE_BUGREPORT "dons#galois.com"
| #define PACKAGE_URL ""
| #define X_DISPLAY_MISSING 1
| /* end confdefs.h. */
| #include <X11/Xlib.h>
configure:3759: error: in `/Users/gav/Desktop/X11-1.6.0':
configure:3761: error: X11 libraries not found, so X11 package cannot be built
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-m32
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_have_x=have_x=no
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
BUILD_PACKAGE_BOOL=''
CC='gcc'
CFLAGS='-m32'
CPP='gcc -E'
CPPFLAGS=' -INONE'
DEFS=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_LIBRARIES=''
GREP=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT='dons#galois.com'
PACKAGE_NAME='Haskell X11 package'
PACKAGE_STRING='Haskell X11 package 1.4.6'
PACKAGE_TARNAME='X11'
PACKAGE_URL=''
PACKAGE_VERSION='1.4.6'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
X11_BUILD_PACKAGE=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Haskell X11 package"
#define PACKAGE_TARNAME "X11"
#define PACKAGE_VERSION "1.4.6"
#define PACKAGE_STRING "Haskell X11 package 1.4.6"
#define PACKAGE_BUGREPORT "dons#galois.com"
#define PACKAGE_URL ""
#define X_DISPLAY_MISSING 1
configure: exit 1
Is there something I need to add to correct the paths to point to Xquartz libraries?
The toolchain won't find X11 in /opt. You need to either install X11 to a place where it can be found by the compiler/linker by default, or pass relevant -I and -L flags down to the corresponding tools. I hear this works:
env CPPFLAGS="-I/opt/X11/include" LDFLAGS="-L/opt/X11/lib" your-build-command
though I personally just symlink everything to /usr/{lib,include}.