OSX build : was (Re: Radically improve autogen.sh)

Neil Williams linux at codehelp.co.uk
Sun Nov 6 10:11:04 EST 2005


On Sunday 06 November 2005 2:30 am, Peter O'Gorman wrote:
> Hi Neil,
> You seem to have lots of truoble with bad auto* versions (iirm 10.3 shipped
> with autoconf 2.57 and automake 1.6) and so on.

I still am. Despite all today's changes, I STILL have exactly the same problem 
with the guile conversion in src/engine.

srfi and srfi-2 are not being found.

> I usually make sure that I 
> have the latest automake, autoconf and libtool installed via fink,

Done that.

> and have 
> fink's bin dir at the head of my path.

Done that too. That changed the way that autogen.sh ran but didn't change how 
the code compiled after a make distclean.

> I just tried autogen.sh on Mac OS X 
> 10.4 with fink's autotools and it worked fine.

10.3 is not working out.

> I immediately ran into trouble though :-p
> cat -s tip_of_the_day.list.tmp | sed -e 's/^ *\"\(.*\)\" *$/\1/m' >
> tip_of_the_day.list
> sed: 1: "s/^ *\"\(.*\)\" *$/\1/m
> ": bad flag in substitute command: 'm'

r11854 has fixed that problem, permanently.

> You need to make sure that the guile at the head of your path is guile-1.6,
> which has those extnesions that it was complaining about, I always do:
> guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include configure...
> guile16-build env LIBRARY_PATH=/sw/lib CPATH=/sw/include make

I'll have to add that guile16-build command to make as well by the looks of 
it.

> Note that if someone could change all those FLAVOR=gnome guile -c in the
> Makefile.am's to FLAVOR=gnome $(GUILE) -c and AC_SUBST(GUILE) life would be
> easier :)

Well, so far, the extra guile16-build command has got the make further than 
before - it's now proceeding through src/engine rather than simply dying. 
It's looking a lot better than yesterday. Thanks, Peter.

(I'm documenting this in doc/build-osx.txt - please take a look and tell me if 
I've got the advice right.)

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20051106/47c3443a/attachment.bin


More information about the gnucash-devel mailing list