Cannot configure pytave on a Mac?
Hello all,
I'm working on installing pytave on Mac OXS 10.6 and python 2.7. After getting the includes set up right for numpy, the ./configure script fails trying to link with numpy, giving me the message
=======
Can not link with Numpy.
Make sure the Numpy development package is installed.
=======
If I add the linker flags "-undefined dynamic_lookup" and run the c++ compile command by hand, it works fine, but I'm not certain whether this will break things down the line.
Any ideas?
...any reply appreciated...
Stephen Pope
-------
Part 2
Here's the config.log and the line where it fails to link with numpy
configure:5250: g++ -o conftest -I/usr/
I can run this command if I add the linker options -undefined dynamic_lookup
Here's the 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 pytave configure dev, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = STP-MacBook.local
uname -m = x86_64
uname -r = 10.8.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 8.00 gigabytes
Default processor set: 92 tasks, 521 threads, 8 processors
Load average: 3.59, Mach factor: 4.40
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/local/bin
PATH: /usr/local/ec2/bin
PATH: /Applications/
PATH: /Users/
PATH: /Library/
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/texbin
PATH: /usr/X11/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2687: checking for g++
configure:2703: found /usr/bin/g++
configure:2714: result: g++
configure:2741: checking for C++ compiler version
configure:2750: g++ --version >&5
i686-apple-
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:2761: $? = 0
configure:2750: g++ -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
configure:2761: $? = 0
configure:2750: g++ -V >&5
g++-4.2: argument to `-V' is missing
configure:2761: $? = 1
configure:2750: g++ -qversion >&5
i686-apple-
configure:2761: $? = 1
configure:2781: checking whether the C++ compiler works
configure:2803: g++ -I/usr/
configure:2807: $? = 0
configure:2855: result: yes
configure:2858: checking for C++ compiler default output file name
configure:2860: result: a.out
configure:2866: checking for suffix of executables
configure:2873: g++ -o conftest -I/usr/
configure:2877: $? = 0
configure:2899: result:
configure:2921: checking whether we are cross compiling
configure:2929: g++ -o conftest -I/usr/
configure:2933: $? = 0
configure:2940: ./conftest
configure:2944: $? = 0
configure:2959: result: no
configure:2964: checking for suffix of object files
configure:2986: g++ -c -I/usr/
configure:2990: $? = 0
configure:3011: result: o
configure:3015: checking whether we are using the GNU C++ compiler
configure:3034: g++ -c -I/usr/
configure:3034: $? = 0
configure:3043: result: yes
configure:3052: checking whether g++ accepts -g
configure:3072: g++ -c -g conftest.cpp >&5
configure:3072: $? = 0
configure:3113: result: yes
configure:3184: checking for gcc
configure:3200: found /usr/bin/gcc
configure:3211: result: gcc
configure:3440: checking for C compiler version
configure:3449: gcc --version >&5
i686-apple-
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:3460: $? = 0
configure:3449: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
configure:3460: $? = 0
configure:3449: gcc -V >&5
gcc-4.2: argument to `-V' is missing
configure:3460: $? = 1
configure:3449: gcc -qversion >&5
i686-apple-
configure:3460: $? = 1
configure:3464: checking whether we are using the GNU C compiler
configure:3483: gcc -c -I/usr/
configure:3483: $? = 0
configure:3492: result: yes
configure:3501: checking whether gcc accepts -g
configure:3521: gcc -c -g conftest.c >&5
configure:3521: $? = 0
configure:3562: result: yes
configure:3579: checking for gcc option to accept ISO C89
configure:3643: gcc -c -I/usr/
configure:3643: $? = 0
configure:3656: result: none needed
configure:3681: checking how to run the C preprocessor
configure:3712: gcc -E conftest.c
configure:3712: $? = 0
configure:3726: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3726: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3751: result: gcc -E
configure:3771: gcc -E conftest.c
configure:3771: $? = 0
configure:3785: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3785: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3861: checking for gcc
configure:3888: result: gcc
configure:4117: checking for C compiler version
configure:4126: gcc --version >&5
i686-apple-
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:4137: $? = 0
configure:4126: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
configure:4137: $? = 0
configure:4126: gcc -V >&5
gcc-4.2: argument to `-V' is missing
configure:4137: $? = 1
configure:4126: gcc -qversion >&5
i686-apple-
configure:4137: $? = 1
configure:4141: checking whether we are using the GNU C compiler
configure:4169: result: yes
configure:4178: checking whether gcc accepts -g
configure:4239: result: yes
configure:4256: checking for gcc option to accept ISO C89
configure:4333: result: none needed
configure:4375: checking for octave-config filename
configure:4379: result: determined from path
configure:4427: checking for octave-config
configure:4445: found /opt/local/
configure:4457: result: /opt/local/
configure:4495: checking for Octave library path
configure:4498: result: /opt/local/
configure:4501: checking for Octave include path
configure:4504: result: /opt/local/
configure:4662: checking if the include directory is 3.3+ style
configure:4666: result: yes
configure:4677: checking whether linking to Octave works
configure:4713: g++ -o conftest -I/usr/
In file included from /opt/local/
/opt/local/
conftest.cpp:6:1: warning: this is the location of the previous definition
/opt/local/
conftest.cpp:2:1: warning: this is the location of the previous definition
/opt/local/
conftest.cpp:5:1: warning: this is the location of the previous definition
/opt/local/
conftest.cpp:3:1: warning: this is the location of the previous definition
/opt/local/
conftest.cpp:7:1: warning: this is the location of the previous definition
/opt/local/
conftest.cpp:4:1: warning: this is the location of the previous definition
configure:4713: $? = 0
configure:4733: result: yes
configure:4791: checking for python
configure:4809: found /Library/
configure:4821: result: /Library/
configure:4837: checking for a version of Python >= '2.1.0'
configure:4862: result: yes
configure:4893: checking for the distutils Python package
configure:4897: result: yes
configure:4911: checking for Python include path
configure:4921: result: -I/opt/
configure:4928: checking for Python library path
configure:5023: result: -L/opt/
configure:5032: checking for Python site-packages path
configure:5038: result: /opt/local/
configure:5045: checking python extra libraries
configure:5052: result: -ldl -framework CoreFoundation
configure:5059: checking python extra linking flags
configure:5066: result: -u _PyMac_Error /opt/local/
configure:5073: checking consistency of all components of python development environment
configure:5098: gcc -o conftest -I/usr/
configure:5098: $? = 0
configure:5116: result: yes
configure:5174: checking for python
configure:5183: result: /Library/
configure:5188: checking for numpy includedir
configure:5204: result: /opt/local/
configure:5212: checking whether linking to numpy library works
configure:5250: g++ -o conftest -I/usr/
Undefined symbols:
"_PyExc_
_
_
_
_
_
_
"_PyExc_
_
"_PyCObject_
_
"_PyCObject_
_
"_PyImport_
_
"_PyErr_
_
_
_
_
"_PyExc_
_
"_PyErr_Format", referenced from:
_
_
_
_
"_PyObject_
_
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:5250: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| /* end confdefs.h. */
|
| #define PY_ARRAY_
| #include <Python.h>
| #include <numpy/
| #include <numpy/
|
| int
| main ()
| {
| &PyArray_FromDims;
| ;
| return 0;
| }
configure:5268: result: no
configure:5282: WARNING:
=======
Can not link with Numpy.
Make sure the Numpy development package is installed.
=======
configure:5426: checking whether the Boost::Python library is available
configure:5455: g++ -c -I/usr/
configure:5455: $? = 0
configure:5470: result: yes
configure:5497: checking for exit in -lboost_python
configure:5522: g++ -o conftest -I/usr/
configure:5522: $? = 0
configure:5532: result: yes
configure:5600: checking for a BSD-compatible install
configure:5668: result: /usr/bin/install -c
configure:5679: checking whether build environment is sane
configure:5729: result: yes
configure:5870: checking for a thread-safe mkdir -p
configure:5909: result: ./install-sh -c -d
configure:5922: checking for gawk
configure:5938: found /opt/local/bin/gawk
configure:5949: result: gawk
configure:5960: checking whether make sets $(MAKE)
configure:5982: result: yes
configure:6012: checking for style of include used by make
configure:6040: result: GNU
configure:6126: checking dependency style of gcc
configure:6237: result: gcc3
configure:6254: checking dependency style of g++
configure:6365: result: gcc3
configure:6412: checking build system type
configure:6426: result: x86_64-
configure:6446: checking host system type
configure:6459: result: x86_64-
configure:6500: checking how to print strings
configure:6527: result: printf
configure:6548: checking for a sed that does not truncate output
configure:6612: result: /opt/local/bin/gsed
configure:6630: checking for grep that handles long lines and -e
configure:6688: result: /opt/local/bin/grep
configure:6693: checking for egrep
configure:6755: result: /opt/local/bin/grep -E
configure:6760: checking for fgrep
configure:6822: result: /opt/local/bin/grep -F
configure:6857: checking for ld used by gcc
configure:6924: result: /usr/libexec/
configure:6931: checking if the linker (/usr/libexec/
configure:6946: result: no
configure:6958: checking for BSD- or MS-compatible name lister (nm)
configure:7007: result: /usr/bin/nm
configure:7137: checking the name lister (/usr/bin/nm) interface
configure:7144: g++ -c -I/usr/
configure:7147: /usr/bin/nm "conftest.o"
configure:7150: output
0000000000000000 D _some_variable
configure:7157: result: BSD nm
configure:7160: checking whether ln -s works
configure:7164: result: yes
configure:7172: checking the maximum length of command line arguments
configure:7302: result: 196608
configure:7319: checking whether the shell understands some XSI constructs
configure:7329: result: yes
configure:7333: checking whether the shell understands "+="
configure:7339: result: yes
configure:7374: checking how to convert x86_64-
configure:7414: result: func_convert_
configure:7421: checking how to convert x86_64-
configure:7441: result: func_convert_
configure:7448: checking for /usr/libexec/
configure:7455: result: -r
configure:7529: checking for objdump
configure:7559: result: no
configure:7588: checking how to recognize dependent libraries
configure:7790: result: pass_all
configure:7875: checking for dlltool
configure:7905: result: no
configure:7935: checking how to associate runtime and link libraries
configure:7962: result: printf %s\n
configure:8022: checking for ar
configure:8038: found /usr/bin/ar
configure:8049: result: ar
configure:8086: checking for archiver @FILE support
configure:8103: g++ -c -I/usr/
configure:8103: $? = 0
configure:8106: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:8109: $? = 1
configure:8129: result: no
configure:8187: checking for strip
configure:8203: found /usr/bin/strip
configure:8214: result: strip
configure:8286: checking for ranlib
configure:8302: found /usr/bin/ranlib
configure:8313: result: ranlib
configure:8415: checking command to parse /usr/bin/nm output from gcc object
configure:8535: g++ -c -I/usr/
configure:8538: $? = 0
configure:8542: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST]
configure:8545: $? = 0
cannot find nm_test_var in conftest.nm
configure:8535: g++ -c -I/usr/
configure:8538: $? = 0
configure:8542: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST]
configure:8545: $? = 0
configure:8611: g++ -o conftest -I/usr/
configure:8614: $? = 0
configure:8652: result: ok
configure:8689: checking for sysroot
configure:8719: result: no
configure:8975: checking for mt
configure:9005: result: no
configure:9025: checking if : is a manifest tool
configure:9031: : '-?'
configure:9039: result: no
configure:9095: checking for dsymutil
configure:9111: found /usr/bin/dsymutil
configure:9122: result: dsymutil
configure:9187: checking for nmedit
configure:9203: found /usr/bin/nmedit
configure:9214: result: nmedit
configure:9279: checking for lipo
configure:9295: found /usr/bin/lipo
configure:9306: result: lipo
configure:9371: checking for otool
configure:9387: found /usr/bin/otool
configure:9398: result: otool
configure:9463: checking for otool64
configure:9493: result: no
configure:9538: checking for -single_module linker flag
gcc -I/usr/
configure:9571: result: yes
configure:9574: checking for -exported_
configure:9594: g++ -o conftest -I/usr/
configure:9594: $? = 0
configure:9604: result: yes
configure:9607: checking for -force_load linker flag
gcc -I/usr/
ar cru libconftest.a conftest.o
ranlib libconftest.a
gcc -I/usr/
configure:9639: result: yes
configure:9677: checking for ANSI C header files
configure:9697: g++ -c -I/usr/
configure:9697: $? = 0
./configure: line 9711: ./conftest.cpp: Permission denied
configure:9781: result: no
configure:9794: checking for sys/types.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for sys/stat.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for stdlib.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for string.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for memory.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for strings.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for inttypes.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for stdint.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9794: checking for unistd.h
configure:9794: g++ -c -I/usr/
configure:9794: $? = 0
configure:9794: result: yes
configure:9808: checking for dlfcn.h
configure:9808: g++ -c -I/usr/
configure:9808: $? = 0
configure:9808: result: yes
configure:10024: checking for objdir
configure:10039: result: .libs
configure:10310: checking if gcc supports -fno-rtti -fno-exceptions
configure:10328: gcc -c -I/usr/
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:10332: $? = 0
configure:10345: result: no
configure:10672: checking for gcc option to produce PIC
configure:10679: result: -fno-common -DPIC
configure:10687: checking if gcc PIC flag -fno-common -DPIC works
configure:10705: gcc -c -I/usr/
configure:10709: $? = 0
configure:10722: result: yes
configure:10751: checking if gcc static flag -static works
configure:10779: result: no
configure:10794: checking if gcc supports -c -o file.o
configure:10815: gcc -c -I/usr/
configure:10819: $? = 0
configure:10841: result: yes
configure:10849: checking if gcc supports -c -o file.o
configure:10896: result: yes
configure:10929: checking whether the gcc linker (/usr/libexec/
configure:12082: result: yes
configure:12322: checking dynamic linker characteristics
configure:13055: result: darwin10.8.0 dyld
configure:13162: checking how to hardcode library paths into programs
configure:13187: result: immediate
configure:13727: checking whether stripping libraries is possible
configure:13741: result: yes
configure:13767: checking if libtool supports shared libraries
configure:13769: result: yes
configure:13772: checking whether to build shared libraries
configure:13793: result: yes
configure:13796: checking whether to build static libraries
configure:13800: result: yes
configure:13823: checking how to run the C++ preprocessor
configure:13850: g++ -E conftest.cpp
configure:13850: $? = 0
configure:13864: g++ -E conftest.cpp
conftest.cpp:24:28: error: ac_nonexistent.h: No such file or directory
configure:13864: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:13889: result: g++ -E
configure:13909: g++ -E conftest.cpp
configure:13909: $? = 0
configure:13923: g++ -E conftest.cpp
conftest.cpp:24:28: error: ac_nonexistent.h: No such file or directory
configure:13923: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:14092: checking for ld used by g++
configure:14159: result: /usr/libexec/
configure:14166: checking if the linker (/usr/libexec/
configure:14181: result: no
configure:14236: checking whether the g++ linker (/usr/libexec/
configure:15241: result: yes
configure:15277: g++ -c -I/usr/
configure:15280: $? = 0
configure:15800: checking for g++ option to produce PIC
configure:15807: result: -fno-common -DPIC
configure:15815: checking if g++ PIC flag -fno-common -DPIC works
configure:15833: g++ -c -I/usr/
configure:15837: $? = 0
configure:15850: result: yes
configure:15873: checking if g++ static flag -static works
configure:15901: result: no
configure:15913: checking if g++ supports -c -o file.o
configure:15934: g++ -c -I/usr/
configure:15938: $? = 0
configure:15960: result: yes
configure:15965: checking if g++ supports -c -o file.o
configure:16012: result: yes
configure:16042: checking whether the g++ linker (/usr/libexec/
configure:16078: result: yes
configure:16219: checking dynamic linker characteristics
configure:16886: result: darwin10.8.0 dyld
configure:16939: checking how to hardcode library paths into programs
configure:16964: result: immediate
configure:17068: checking for ranlib
configure:17095: result: ranlib
configure:17118: checking whether ln -s works
configure:17122: result: yes
configure:17129: checking whether make sets $(MAKE)
configure:17151: result: yes
configure:17167: checking locale.h usability
configure:17167: g++ -c -I/usr/
configure:17167: $? = 0
configure:17167: result: yes
configure:17167: checking locale.h presence
configure:17167: g++ -E conftest.cpp
configure:17167: $? = 0
configure:17167: result: yes
configure:17167: checking for locale.h
configure:17167: result: yes
configure:17179: checking for stdbool.h that conforms to C99
configure:17246: g++ -c -I/usr/
configure:17246: $? = 0
configure:17253: result: yes
configure:17255: checking for _Bool
configure:17255: g++ -c -I/usr/
conftest.cpp: In function 'int main()':
conftest.cpp:61: error: '_Bool' was not declared in this scope
configure:17255: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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 HAVE_LOCALE_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof (_Bool))
| return 0;
| ;
| return 0;
| }
configure:17255: result: no
configure:17271: checking for an ANSI C-conforming const
configure:17336: g++ -c -I/usr/
configure:17336: $? = 0
configure:17343: result: yes
configure:17351: checking for inline
configure:17367: g++ -c -I/usr/
configure:17367: $? = 0
configure:17375: result: inline
configure:17393: checking for int16_t
configure:17393: g++ -c -I/usr/
configure:17393: $? = 0
configure:17393: g++ -c -I/usr/
conftest.cpp: In function 'int main()':
conftest.cpp:64: error: size of array 'test_array' is negative
configure:17393: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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 HAVE_LOCALE_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| enum { N = 16 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1)
| < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:17393: result: yes
configure:17404: checking for int32_t
configure:17404: g++ -c -I/usr/
configure:17404: $? = 0
configure:17404: g++ -c -I/usr/
conftest.cpp: In function 'int main()':
conftest.cpp:64: error: size of array 'test_array' is negative
configure:17404: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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 HAVE_LOCALE_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| enum { N = 32 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:17404: result: yes
configure:17415: checking for int64_t
configure:17415: g++ -c -I/usr/
configure:17415: $? = 0
configure:17415: g++ -c -I/usr/
conftest.cpp: In function 'int main()':
conftest.cpp:64: error: size of array 'test_array' is negative
configure:17415: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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 HAVE_LOCALE_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| enum { N = 64 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1)
| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:17415: result: yes
configure:17426: checking for int8_t
configure:17426: g++ -c -I/usr/
configure:17426: $? = 0
configure:17426: g++ -c -I/usr/
conftest.cpp: In function 'int main()':
conftest.cpp:64: error: size of array 'test_array' is negative
configure:17426: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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 HAVE_LOCALE_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| enum { N = 8 / 2 - 1 };
| int
| main ()
| {
| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1)
| < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))];
| test_array [0] = 0
|
| ;
| return 0;
| }
configure:17426: result: yes
configure:17437: checking for size_t
configure:17437: g++ -c -I/usr/
configure:17437: $? = 0
configure:17437: g++ -c -I/usr/
conftest.cpp: In function 'int main()':
conftest.cpp:62: error: expected primary-expression before ')' token
configure:17437: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pytave"
| #define PACKAGE_TARNAME "pytave"
| #define PACKAGE_VERSION "dev"
| #define PACKAGE_STRING "pytave dev"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL ""
| #define HAVE_PYTHON "2.7"
| #define HAVE_BOOST_PYTHON /**/
| #define PACKAGE "pytave"
| #define VERSION "dev"
| #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 HAVE_LOCALE_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:17437: result: yes
configure:17448: checking for uint16_t
configure:17448: g++ -c -I/usr/
configure:17448: $? = 0
configure:17448: result: yes
configure:17460: checking for uint32_t
configure:17460: g++ -c -I/usr/
configure:17460: $? = 0
configure:17460: result: yes
configure:17474: checking for uint8_t
configure:17474: g++ -c -I/usr/
configure:17474: $? = 0
configure:17474: result: yes
configure:17492: checking for uselocale
configure:17492: g++ -o conftest -I/usr/
configure:17492: $? = 0
configure:17492: result: yes
configure:20204:
=======
One or more library dependencies could not be resolved.
Missing dependencies:
NumPy development files
Configuration failed. Halt.
Dependencies
Octave ............. /opt/local/
Python ............. -I/opt/
executable ....... /Library/
Python boost ....... boost_python
Features
matrix interface ... numpy
uselocale .......... yes
=======
configure:20240: error: Configuration failure. Halt.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_boost_
ac_cv_build=
ac_cv_c_
ac_cv_c_const=yes
ac_cv_c_
ac_cv_c_int16_t=yes
ac_cv_c_int32_t=yes
ac_cv_c_int64_t=yes
ac_cv_c_int8_t=yes
ac_cv_c_
ac_cv_c_
ac_cv_c_uint8_t=yes
ac_cv_cxx_
ac_cv_env_CCC_set=
ac_cv_env_
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_CPP_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_CXX_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_LIBS_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_func_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_header_
ac_cv_host=
ac_cv_lib_
ac_cv_objext=o
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_path_
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_
ac_cv_prog_
ac_cv_type__Bool=no
ac_cv_type_
am_cv_CC_
am_cv_CXX_
ax_octave_
ax_python_
lt_cv_apple_
lt_cv_ar_at_file=no
lt_cv_deplibs_
lt_cv_file_
lt_cv_file_
lt_cv_ld_
lt_cv_ld_
lt_cv_ld_
lt_cv_nm_
lt_cv_objdir=.libs
lt_cv_path_
lt_cv_path_
lt_cv_path_
lt_cv_path_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_prog_
lt_cv_sharedlib
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_sys_
lt_cv_to_
lt_cv_to_
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Volumes/
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='ar'
AUTOCONF='${SHELL} /Volumes/
AUTOHEADER=
AUTOMAKE='${SHELL} /Volumes/
AWK='gawk'
BOOST_PYTHON_
CC='gcc'
CCDEPMODE=
CFLAGS=
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE=
CXXFLAGS=
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='
EXEEXT=''
FGREP='
GREP='/
INSTALL_
INSTALL_
INSTALL_
INSTALL_
JAM_LIBCRUFT=
JAM_LIBOCTAVE=
JAM_LIBOCTINTER
LD='/usr/
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /Volumes/
MANIFEST_TOOL=':'
MKDIR_P=
NM='/usr/bin/nm'
NMEDIT='nmedit'
NUMPY_INCLUDEDIR=''
OBJDUMP='false'
OBJEXT='o'
OCTAVE_
OCTAVE_
OCTAVE_
OCTAVE_
OCTAVE_
OTOOL64=':'
OTOOL='otool'
PACKAGE='pytave'
PACKAGE_BUGREPORT='https:/
PACKAGE_
PACKAGE_
PACKAGE_
PACKAGE_URL=''
PACKAGE_
PATH_SEPARATOR=':'
PYTAVE_
PYTAVE_
PYTHON=
PYTHON_
PYTHON_
PYTHON_EXTRA_LIBS=' -ldl -framework CoreFoundation'
PYTHON_
PYTHON_
PYTHON_
PYTHON_
PYTHON_VERSION=''
RANLIB='ranlib'
SED='/opt/
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='dev'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_
am__fastdepCC_
am__fastdepCXX_
am__fastdepCXX_
am__include=
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar=
am__untar=
ax_octave_
ax_octave_
bindir=
build='
build_alias=''
build_cpu='x86_64'
build_os=
build_vendor=
datadir=
datarootdir=
docdir=
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_
host_alias=''
host_cpu='x86_64'
host_os=
host_vendor='apple'
htmldir='${docdir}'
includedir=
infodir=
install_
libdir=
libexecdir=
localedir=
localstatedir=
mandir=
mkdir_p=
oldincludedir=
pdfdir='${docdir}'
prefix='NONE'
program_
psdir='${docdir}'
sbindir=
sharedstatedir=
sysconfdir=
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "pytave"
#define PACKAGE_TARNAME "pytave"
#define PACKAGE_VERSION "dev"
#define PACKAGE_STRING "pytave dev"
#define PACKAGE_BUGREPORT "https:/
#define PACKAGE_URL ""
#define HAVE_PYTHON "2.7"
#define HAVE_BOOST_PYTHON /**/
#define PACKAGE "pytave"
#define VERSION "dev"
#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 HAVE_LOCALE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_USELOCALE 1
configure: exit 1
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Pytave Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- David Grundberg
- Solved:
- Last query:
- Last reply: