Hi Johann, John,
That works here. Thanks.
I updated the acprep script to load the dependencies for Ubuntu trusty,
that worked as well.
Attached updated acprep diff to this posting.
BR,
Hans Erik
On Wednesday, May 7, 2014 7:10:52 PM UTC+2, Johann Klähn wrote:
>
> John, All,
>
> I think I may have found the culprit (regarding unique_ptr). In gcc debug
> builds `-ansi` was passed to the compiler. Can those of you that were
> experiencing this error pull the latest commit (
> https://github.com/ledger/ledger/commit/73caafa2c540384f19669567ed95b598fcf42463)
>
> and try to compile again?
>
>
> On Tue, May 6, 2014 at 6:33 PM, Jostein Berntsen
> <[email protected]<javascript:>
> > wrote:
>
>> On 04.05.14,10:20, Jostein Berntsen wrote:
>> > On 02.05.14,15:40, thierry wrote:
>> > > On vanilla Ubuntu 14.04, I managed to compile, with some trick:
>> > >
>> > > a) Install dependencies, the following were the minimum for me:
>> > > build-essential cmake doxygen libboost-system1.55-dev
>> libboost1.55-dev
>> > > python-dev gettext git libboost-date-time1.55-dev
>> > > libboost-filesystem1.55-dev libboost-iostreams1.55-dev
>> > > libboost-python1.55-dev libboost-regex1.55-dev libboost-test1.55-dev
>> > > libedit-dev libgmp3-dev libmpfr-dev texinfo
>> > >
>> > > b) Clone repository :
>> > > git clone git://github.com/ledger/ledger.git
>> > >
>> > > c) Change directory to ledger, then :
>> > > ./acprep update
>> > > --> this fails as described in first post from James
>> > >
>> > > d) Launch compilation via:
>> > > cmake . -DUSE_DOXYGEN=1 -DUSE_PYTHON=1
>> > > make
>> > >
>> > > e) Check if everything looks ok:
>> > > make check
>> > >
>> > > I have tried a+b+d : it fails.
>> > > Only a+b and then (d+c or c+d) works.
>> > >
>> > > I believe there is something missing in acprep script.
>> > >
>> > >
>> >
>> > Thanks, Thierry. This seems to work for me as well in Slackware 14.1:
>> >
>> > First:
>> >
>> > Install the slackbuild ledger package (v.2.6.3)
>> > Upgrade from boost 1.54.0 to boost 1.55.0.
>> >
>> > Then:
>> >
>> > Clone the ledger repo
>> > cmake . -DUSE_DOXYGEN=1 -DUSE_PYTHON=1
>> > ./acprep update
>> >
>> >
>> > Will also check in Cygwin next week.
>> >
>>
>> I tried the same in Cygwin and then running these commands:
>>
>> cmake -G "Unix Makefiles"
>> cmake . -DUSE_DOXYGEN -DUSE_PYTHON
>> make clean
>> make
>>
>> Then it first errors out early at the setenv function in report.h.
>> Removing this
>> code makes it error out at popen and pclose in quote.cc at 53%. Any ideas?
>>
>> Jostein
>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Ledger" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/acprep b/acprep
index f9fb74d..0b8006d 100755
--- a/acprep
+++ b/acprep
@@ -71,6 +71,16 @@ class BoostInfo(object):
if system == 'centos':
return [ 'boost-devel' ]
+ elif system == 'ubuntu-trusty':
+ return [ 'autopoint',
+ 'libboost1.55-dev',
+ 'libboost-test1.55-dev',
+ 'libboost-regex1.55-dev',
+ 'libboost-date-time1.55-dev',
+ 'libboost-filesystem1.55-dev',
+ 'libboost-iostreams1.55-dev',
+ 'libboost-python1.55-dev' ]
+
elif system == 'ubuntu-saucy' or system == 'ubuntu-precise':
return [ 'autopoint',
'libboost-dev',
@@ -563,7 +573,26 @@ class PrepareBuild(CommandLineApp):
release = open('/etc/lsb-release')
info = release.read()
release.close()
- if re.search('saucy', info):
+ if re.search('trusty', info):
+ self.log.info('Looks like you are using APT on Ubuntu Trusty')
+ packages = [
+ 'sudo', 'apt-get', 'install',
+ 'build-essential',
+ 'libtool',
+ 'cmake',
+ 'ninja-build',
+ 'zlib1g-dev',
+ 'libbz2-dev',
+ 'python-dev',
+ 'libgmp3-dev',
+ 'libmpfr-dev',
+ 'gettext',
+ 'libedit-dev',
+ 'texinfo',
+ 'lcov',
+ 'sloccount'
+ ] + BoostInfo().dependencies('ubuntu-trusty')
+ elif re.search('saucy', info):
self.log.info('Looks like you are using APT on Ubuntu Saucy')
packages = [
'sudo', 'apt-get', 'install',