2009/3/27 David Pratt <[email protected]>:
> My steps for 3.0a complile are
>
> clone from git repo
> ./acprep submodule
> ./acprep version
> sh ./autogen.sh
> ./configure --prefix=/tmp/ledger CPPFLAGS='-I/opt/local/include
> -I/opt/local/include/boost-1_38 -I/opt/local/include/python2.5' LDFLAGS='-g
> -L/opt/local/lib -L/opt/local/lib/python2.5/config' CXXFLAGS='-ansi -Wall
> -Wcast-align -Wcast-qual -Wfloat-equal -Wmissing-field-initializers
> -Wno-endif-labels -Woverloaded-virtual -Wsign-compare -Wsign-promo
> -Wstrict-null-sentinel -Wwrite-strings -Wno-old-style-cast -Wno-deprecated'
> --with-boost-suffix=-xgcc40-mt-1_38
> make
> (doesn't make it past make at this point)
David. I might have some good news for you. I think there's a problem
with Apple's gcc, so maybe use one from Macports.
I did
sudo port install boost +python25+st gmp mpfr gettext libedit \
cppunit texlive doxygen graphviz texinfo lcov \
sloccount pcre libofx expat gcc43
I'm not sure that gcc43 is strictly necessary, though.
Ensure that Apple's gcc isn't being used:
if [ -f /usr/bin/gcc ] ; then mv /usr/bin/gcc.ori ; fi
Start a new shell, just to be sure.
Then I did
git clone ledger temp
This should create a vanilla build directory.
Now do
./acprep update
This now builds successfully for me. I can do
./ledger
for deep accounting joy :)
Let me know how how you get on.
Regards,
Mark.