Compiling method and mysql on OSX

Benjamin Martens bdmartens at gmail.com
Thu Oct 3 22:48:04 EDT 2013


Thanks Derek and John for your previous replies.

I finally got some time on the Mac again, and again am running into
problems.  I've caved, and pasted the output from my terminal application
at the bottom, and hopefully someone can point me to what I'm missing.  I
have the feeling this should be straight forward and am missing something
obvious.  I keep on getting errors that make it seem like either a lot of
configuration options / scripts are wrong, I'm missing some common
dependency, or I haven't set a variable in the .jhbuildrc-custom file
correctly.

My mySQL portion of the .jhbuild-custom file is the only portion I've
modified, and it is:
#If you wish to enable the mysql backend, uncomment the lines below.
#MySQL requires CMake 2.6.0 or later to build, so the libmysql module
#has a dependency on cmake which will be built by default. If you
#already have CMake installed on the path, add "skip.append("cmake")
#somewhere in this file.
#skip.append("cmake")
_gc_module=modules[-1]
modules[-1]="mysql"
modules.append(_gc_module)
module_extra_env["mysql"] = { "CMAKE_INSTALL_PREFIX":  prefix }
append_autogenargs("libdbi-drivers", "--with-mysql --with-mysql-incdir=" +
prefix + "/mysql-connector-c/include --with-mysql-libdir=" + prefix +
"/mysql-connector-c/lib")

As you can see, I pasted the mysql-connector-c files into the
gnucash-stable directory, and have the include and lib directories correct
within that, I believe.

---

Thanks so much for your direction!


---
Terminal paste:
---

macintosh:~ macuser$ jhbuild build libdbi-drivers

*** Checking out libdbi *** [1/2]

*** Configuring libdbi *** [1/2]

autoreconf -fi

aclocal: warning: autoconf input should be named 'configure.ac', not '
configure.in'

configure.in:6: error: 'AM_CONFIG_HEADER': this macro is obsolete.

    You should use the 'AC_CONFIG_HEADERS' macro instead.

/Users/macuser/gnucash-stable/share/aclocal-1.13/obsolete-err.m4:12:
AM_CONFIG_HEADER is expanded from...

configure.in:6: the top level

autom4te: /Users/macuser/gnucash-stable/bin/m4 failed with exit status: 1

aclocal: error: echo failed with exit status: 1

autoreconf: aclocal failed with exit status: 1

*** Error during phase configure of libdbi: ########## Error running
autoreconf -fi *** [1/2]


************

Here I re-ran jhbuild build libdbi-drivers after searching for a
configure.in (14 of these files) and modified the one that was in
gtk/source/libdbi-0.8.3/ to use AC_CONFIG_HEADERS .  This seemed to get me
past the first problem, but ran into further complications.

************




*** Configuring libdbi *** [1/2]

autoreconf -fi

aclocal: warning: autoconf input should be named 'configure.ac', not '
configure.in'

libtoolize: putting auxiliary files in `.'.

libtoolize: copying file `./ltmain.sh'

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
configuråe.in<http://xn--configure-d3a.in>and

libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.

libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

aclocal: warning: autoconf input should be named 'configure.ac', not '
configure.in'

automake: warning: autoconf input should be named 'configure.ac', not '
configure.in'

configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms
are deprecated.  For more info, see:

configure.in:5:
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation

automake: warning: autoconf input should be named 'configure.ac', not '
configure.in'

src/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS'
(or '*_CPPFLAGS')

./configure --prefix /Users/macuser/gnucash-stable --libdir
'/Users/macuser/gnucash-stable/lib' --disable-docs

checking whether to enable maintainer-specific portions of Makefiles... no

checking for a BSD-compatible install...
/Users/macuser/.local/bin/install-check

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... ./install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... no

checking for awk... awk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

checking build system type... x86_64-apple-darwin10.8.0

checking host system type... x86_64-apple-darwin10.8.0

checking for gcc... /Developer/usr/bin/gcc-4.2

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking 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 /Developer/usr/bin/gcc-4.2 accepts -g... yes

checking for /Developer/usr/bin/gcc-4.2 option to accept ISO C89... none
needed

checking for style of include used by make... GNU

checking dependency style of /Developer/usr/bin/gcc-4.2... gcc3

checking how to run the C preprocessor... /Developer/usr/bin/gcc-4.2 -E

checking for a sed that does not truncate output... /usr/bin/sed

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for fgrep... /usr/bin/grep -F

checking how to print strings... printf

checking for ld used by /Developer/usr/bin/gcc-4.2...
/Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld

