Radically improve autogen.sh

Peter O'Gorman peter at pogma.com
Sat Nov 5 21:30:47 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Williams wrote:
| Looks like my gnucash development on OSX has met a deadend.
|
| I can't test the changes that allow it to build this far and I can't
uninstall
| the 1.8 tree because G2 isn't ready yet. It's just too big a gap between 1.8
| and G2 - OSX just doesn't seem to able to work with both.
| :-((
|
| (If I didn't like guile/Scheme before, you can imagine how I feel now.)

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 usually make sure that I
have the latest automake, autoconf and libtool installed via fink, and have
fink's bin dir at the head of my path. I just tried autogen.sh on Mac OS X
10.4 with fink's autotools and it worked fine.

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'

Indeed, with gnu sed:
$ echo foo | sed -e 's/foo/bar/m'
bar
and with bsd sed:
$ echo foo | sed -e 's/foo/bar/m'
sed: 1: "s/foo/bar/m
": bad flag in substitute command: 'm'

:)

I quickly installed gnused and it's moving on.

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

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 :)

Hope this helps,
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ21q1riDAg3OZTLPAQJm+AQAueJCDFmwTPMtmSCyfQdfoenF2pZZxmv4
QoUP+OKaaMFMLMZC7S5VSgFj/rZXHF+OcNOdYh3D1JqF9nBjGuWVLB2fntfWcOYj
/9uwtrjgW6VPf0lFRGNNIDBBDJhKPwBlDVpy93GDtlXtUZcDAmAAOikVAdlRNht9
gukB4uqQf7Q=
=/WUS
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list