OK, this last thing was ultimately my fault. At one time I had a space in the LDFLAGS environment variable and acprep stuck that in the makefile. When I fixed the environment variable, the Makefile still had the problem. Cleaning out the ledger directory and rebuilding everything fixed it.
In summary: For some reason, my build environment needed CPPFLAGS="-I/opt/local/include" and LDFLAGS="-L/opt/local/lib" in order to find the macports headers and libraries. Everything looks good now. I hope I enjoy ledger! On Thu, Jul 28, 2011 at 11:03, Craig Earls <[email protected]> wrote: > There are some hints that this problem may be related to libtool. I > have libtool @2.4_1 (active) > > What do those of you who can successfully build the latest on 10.6.8 > have installed/active? > > On Thu, Jul 28, 2011 at 10:43, Craig Earls <[email protected]> wrote: >> Tha saga continues. I added CPPFLAGS="-I/opt/local/lib" and >> LDFLAGS="-L/opt/local/lib" and got into the build stage. The build >> then failed at >> >> CXXLD libledger_report.la >> libtool: link: require no space between `-L' and `/opt/local/lib' >> make[2]: *** [libledger_report.la] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> acprep: ERROR: Execution failed: make >> >> I double checked and I put no whitespace between the flag and the >> entry in the LDFLAGS definition... >> >> On Thu, Jul 28, 2011 at 08:24, Craig Earls <[email protected]> wrote: >>> Xcode 4.0.2. I admit to treating Macports like a black box and I >>> have not really explored it much. I will look into having it build >>> only the intel binaries vice universal. >>> >>> On Thu, Jul 28, 2011 at 08:14, Zack Williams <[email protected]> wrote: >>>> On Thu, Jul 28, 2011 at 5:19 AM, Craig Earls <[email protected]> wrote: >>>>> It gets better. I decided to take extreme measures and nuke my entire >>>>> macports installation. I cleaned out every nook and cranny, reloaded >>>>> macport 2.0.0. Ran acprep dependencies, and a long time later ran >>>>> acprep. It failed to find mpfr, even though "port insalled" showed >>>>> "mpfr @3.0.1-p3_0+universal (active)". >>>> >>>> This looks like a path issue - is there a "--with-mpfr=" option that >>>> would allow you to specify where mpfr was installed? >>>> >>>> Which version of Xcode are you running? >>>> >>>> There are some known bugs with "universal" installation variants in >>>> MacPorts - have you tried building non-universal versions of mpfr and >>>> the like? >>>> >>>> - Zack >>>> >>> >>> >>> >>> -- >>> Craig, Corona De Tucson, AZ >>> 2008 Brunton Super Stalker >>> 1989 BMW K75 Hannigan >>> enderw88.wordpress.com >>> >> >> >> >> -- >> Craig, Corona De Tucson, AZ >> 2008 Brunton Super Stalker >> 1989 BMW K75 Hannigan >> enderw88.wordpress.com >> > > > > -- > Craig, Corona De Tucson, AZ > 2008 Brunton Super Stalker > 1989 BMW K75 Hannigan > enderw88.wordpress.com > -- Craig, Corona De Tucson, AZ 2008 Brunton Super Stalker 1989 BMW K75 Hannigan enderw88.wordpress.com
