Re: For OS X users wanting to try out 3.0
On Mar 27, 2009, at 3:06 PM, Nils wrote: Perhaps I'm doing something wrong, but I can't seem to download it. Safari complains that it can’t load any data from this location and Cyberduck also fails. Please try again. My script was deleting the file after uploading it! John
Re: For OS X users wanting to try out 3.0
On Mar 23, 10:03 pm, John Wiegley jwieg...@gmail.com wrote: On Mar 23, 2009, at 4:50 PM, Vladimir Weinstein wrote: The binary in that image doesn't have the executable flag set. Once I copied the stuff out, and made it executable, it worked. Additionally, the ftp link didn't quite work. In Safari it fail, Firefox says this: The following URL could not be retrieved: ftp://ftp.newartisans.com/pub/ledger/ledger-current.dmg.zip Ok, everything should be fixed now. Please try again! John Perhaps I'm doing something wrong, but I can't seem to download it. Safari complains that it can’t load any data from this location and Cyberduck also fails. Nils
Re: For OS X users wanting to try out 3.0
2009/3/24 John Wiegley jwieg...@gmail.com: On Mar 24, 2009, at 5:20 PM, Mark Carter wrote: src/filters.cc:756: error: expected `)' before string constant Thanks, I've fixed it and will push in about 10 mins. Thanks John. I've managed to get a build now, so I'm keen to flex ledger's muscles, and see what it can do. I have made a few notes about building on Ibex, which can be found here http://mcarter.myzen.co.uk/ledger/ledger.htm for anyone interested.
Re: For OS X users wanting to try out 3.0
On Mar 24, 2009, at 5:20 PM, Mark Carter wrote: src/filters.cc:756: error: expected `)' before string constant Thanks, I've fixed it and will push in about 10 mins. John
Re: For OS X users wanting to try out 3.0
On 18 Mar, 08:47, John Wiegley jo...@newartisans.com wrote: The advantage here is that you don't have to build Boost, don't have to install MacPorts to get GMP and MFPR, don't have to do anything. A multi-hour confusing build process is eliminated, and you can just run Ledger right away. Amen to that! I have always encountered one problem or another compiling it on Ubuntu or OS X. I think you are/were using a very recent version of one of the libraries that isn't in Ibex, for example. So I had decided to push Ledger into the background and wait for Jaunty to come out. I'm tempted to take 3.0 out for a spin on OS X to see what's it's like. My problem is that I can't work out which OS I like best. I like OS X, but MacPorts is imperfect, and there seems too many ways to do one thing (there seems to be umpteen versions of Python one can use from various sources). Ubuntu has some advantages over OS X in some ways. I had Firefox running on OS X, and also displayed on OS X from my Ibex box via ssh -X. Man'o'man, those Ubuntu boys have got a long way to go before they even get close to the polish of OS X. I also like Slackware. It's got a very zippy feel to it. The problem with Slackware is, after ages trying to install yet one more dependency, I think to myself why am I punishing myself like this. Let me know if this works for others. I have managed to get it working. I had taken a look at ledger in the past, but rejected it on account of it not doing exactly what I wanted. Given the news that it has had a major revamp, I am keen to re- evaluate it. Keep up the good work, John, I appreciate what you're doing for the open-source community.
Re: For OS X users wanting to try out 3.0
Do I have to set some environment variables? I get weiv-mac:~$ /Volumes/ledger-3.0a/ledger --version dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib Referenced from: /Volumes/ledger-3.0a/libmpfr.1.dylib Reason: image not found Trace/BPT trap Regards, v. On Wed, Mar 18, 2009 at 1:47 AM, John Wiegley jo...@newartisans.com wrote: I discovered the tool install_name_tool today, which lets me edit an executable file's shared library dependency paths. Long story short, I think I can now make Ledger interim builds for OS X that don't require any installation! The disk image is here: http://ftp.newartisans.com/pub/ledger/ledger-3.0a.dmg Just mount it, and then run Ledger directly from it: $ /Volumes/ledger-3.0a/ledger --version The advantage here is that you don't have to build Boost, don't have to install MacPorts to get GMP and MFPR, don't have to do anything. A multi-hour confusing build process is eliminated, and you can just run Ledger right away. Let me know if this works for others. If so, I'll update the disk image as part of my regular build process. Each time before I merge into master these days, I run a proof build, and I can put those results up on FTP. John
Re: For OS X users wanting to try out 3.0
On Mar 23, 2009, at 9:58 AM, Vladimir Weinstein wrote: Do I have to set some environment variables? I get weiv-mac:~$ /Volumes/ledger-3.0a/ledger --version dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib Referenced from: /Volumes/ledger-3.0a/libmpfr.1.dylib Reason: image not found Trace/BPT trap Excellent! I know what the problem is and will have it fixed shortly. John
Re: For OS X users wanting to try out 3.0
On Mar 23, 2009, at 4:04 PM, Vladimir Weinstein wrote: Any news on gnucash file format support in 3.0? I am dropping Gnucash support from within Ledger. What we can do is port the old C++ code to Python, so it can be run as a filter, piped into Ledger. John
Re: For OS X users wanting to try out 3.0
So you'd suggest to do conversion from gnucash's xml format into ledger's format. I still would like to use gc, mainly because it is easy for me to import OFXs from my banks. I suspect I should be able to keep my file as gc and then just convert it when I want to do ledger analysis. Where is the conversion logic? I might take a stab at it. Regards, v. On Mon, Mar 23, 2009 at 1:15 PM, John Wiegley jwieg...@gmail.com wrote: On Mar 23, 2009, at 4:04 PM, Vladimir Weinstein wrote: Any news on gnucash file format support in 3.0? I am dropping Gnucash support from within Ledger. What we can do is port the old C++ code to Python, so it can be run as a filter, piped into Ledger. John
Re: For OS X users wanting to try out 3.0
The binary in that image doesn't have the executable flag set. Once I copied the stuff out, and made it executable, it worked. Additionally, the ftp link didn't quite work. In Safari it fail, Firefox says this: The following URL could not be retrieved: ftp://ftp.newartisans.com/pub/ledger/ledger-current.dmg.zip Squid sent the following FTP command: RETR ledger-current.dmg.zip and then received this reply Failed to open file. This might be caused by an FTP URL with an absolute path (which does not comply with RFC 1738). If this is the cause, then the file can be found at ftp://ftp.newartisans.com/%2f/pub/ledger/ledger-current.dmg.zip. However I was able to access the directory and link target. Regards, v. On Mon, Mar 23, 2009 at 1:36 PM, John Wiegley jwieg...@gmail.com wrote: On Mar 23, 2009, at 4:04 PM, Vladimir Weinstein wrote: But seriously, having ledger work out of box would be great. I have not been able to build a working version 3.0 using macports. Please try this: ftp://ftp.newartisans.com/pub/ledger/ledger-current.dmg.zip In future, this will be the filename for the current master branch build. John
Re: For OS X users wanting to try out 3.0
Yup, works now. You could probably skip the zipping, as the compressed image is not much larger. Thanks! Regards, v. On Mon, Mar 23, 2009 at 2:03 PM, John Wiegley jwieg...@gmail.com wrote: On Mar 23, 2009, at 4:50 PM, Vladimir Weinstein wrote: The binary in that image doesn't have the executable flag set. Once I copied the stuff out, and made it executable, it worked. Additionally, the ftp link didn't quite work. In Safari it fail, Firefox says this: The following URL could not be retrieved: ftp://ftp.newartisans.com/pub/ledger/ledger-current.dmg.zip Ok, everything should be fixed now. Please try again! John
Re: For OS X users wanting to try out 3.0
Hey John, this is not a completely clean test, since I also have those libs installed from source, but I double-clicked the ledger icon on osx leopard and was rewarded with ledger's interactive prompt in a terminal window, where I could run multiple queries against my ledger file. Very nice! I guess it used the LEDGER_FILE I have defined in ~/.bash_profile.