2009/3/28 David Pratt <[email protected]>: > > Hi Mark, thanks for your message. I was thinking of compiling a new gcc but > want to exhaust the options with the built in 4.0.1 complier first since it > is less work. There is an issue with the built-in autoconf. I'll need a > new autoconf to recognize the new version of libtool properly. The version > of libtool apple puts on the system is old and I believe is the source of > the problem. Can you tell me what version of autoconf, automake and libtool > are on your system. Would really appreciate this. > > The two ./acprep stages I do first allows me to use autogen directly with > configure. They get the other bits needed for the compile. ./acprep update > is a 'do it all for you' script. The parameters are not right for my > locations so have chosen to use configure for control. In fact I had > modified the acprep script for the stock compiler and locations in some of > my initial attempts a few days ago. Its sort of an all or nothing approach > with macports because I use /opt/local for my own builds and macports would > want to use this as well. Its comforting to know that the macports solution > works since it means I ought to be able to eliminate the blockers to > successfully compiling without it. Many thanks.
Here's my info: autoconf : /opt/local/bin/autoconf : autoconf (GNU Autoconf) 2.63 automake : /opt/local/bin/automake : automake (GNU automake) 1.10.2 g++ : /usr/bin/g++ : i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) libtool : /usr/bin/libtool : Apple Computer, Inc. version cctools-667.3 I have used "which NNN" and "NNN --version" to determine the location and version numbers, so I'm confident (well, as far as can be) that what I've told you above is what ledger uses to compile its programs. I don't think it's necessary to install a compiler from MacPorts (contrary to a previous posting by me). However, the Apple-supplied gcc does seem to create problems (Apple seems to have a knack of using b0rked implementations. It's times like these that make me think of switching to Ubuntu and never going back!). That's why I do CC=g++ ; ./acprep update I think it's also worthwhile doing a git clone ledger ledger-build-attempt to make sure there's no weirdy things floating around which is making the build fail.
