Python bindings on Mac OS 10.9

R. Victor Klassen rvklassen at gmail.com
Thu Feb 13 09:08:29 EST 2014


Not terribly enlightening.

The first error I found was of the form:

#include <minix/config.h>
         ^
1 error generated.
configure:4706: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.0"
| #define PACKAGE_STRING "GnuCash 2.6.0"
| #define PACKAGE_BUGREPORT "gnucash-devel at gnucash.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gnucash"
| #define VERSION "2.6.0"
| #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
| /* end confdefs.h.  */
| #include <minix/config.h>

Also…

configure:5292: checking for XML::Parser
configure:5295: result: ok
configure:5320: gcc -o conftest -g -O2   conftest.c  >&5
Undefined symbols for architecture x86_64:
  "__nl_msg_cat_cntr", referenced from:
      _main in conftest-2MtaNn.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5320: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCash"
| #define PACKAGE_TARNAME "gnucash"
| #define PACKAGE_VERSION "2.6.0"
| #define PACKAGE_STRING "GnuCash 2.6.0"
| #define PACKAGE_BUGREPORT "gnucash-devel at gnucash.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gnucash"
| #define VERSION "2.6.0"
| #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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| extern int _nl_msg_cat_cntr;
|                        return _nl_msg_cat_cntr
|   ;
|   return 0;
| }

And a similar complaint about libintl.h

And <ac_nonexistent.h>

And <pow.h>

And <dl.h>

And <mcheck.h>

All of the above, I can’t tell whether they're real issues, or just diagnostic tests.

Just before the ##———————---##
                         ## Cache variables. ##

section, I found:

configure:20503: checking for guile-1.8 >= 1.8.5
configure:20507: result: yes
configure:20511: checking GUILE_CFLAGS
configure:20514: result: -D_THREAD_SAFE -I/Users/victor/gnucash-stable/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include
configure:20517: checking GUILE_LIBS
configure:20520: result: -L/Users/victor/gnucash-stable/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib -lguile -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -Wl,-headerpad_max_install_names -lgmp -lm -lltdl
configure:20544: checking for guile
configure:20577: result: no
configure:20583: error: guile required but not found


which was about as informative as the message it produced at the terminal.



On Feb 12, 2014, at 8:04 PM, John Ralls <jralls at ceridwen.us> wrote:

> 
> On Feb 12, 2014, at 3:51 PM, R. Victor Klassen <rvklassen at gmail.com> wrote:
> 
>> We’re clearly getting closer.
>> 
>> I got through the jhbuild.
>> 
>> So next thing I tried was to run configure within the gnucash-2.6.0 directory.
>> 
>> It got as far as checking for guile, and …
>> 
>> checking for guile-1.8 >= 1.8.5... yes
>> checking GUILE_CFLAGS... -D_THREAD_SAFE -I/Users/victor/gnucash-stable/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include
>> checking GUILE_LIBS... -L/Users/victor/gnucash-stable/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib -lguile -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -Wl,-headerpad_max_install_names -lgmp -lm -lltdl 
>> checking for guile... no
>> configure: error: guile required but not found
>> 
>> So, I’m not sure what’s up with this.  It found a guile-1.8, but no guile?  Don’t know whether it’s an issue with configure or whether there’s still something missing.
> 
> Any error in compiling a configure test will cause it to say that, so you have to look at config.log to find out what actually happened.
> 
> Regards,
> John Ralls



More information about the gnucash-user mailing list