Difficulty building on MacOSX (Mike Alexander)

Bob Gustafson bobgus at rcn.com
Fri May 8 18:16:58 EDT 2015


Or Homebrew (brew)

Bob G

> On May 8, 2015, at 11:30, Glen Jones <glen at jones.no-ip.net> wrote:
> 
> Mike try looking at FINK (i.e. download and install) use that to
> download gnucash, then build from from source.
> 
> It will get everything you need to compile GNU CASH, and build it. :)
> Then if you wish to lookat/change the source you can; as you know you
> have all the dependencies and appropriate make files.
> 
> It might fast track you if you want to build from scratch changing whats
> linked in and some of the GNUCash build options.
> 
> Hope thats clear/helps
> Glen
> 
> 
> On Fri, 2015-05-08 at 12:00 -0400, gnucash-devel-request at gnucash.org
> wrote:
>> Send gnucash-devel mailing list submissions to
>> 	gnucash-devel at gnucash.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> or, via email, send a message with subject or body 'help' to
>> 	gnucash-devel-request at gnucash.org
>> 
>> You can reach the person managing the list at
>> 	gnucash-devel-owner at gnucash.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of gnucash-devel digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Re: Difficulty building on MacOSX (Mike Alexander)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Thu, 07 May 2015 16:58:47 -0400
>> From: Mike Alexander <mta at umich.edu>
>> To: John Ralls <jralls at ceridwen.us>
>> Cc: gnucash-devel at gnucash.org
>> Subject: Re: Difficulty building on MacOSX
>> Message-ID: <54A9482539DF7D416D66DAB7 at bayswater.msalexander.com>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> 
>> --On May 7, 2015 at 7:19:49 AM -0700 John Ralls <jralls at ceridwen.us> 
>> wrote:
>> 
>>> Surely you didn?t rebuild libc just to get a 64-bit time_t. What
>>> motivated you? Since you went to the work of replacing libc and the
>>> headers in your SDK (and have to redo it every time Apple pushes an
>>> Xcode upgrade), why not upgrade your TZ database as well?
>>> 
>> 
>> No, I didn't rebuild libc or anything like that.
>> 
>> When I compile gnc-timezone.cpp the command used is
>> 
>> clang++ -DHAVE_CONFIG_H -I. -I../../../../../gnucash/src/libqof/qof 
>> -I../../.. -I../../../../../gnucash/lib/libc 
>> -I../../../../../gnucash/src -D_REENTRANT -I/opt/local/include/glib-2.0 
>> -I/opt/local/lib/glib-2.0/include -I/opt/local/include 
>> -I/opt/local/include -DG_LOG_DOMAIN=\"qof\" -I/opt/local/include 
>> -DDUMP_FUNCTIONS -Werror -Wall -Wno-unused -Wno-deprecated-register 
>> -std=gnu++11 -g -O0 -MT gnc-timezone.lo -MD -MP -MF 
>> .deps/gnc-timezone.Tpo -c 
>> ../../../../../gnucash/src/libqof/qof/gnc-timezone.cpp  -fno-common 
>> -DPIC -o .libs/gnc-timezone.o
>> 
>> In this compilation, time_t is defined in 
>> /usr/include/sys/_types/_time_t.h as
>> 
>>   typedef __darwin_time_t time_t;
>> 
>> __darwin_time_t is defined in /usr/include/i386/_types.h as
>> 
>>   typedef long __darwin_time_t;
>> 
>> I'm using
>> 
>> Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
>> Target: x86_64-apple-darwin14.3.0
>> Thread model: posix
>> 
>> to compile this.   It's located in /usr/bin/clang++.
>> 
>> In that compilation sizeof(long) is 8.
>> 
>> /etc/localtime is a symlink to /usr/share/zoneinfo/America/Detroit 
>> which was last changed on Nov. 16.  I've never touched that file, or 
>> either of the include files, myself.  I don't know why my machine is 
>> different from yours.
>> 
>>          Mike
>> 
>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> 
>> 
>> ------------------------------
>> 
>> End of gnucash-devel Digest, Vol 146, Issue 10
>> **********************************************
> 
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel



More information about the gnucash-devel mailing list