checking if the linker
(/Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm

checking the name lister (/usr/bin/nm) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 196608

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert x86_64-apple-darwin10.8.0 file names to
x86_64-apple-darwin10.8.0 format... func_convert_file_noop

checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain
format... func_convert_file_noop

checking for /Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option
to reload object files... -r

checking for objdump... no

checking how to recognize dependent libraries... pass_all

checking for dlltool... no

checking how to associate runtime and link libraries... printf %s\n

checking for ar... ar

checking for archiver @FILE support... no

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm output from
/Developer/usr/bin/gcc-4.2 object... ok

checking for sysroot... no

checking for mt... no

checking if : is a manifest tool... no

checking for dsymutil... dsymutil

checking for nmedit... nmedit

checking for lipo... lipo

checking for otool... otool

checking for otool64... no

checking for -single_module linker flag... yes

checking for -exported_symbols_list linker flag... yes

checking for -force_load linker flag... yes

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if /Developer/usr/bin/gcc-4.2 supports -fno-rtti
-fno-exceptions... no

checking for /Developer/usr/bin/gcc-4.2 option to produce PIC...
-fno-common -DPIC

checking if /Developer/usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works...
yes

checking if /Developer/usr/bin/gcc-4.2 static flag -static works... no

checking if /Developer/usr/bin/gcc-4.2 supports -c -o file.o... yes

checking if /Developer/usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes

checking whether the /Developer/usr/bin/gcc-4.2 linker
(/Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
libraries... yes

checking dynamic linker characteristics... darwin10.8.0 dyld

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

checking mach-o/dyld.h usability... yes

checking mach-o/dyld.h presence... yes

checking for mach-o/dyld.h... yes

checking for NSLinkModule... yes

checking for strtoll... yes

checking for atoll... yes

checking for timegm... yes

checking for vasprintf... yes

checking for asprintf... yes

checking for string.h... (cached) yes

checking for strings.h... (cached) yes

checking that generated files are newer than configure... done

configure: creating ./config.status

config.status: creating include/dbi/dbi.h

config.status: creating libdbi.spec

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating doc/Makefile

config.status: creating include/Makefile

config.status: creating include/dbi/Makefile

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands

*** Building libdbi *** [1/2]

make -j 3

make  all-recursive

Making all in src

/bin/sh ../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbi_main.lo -MD -MP -MF .deps/dbi_main.Tpo -c
-o dbi_main.lo dbi_main.c

/bin/sh ../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbi_result.lo -MD -MP -MF .deps/dbi_result.Tpo
-c -o dbi_result.lo dbi_result.c

/bin/sh ../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbd_helper.lo -MD -MP -MF .deps/dbd_helper.Tpo
-c -o dbd_helper.lo dbd_helper.c

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbi_result.lo -MD -MP -MF .deps/dbi_result.Tpo
-c dbi_result.c  -fno-common -DPIC -o .libs/dbi_result.o

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbi_main.lo -MD -MP -MF .deps/dbi_main.Tpo -c
dbi_main.c  -fno-common -DPIC -o .libs/dbi_main.o

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbd_helper.lo -MD -MP -MF .deps/dbd_helper.Tpo
-c dbd_helper.c  -fno-common -DPIC -o .libs/dbd_helper.o

dbi_main.c: In function 'dyld_dlopen':

dbi_main.c:1547: warning: 'NSCreateObjectFileImageFromFile' is deprecated
(declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:145)

dbi_main.c:1550: warning: 'NSLinkModule' is deprecated (declared at
/Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:161)

dbi_main.c:1551: warning: 'NSDestroyObjectFileImage' is deprecated
(declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:147)

dbi_main.c: In function 'dyld_dlsym':

dbi_main.c:1558: warning: 'NSLookupSymbolInModule' is deprecated (declared
at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:181)

dbi_main.c:1561: warning: 'NSAddressOfSymbol' is deprecated (declared at
/Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:188)

dbi_main.c: In function 'dyld_dlclose':

dbi_main.c:1569: warning: 'NSUnLinkModule' is deprecated (declared at
/Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:169)

dbi_main.c: In function 'dyld_dlerror':

dbi_main.c:1583: warning: 'NSLinkEditError' is deprecated (declared at
/Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:217)

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbd_helper.lo -MD -MP -MF .deps/dbd_helper.Tpo
-c dbd_helper.c -o dbd_helper.o >/dev/null 2>&1

mv -f .deps/dbd_helper.Tpo .deps/dbd_helper.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT atoll.lo -MD -MP -MF .deps/atoll.Tpo -c -o
atoll.lo atoll.c

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT atoll.lo -MD -MP -MF .deps/atoll.Tpo -c
atoll.c  -fno-common -DPIC -o .libs/atoll.o

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT atoll.lo -MD -MP -MF .deps/atoll.Tpo -c
atoll.c -o atoll.o >/dev/null 2>&1

mv -f .deps/atoll.Tpo .deps/atoll.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT asprintf.lo -MD -MP -MF .deps/asprintf.Tpo -c
-o asprintf.lo asprintf.c

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT asprintf.lo -MD -MP -MF .deps/asprintf.Tpo -c
asprintf.c  -fno-common -DPIC -o .libs/asprintf.o

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT asprintf.lo -MD -MP -MF .deps/asprintf.Tpo -c
asprintf.c -o asprintf.o >/dev/null 2>&1

mv -f .deps/asprintf.Tpo .deps/asprintf.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT timegm.lo -MD -MP -MF .deps/timegm.Tpo -c -o
timegm.lo timegm.c

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT timegm.lo -MD -MP -MF .deps/timegm.Tpo -c
timegm.c  -fno-common -DPIC -o .libs/timegm.o

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT timegm.lo -MD -MP -MF .deps/timegm.Tpo -c
timegm.c -o timegm.o >/dev/null 2>&1

mv -f .deps/timegm.Tpo .deps/timegm.Plo

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbi_main.lo -MD -MP -MF .deps/dbi_main.Tpo -c
dbi_main.c -o dbi_main.o >/dev/null 2>&1

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
-I../include -DDBI_DRIVER_DIR=\"/Users/macuser/gnucash-stable/lib/dbd\"
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -O20 -D__NO_MATH_INLINES
-fsigned-char -std=gnu99 -MT dbi_result.lo -MD -MP -MF .deps/dbi_result.Tpo
-c dbi_result.c -o dbi_result.o >/dev/null 2>&1

mv -f .deps/dbi_main.Tpo .deps/dbi_main.Plo

mv -f .deps/dbi_result.Tpo .deps/dbi_result.Plo

/bin/sh ../libtool  --tag=CC   --mode=link /Developer/usr/bin/gcc-4.2  -O20
-D__NO_MATH_INLINES -fsigned-char -std=gnu99 -version-info 0:5:0
-no-undefined -L/Users/macuser/gnucash-stable/lib
-L/Users/macuser/gnucash-stable/lib -arch x86_64
-L/Developer/SDKs/MacOSX10.6.sdk/usr/lib -isysroot
/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6
-Wl,-headerpad_max_install_names -o libdbi.la -rpath
/Users/macuser/gnucash-stable/lib dbi_main.lo dbi_result.lo dbd_helper.lo
atoll.lo asprintf.lo timegm.lo  -lm

libtool: link: /Developer/usr/bin/gcc-4.2 -dynamiclib  -o
.libs/libdbi.0.dylib  .libs/dbi_main.o .libs/dbi_result.o
.libs/dbd_helper.o .libs/atoll.o .libs/asprintf.o .libs/timegm.o
-L/Users/macuser/gnucash-stable/lib
-L/Developer/SDKs/MacOSX10.6.sdk/usr/lib -lm  -O20 -arch x86_64 -isysroot
/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6
-Wl,-headerpad_max_install_names   -install_name
/Users/macuser/gnucash-stable/lib/libdbi.0.dylib -compatibility_version 1
-current_version 1.5 -Wl,-single_module

libtool: link: (cd ".libs" && rm -f "libdbi.dylib" && ln -s
"libdbi.0.dylib" "libdbi.dylib")

libtool: link: ar cru .libs/libdbi.a  dbi_main.o dbi_result.o dbd_helper.o
atoll.o asprintf.o timegm.o

ranlib: file: .libs/libdbi.a(atoll.o) has no symbols

ranlib: file: .libs/libdbi.a(asprintf.o) has no symbols

ranlib: file: .libs/libdbi.a(timegm.o) has no symbols

libtool: link: ranlib .libs/libdbi.a

ranlib: file: .libs/libdbi.a(atoll.o) has no symbols

ranlib: file: .libs/libdbi.a(asprintf.o) has no symbols

ranlib: file: .libs/libdbi.a(timegm.o) has no symbols

libtool: link: ( cd ".libs" && rm -f "libdbi.la" && ln -s "../libdbi.la" "
libdbi.la" )

Making all in include

Making all in dbi

make[3]: Nothing to be done for `all'.

make[3]: Nothing to be done for `all-am'.

make[2]: Nothing to be done for `all-am'.

*** Installing libdbi *** [1/2]

make install DESTDIR=/Users/macuser/gnucash-stable/_jhbuild/root-libdbi

Making install in src

 .././install-sh -c -d
'/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib'

 /bin/sh ../libtool   --mode=install
/Users/macuser/.local/bin/install-check
libdbi.la'/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib'

libtool: install: /Users/macuser/.local/bin/install-check
.libs/libdbi.0.dylib
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.0.dylib

libtool: install: (cd
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib
&& { ln -s -f libdbi.0.dylib libdbi.dylib || { rm -f libdbi.dylib && ln -s
libdbi.0.dylib libdbi.dylib; }; })

libtool: install: /Users/macuser/.local/bin/install-check .libs/libdbi.lai
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/
libdbi.la

libtool: install: /Users/macuser/.local/bin/install-check .libs/libdbi.a
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.a

libtool: install: chmod 644
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.a

libtool: install: ranlib
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.a

ranlib: file:
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.a(atoll.o)
has no symbols

ranlib: file:
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.a(asprintf.o)
has no symbols

ranlib: file:
/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/libdbi.a(timegm.o)
has no symbols

libtool: install: warning: remember to run `libtool --finish
/Users/macuser/gnucash-stable/lib'

make[2]: Nothing to be done for `install-data-am'.

Making install in include

Making install in dbi

make[3]: Nothing to be done for `install-exec-am'.

 ../.././install-sh -c -d
'/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/include/dbi'

 /Users/macuser/.local/bin/install-check -m 644 dbi.h dbi-dev.h dbd.h
'/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/include/dbi'

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

make[2]: Nothing to be done for `install-exec-am'.

make[2]: Nothing to be done for `install-data-am'.

I: Deleting .la file:
u'/Users/macuser/gnucash-stable/_jhbuild/root-libdbi/Users/macuser/gnucash-stable/lib/
libdbi.la'

I: Moving temporary DESTDIR
u'/Users/macuser/gnucash-stable/_jhbuild/root-libdbi' into build prefix

I: Install complete: 6 files copied

*** Checking out libdbi-drivers *** [2/2]

curl --continue-at - -L
http://downloads.sourceforge.net/libdbi-drivers/libdbi-drivers-0.8.3-1.tar.gz-o
/Users/macuser/gtk/source/pkgs/libdbi-drivers-0.8.3-1.tar.gz

  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current

                                 Dload  Upload   Total   Spent    Left
Speed

100 1498k  100 1498k    0     0  1130k      0  0:00:01  0:00:01 --:--:--
3604k

gzip -dc "/Users/macuser/gtk/source/pkgs/libdbi-drivers-0.8.3-1.tar.gz" |
tar xf -

*** Applying patch
https://raw.github.com/jralls/gnucash-on-osx/master/patches/dbi-drv.patch***
[2/2]

patch -p1 < "/Users/macuser/.cache/jhbuild/dbi-drv.patch"

patching file configure.in

*** Configuring libdbi-drivers *** [2/2]

autoreconf -fi

aclocal: warning: autoconf input should be named 'configure.ac', not '
configure.in'

configure.in:100: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body

../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...

../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...

acinclude.m4:420: AC_CHECK_FIREBIRD_INTERBASE is expanded from...

configure.in:100: the top level

configure.in:100: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body

../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...

../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...

acinclude.m4:420: AC_CHECK_FIREBIRD_INTERBASE is expanded from...

configure.in:100: the top level

libtoolize: putting auxiliary files in `.'.

libtoolize: copying file `./ltmain.sh'

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and

libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.

libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

aclocal: warning: autoconf input should be named 'configure.ac', not '
configure.in'

configure.in:100: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body

../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...

../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...

acinclude.m4:420: AC_CHECK_FIREBIRD_INTERBASE is expanded from...

configure.in:100: the top level

configure.in:100: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body

../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...

../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...

acinclude.m4:420: AC_CHECK_FIREBIRD_INTERBASE is expanded from...

configure.in:100: the top level

configure.in:100: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body

../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...

../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...

acinclude.m4:420: AC_CHECK_FIREBIRD_INTERBASE is expanded from...

configure.in:100: the top level

automake: warning: autoconf input should be named 'configure.ac', not '
configure.in'

configure.in:100: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body

../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...

../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...

acinclude.m4:420: AC_CHECK_FIREBIRD_INTERBASE is expanded from...

configure.in:100: the top level

configure.in:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms
are deprecated.  For more info, see:

configure.in:5:
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation

drivers/firebird/Makefile.am:10: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and
HAVE_FIREBIRD_INTERBASE ...

configure.in:2: ... 'docdir' previously defined here

drivers/firebird/Makefile.am:11: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and
HAVE_FIREBIRD_INTERBASE ...

configure.in:2: ... 'htmldir' previously defined here

drivers/firebird/Makefile.am:15: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and
HAVE_FIREBIRD_INTERBASE ...

configure.in:2: ... 'docdir' previously defined here

drivers/firebird/Makefile.am:16: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and
HAVE_FIREBIRD_INTERBASE ...

configure.in:2: ... 'htmldir' previously defined here

drivers/firebird/Makefile.am:33: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

automake: warning: autoconf input should be named 'configure.ac', not '
configure.in'

drivers/freetds/Makefile.am:7: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_FREETDS ...

configure.in:2: ... 'docdir' previously defined here

drivers/freetds/Makefile.am:8: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_FREETDS ...

configure.in:2: ... 'htmldir' previously defined here

drivers/freetds/Makefile.am:12: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_FREETDS ...

configure.in:2: ... 'docdir' previously defined here

drivers/freetds/Makefile.am:13: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_FREETDS ...

configure.in:2: ... 'htmldir' previously defined here

drivers/freetds/Makefile.am:22: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_FREETDS ...

drivers/freetds/Makefile.am:12: ... 'docdir' previously defined here

drivers/freetds/Makefile.am:23: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_FREETDS ...

drivers/freetds/Makefile.am:13: ... 'htmldir' previously defined here

drivers/freetds/Makefile.am:33: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/ingres/Makefile.am:6: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_INGRES ...

configure.in:2: ... 'docdir' previously defined here

drivers/ingres/Makefile.am:7: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_INGRES ...

configure.in:2: ... 'htmldir' previously defined here

drivers/ingres/Makefile.am:11: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_INGRES ...

drivers/ingres/Makefile.am:6: ... 'docdir' previously defined here

drivers/ingres/Makefile.am:12: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_INGRES ...

drivers/ingres/Makefile.am:7: ... 'htmldir' previously defined here

drivers/ingres/Makefile.am:23: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_INGRES ...

drivers/ingres/Makefile.am:11: ... 'docdir' previously defined here

drivers/ingres/Makefile.am:24: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_INGRES ...

drivers/ingres/Makefile.am:12: ... 'htmldir' previously defined here

drivers/ingres/Makefile.am:34: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/msql/Makefile.am:8: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_MSQL ...

configure.in:2: ... 'docdir' previously defined here

drivers/msql/Makefile.am:9: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_MSQL ...

configure.in:2: ... 'htmldir' previously defined here

drivers/msql/Makefile.am:13: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_MSQL ...

drivers/msql/Makefile.am:8: ... 'docdir' previously defined here

drivers/msql/Makefile.am:14: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_MSQL ...

drivers/msql/Makefile.am:9: ... 'htmldir' previously defined here

drivers/msql/Makefile.am:25: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_MSQL ...

drivers/msql/Makefile.am:8: ... 'docdir' previously defined here

drivers/msql/Makefile.am:26: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_MSQL ...

drivers/msql/Makefile.am:9: ... 'htmldir' previously defined here

drivers/msql/Makefile.am:36: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/mysql/Makefile.am:8: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_MYSQL ...

configure.in:2: ... 'docdir' previously defined here

drivers/mysql/Makefile.am:9: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_MYSQL ...

configure.in:2: ... 'htmldir' previously defined here

drivers/mysql/Makefile.am:13: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_MYSQL ...

drivers/mysql/Makefile.am:8: ... 'docdir' previously defined here

drivers/mysql/Makefile.am:14: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_MYSQL ...

drivers/mysql/Makefile.am:9: ... 'htmldir' previously defined here

drivers/mysql/Makefile.am:25: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_MYSQL ...

drivers/mysql/Makefile.am:8: ... 'docdir' previously defined here

drivers/mysql/Makefile.am:26: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_MYSQL ...

drivers/mysql/Makefile.am:9: ... 'htmldir' previously defined here

drivers/mysql/Makefile.am:36: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/oracle/Makefile.am:8: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_ORACLE ...

configure.in:2: ... 'docdir' previously defined here

drivers/oracle/Makefile.am:9: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_ORACLE ...

configure.in:2: ... 'htmldir' previously defined here

drivers/oracle/Makefile.am:13: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_ORACLE ...

configure.in:2: ... 'docdir' previously defined here

drivers/oracle/Makefile.am:14: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_ORACLE ...

configure.in:2: ... 'htmldir' previously defined here

drivers/oracle/Makefile.am:25: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_ORACLE ...

drivers/oracle/Makefile.am:13: ... 'docdir' previously defined here

drivers/oracle/Makefile.am:26: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_ORACLE ...

drivers/oracle/Makefile.am:14: ... 'htmldir' previously defined here

drivers/oracle/Makefile.am:36: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/pgsql/Makefile.am:6: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_PGSQL ...

configure.in:2: ... 'docdir' previously defined here

drivers/pgsql/Makefile.am:7: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_PGSQL ...

configure.in:2: ... 'htmldir' previously defined here

drivers/pgsql/Makefile.am:11: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_PGSQL ...

drivers/pgsql/Makefile.am:6: ... 'docdir' previously defined here

drivers/pgsql/Makefile.am:12: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_PGSQL ...

drivers/pgsql/Makefile.am:7: ... 'htmldir' previously defined here

drivers/pgsql/Makefile.am:23: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_PGSQL ...

drivers/pgsql/Makefile.am:11: ... 'docdir' previously defined here

drivers/pgsql/Makefile.am:24: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_PGSQL ...

drivers/pgsql/Makefile.am:12: ... 'htmldir' previously defined here

drivers/pgsql/Makefile.am:34: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/sqlite/Makefile.am:8: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_SQLITE ...

configure.in:2: ... 'docdir' previously defined here

drivers/sqlite/Makefile.am:9: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_SQLITE ...

configure.in:2: ... 'htmldir' previously defined here

drivers/sqlite/Makefile.am:13: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_SQLITE ...

drivers/sqlite/Makefile.am:8: ... 'docdir' previously defined here

drivers/sqlite/Makefile.am:14: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_SQLITE ...

drivers/sqlite/Makefile.am:9: ... 'htmldir' previously defined here

drivers/sqlite/Makefile.am:25: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_SQLITE ...

drivers/sqlite/Makefile.am:8: ... 'docdir' previously defined here

drivers/sqlite/Makefile.am:26: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_SQLITE ...

drivers/sqlite/Makefile.am:9: ... 'htmldir' previously defined here

drivers/sqlite/Makefile.am:36: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

drivers/sqlite3/Makefile.am:8: warning: docdir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_SQLITE3 ...

configure.in:2: ... 'docdir' previously defined here

drivers/sqlite3/Makefile.am:9: warning: htmldir was already defined in
condition TRUE, which includes condition BUILDDOCS and HAVE_SQLITE3 ...

configure.in:2: ... 'htmldir' previously defined here

drivers/sqlite3/Makefile.am:13: warning: docdir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_SQLITE3 ...

drivers/sqlite3/Makefile.am:8: ... 'docdir' previously defined here

drivers/sqlite3/Makefile.am:14: warning: htmldir was already defined in
condition TRUE, which includes condition !BUILDDOCS and HAVE_SQLITE3 ...

drivers/sqlite3/Makefile.am:9: ... 'htmldir' previously defined here

drivers/sqlite3/Makefile.am:25: warning: docdir was already defined in
condition TRUE, which includes condition !HAVE_SQLITE3 ...

drivers/sqlite3/Makefile.am:13: ... 'docdir' previously defined here

drivers/sqlite3/Makefile.am:26: warning: htmldir was already defined in
condition TRUE, which includes condition !HAVE_SQLITE3 ...

drivers/sqlite3/Makefile.am:14: ... 'htmldir' previously defined here

drivers/sqlite3/Makefile.am:36: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')

tests/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS'
(or '*_CPPFLAGS')

parallel-tests: installing './test-driver'

./configure --prefix /Users/macuser/gnucash-stable --libdir
'/Users/macuser/gnucash-stable/lib' --with-sqlite3 --disable-docs
--with-sqlite3-incdir="/usr/include" --with-sqlite3-libdir="/usr/lib"
--with-mysql
--with-mysql-incdir=/Users/macuser/gnucash-stable/mysql-connector-c/include
--with-mysql-libdir=/Users/macuser/gnucash-stable/mysql-connector-c/lib
--with-dbi-incdir=/Users/macuser/gnucash-stable/include
--with-dbi-libdir=/Users/macuser/gnucash-stable/lib

checking whether to enable maintainer-specific portions of Makefiles... no

checking for a BSD-compatible install...
/Users/macuser/.local/bin/install-check

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... ./install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... no

checking for awk... awk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

checking build system type... x86_64-apple-darwin10.8.0

checking host system type... x86_64-apple-darwin10.8.0

checking for gcc... /Developer/usr/bin/gcc-4.2

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking 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 /Developer/usr/bin/gcc-4.2 accepts -g... yes

checking for /Developer/usr/bin/gcc-4.2 option to accept ISO C89... none
needed

checking for style of include used by make... GNU

checking dependency style of /Developer/usr/bin/gcc-4.2... gcc3

checking how to run the C preprocessor... /Developer/usr/bin/gcc-4.2 -E

checking for a sed that does not truncate output... /usr/bin/sed

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for fgrep... /usr/bin/grep -F

checking how to print strings... printf

checking for ld used by /Developer/usr/bin/gcc-4.2...
/Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld

checking if the linker
(/Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm

checking the name lister (/usr/bin/nm) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 196608

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert x86_64-apple-darwin10.8.0 file names to
x86_64-apple-darwin10.8.0 format... func_convert_file_noop

checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain
format... func_convert_file_noop

checking for /Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option
to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... pass_all

checking for dlltool... dlltool

checking how to associate runtime and link libraries... printf %s\n

checking for ar... ar

checking for archiver @FILE support... no

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm output from
/Developer/usr/bin/gcc-4.2 object... ok

checking for sysroot... no

checking for mt... no

checking if : is a manifest tool... no

checking for dsymutil... dsymutil

checking for nmedit... nmedit

checking for lipo... lipo

checking for otool... otool

checking for otool64... no

checking for -single_module linker flag... yes

checking for -exported_symbols_list linker flag... yes

checking for -force_load linker flag... yes

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if /Developer/usr/bin/gcc-4.2 supports -fno-rtti
-fno-exceptions... no

checking for /Developer/usr/bin/gcc-4.2 option to produce PIC...
-fno-common -DPIC

checking if /Developer/usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works...
yes

checking if /Developer/usr/bin/gcc-4.2 static flag -static works... no

checking if /Developer/usr/bin/gcc-4.2 supports -c -o file.o... yes

checking if /Developer/usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes

checking whether the /Developer/usr/bin/gcc-4.2 linker
(/Developer/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
libraries... yes

checking dynamic linker characteristics... darwin10.8.0 dyld

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

checking for libdbi framework... yes: headers in
/Users/macuser/gnucash-stable/include

checking for MySQL support... yes: libs in
/Users/macuser/gnucash-stable/mysql-connector-c/lib, headers in
/Users/macuser/gnucash-stable/mysql-connector-c/include

checking for PostgreSQL support... no

checking for SQLite support... no

checking for SQLite3 support... yes: libs in /usr/lib, headers in
/usr/include

checking for MiniSQL (mSQL) support... no

checking for Oracle support... no

checking for Firebird/Interbase support... no

checking for Freetds support... no

checking for Ingres support... no

checking for strtoll... yes

checking for atoll... yes

checking for vasprintf... yes

checking for asprintf... yes

checking for libdbi library... yes: libs in
/Users/macuser/gnucash-stable/lib

checking for string.h... (cached) yes

checking for strings.h... (cached) yes

checking that generated files are newer than configure... done

configure: creating ./config.status

config.status: creating libdbi.spec

config.status: creating Makefile

config.status: creating doc/Makefile

config.status: creating doc/include/Makefile

config.status: creating drivers/Makefile

config.status: creating drivers/mysql/Makefile

config.status: creating drivers/pgsql/Makefile

config.status: creating drivers/sqlite/Makefile

config.status: creating drivers/sqlite3/Makefile

config.status: creating drivers/msql/Makefile

config.status: creating drivers/oracle/Makefile

config.status: creating drivers/firebird/Makefile

config.status: creating drivers/freetds/Makefile

config.status: creating drivers/ingres/Makefile

config.status: creating tests/Makefile

config.status: creating config.h

config.status: executing depfiles commands

config.status: executing libtool commands

*** Building libdbi-drivers *** [2/2]

make -j 3

make  all-recursive

Making all in drivers

Making all in mysql

/bin/sh ../../libtool  --tag=CC   --mode=compile /Developer/usr/bin/gcc-4.2
-DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include
-I/Users/macuser/gnucash-stable/include
-I/Users/macuser/gnucash-stable/mysql-connector-c/include
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include  -arch x86_64
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot
/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -MT dbd_mysql.lo
-MD -MP -MF .deps/dbd_mysql.Tpo -c -o dbd_mysql.lo dbd_mysql.c

libtool: compile:  /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../..
-I../.. -I../../include -I/Users/macuser/gnucash-stable/include
-I/Users/macuser/gnucash-stable/mysql-connector-c/include
-I/Users/macuser/gnucash-stable/include
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -arch x86_64
-I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot
/Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -MT dbd_mysql.lo
-MD -MP -MF .deps/dbd_mysql.Tpo -c dbd_mysql.c  -fno-common -DPIC -o
.libs/dbd_mysql.o

dbd_mysql.c:54:25: error: mysql/mysql.h: No such file or directory

dbd_mysql.c:111: error: expected ')' before '*' token

dbd_mysql.c: In function 'dbd_connect':

dbd_mysql.c:134: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:134: error: (Each undeclared identifier is reported only once

dbd_mysql.c:134: error: for each function it appears in.)

dbd_mysql.c:134: error: 'mycon' undeclared (first use in this function)

dbd_mysql.c:149: error: 'CLIENT_COMPRESS' undeclared (first use in this
function)

dbd_mysql.c:151: error: 'CLIENT_FOUND_ROWS' undeclared (first use in this
function)

dbd_mysql.c:152: error: 'CLIENT_IGNORE_SPACE' undeclared (first use in this
function)

dbd_mysql.c:153: error: 'CLIENT_INTERACTIVE' undeclared (first use in this
function)

dbd_mysql.c:154: error: 'CLIENT_LOCAL_FILES' undeclared (first use in this
function)

dbd_mysql.c:155: error: 'CLIENT_MULTI_STATEMENTS' undeclared (first use in
this function)

dbd_mysql.c:156: error: 'CLIENT_MULTI_RESULTS' undeclared (first use in
this function)

dbd_mysql.c:157: error: 'CLIENT_NO_SCHEMA' undeclared (first use in this
function)

dbd_mysql.c:158: error: 'CLIENT_ODBC' undeclared (first use in this
function)

dbd_mysql.c: In function 'dbd_disconnect':

dbd_mysql.c:208: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:208: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_free_query':

dbd_mysql.c:228: error: 'MYSQL_RES' undeclared (first use in this function)

dbd_mysql.c:228: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_goto_row':

dbd_mysql.c:234: error: 'MYSQL_RES' undeclared (first use in this function)

dbd_mysql.c:234: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_get_socket':

dbd_mysql.c:242: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:242: error: 'mycon' undeclared (first use in this function)

dbd_mysql.c:242: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_get_encoding':

dbd_mysql.c:247: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:247: error: 'mycon' undeclared (first use in this function)

dbd_mysql.c:247: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_conn_quote_string':

dbd_mysql.c:466: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:466: error: 'mycon' undeclared (first use in this function)

dbd_mysql.c:466: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_quote_binary':

dbd_mysql.c:478: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:478: error: 'mycon' undeclared (first use in this function)

dbd_mysql.c:478: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_query':

dbd_mysql.c:501: error: 'MYSQL_RES' undeclared (first use in this function)

dbd_mysql.c:501: error: 'res' undeclared (first use in this function)

dbd_mysql.c:503: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:503: error: expected expression before ')' token

dbd_mysql.c:507: error: expected expression before ')' token

dbd_mysql.c:511: error: expected expression before ')' token

dbd_mysql.c:514: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_query_null':

dbd_mysql.c:523: error: 'MYSQL_RES' undeclared (first use in this function)

dbd_mysql.c:523: error: 'res' undeclared (first use in this function)

dbd_mysql.c:525: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:525: error: expected expression before ')' token

dbd_mysql.c:529: error: expected expression before ')' token

dbd_mysql.c:533: error: expected expression before ')' token

dbd_mysql.c:536: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_select_db':

dbd_mysql.c:544: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:544: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_geterror':

dbd_mysql.c:560: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:560: error: expected expression before ')' token

dbd_mysql.c:560: warning: passing argument 2 of 'strcmp' makes pointer from
integer without a cast

dbd_mysql.c:564: error: expected expression before ')' token

dbd_mysql.c:565: error: expected expression before ')' token

dbd_mysql.c:565: warning: passing argument 1 of 'strdup' makes pointer from
integer without a cast

dbd_mysql.c: In function 'dbd_get_seq_last':

dbd_mysql.c:570: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:570: error: expected expression before ')' token

dbd_mysql.c: In function 'dbd_ping':

dbd_mysql.c:578: error: 'MYSQL' undeclared (first use in this function)

dbd_mysql.c:578: error: 'mysql' undeclared (first use in this function)

dbd_mysql.c:578: error: expected expression before ')' token

dbd_mysql.c: At top level:

dbd_mysql.c:590: error: expected ')' before '*' token

dbd_mysql.c: In function '_get_field_info':

dbd_mysql.c:674: error: 'MYSQL_FIELD' undeclared (first use in this
function)

dbd_mysql.c:674: error: 'field' undeclared (first use in this function)

dbd_mysql.c:678: error: 'MYSQL_RES' undeclared (first use in this function)

dbd_mysql.c:678: error: expected expression before ')' token

dbd_mysql.c:682: error: 'UNSIGNED_FLAG' undeclared (first use in this
function)

dbd_mysql.c: In function '_get_row_data':

dbd_mysql.c:690: error: 'MYSQL_RES' undeclared (first use in this function)

dbd_mysql.c:690: error: '_res' undeclared (first use in this function)

dbd_mysql.c:691: error: 'MYSQL_ROW' undeclared (first use in this function)

dbd_mysql.c:691: error: expected ';' before '_row'

dbd_mysql.c:699: error: '_row' undeclared (first use in this function)

dbd_mysql.c:700: warning: cast to pointer from integer of different size

make[3]: *** [dbd_mysql.lo] Error 1

make[2]: *** [all-recursive] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2

*** Error during phase build of libdbi-drivers: ########## Error running
make -j 3 *** [2/2]




On Tue, Oct 1, 2013 at 10:36 AM, Derek Atkins <warlord at mit.edu> wrote:

> Hi,
>
> I'm not a Mac user, but my understanding is that all you need is the
> MySQL libdbi DBD driver.  So:
>
> Benjamin Martens <bdmartens at gmail.com> writes:
>
> [snip]
> > With regards to getting GnuCash installed on OSX, with MySQL enabled,
> > this is my understanding of the steps.  Please let me know if I am
> > wrong:
> >
> > 1) Install GnuCash  (may simply use the apropriate (intel vs ppc)
> > pre-packaged dmg from the gnucash website).
> >  - easy
> >  - in looking through the documentation, it seems like you don't have
> > to compile the application yourself anymore, so it should have the
> > capability to see the MySQL module when it is added
>
> Right.  No compilation here.
>
> > 2) Compile MySQL module
> >  - complicated
> >  - requires:
> >  -- Install MySQL for OSX
> >  -- Install XTools
> >  -- Install gtk-osx  (find instructions, follow them for its order /
> > dependencies / etc)
>
> Umm... I don't see why this is necessary.
>
> >  -- download .jhbuilrc-custom
> >  -----  modify the .jhbuildrc-custom script as documented within it to
> > enable mySQL
> >  -- run sanitycheck
> >  -- build the driver:  jhbuild build libdbi-drivers
>
> This shouldn't be necessary, either..  You can just build the driver any
> way you want
>
> >  --- potentially several dependencies to hunt down and install
> >   -- should produce the file: libdbdmysql.so
>
> Yep.
>
> > 3) Place the driver into: Gnucash.app/Contents/Resources/lib/dbd
> >  -- should be easy
>
> Yep.
>
> > 4) Open GnuCash, open MySQL location, and the rest should work easily.
> >  - with the awareness that GnuCash is a one-user-at-a-time
> > application, so only one person should be logged into the MySQL
> > database at a time.
>
> Exactly.
>
> So really you're over-complicating your life by using jhbuild to create
> the driver; you could use macports or possibly even homebrew to get it
> built.  Then you just need to copy it into GnuCash.
>
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>
> -derek
>
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord at MIT.EDU                        PGP key available
>


More information about the gnucash-user mailing list