Dear All,

I have managed to get through and install all the important  libraries
however now I have another problem : the automake failed and execution
failed.

ERROR: automake failed
acprep: ERROR: Execution failed: sh tools/autogen.sh



~/ledger$ ./acprep update
acprep: INFO: Invoking primary phase: update
acprep: INFO: Executing phase: update
acprep: INFO: Executing phase: pull
Already up-to-date.
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: autoconf
acprep: INFO: autogen.sh must be run because acprep is newer than configure
acprep: INFO: Executing phase: autogen
Preparing the ledger build system...please wait

Found GNU Autoconf version 2.67
Found GNU Automake version 1.11.1
Found GNU Libtool version 2.2.6b

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... configure.ac:25: required file `./config.rpath' not
found
configure.ac:440: required file `intl/Makefile.in' not found
Makefile.am:4: required directory ./po does not exist
Makefile.am:4: required directory ./intl does not exist
Makefile.am:303: variable `ReportTests_SOURCES' is defined but no program or
Makefile.am:303: library has `ReportTests' as canonical name (possible typo)
Makefile.am:298: variable `DataTests_SOURCES' is defined but no program or
Makefile.am:298: library has `DataTests' as canonical name (possible typo)
Makefile.am:306: variable `ReportTests_LDADD' is defined but no program or
Makefile.am:306: library has `ReportTests' as canonical name (possible typo)
Makefile.am:301: variable `DataTests_LDADD' is defined but no program or
Makefile.am:301: library has `DataTests' as canonical name (possible typo)
ERROR: automake failed
acprep: ERROR: Execution failed: sh tools/autogen.sh


Any suggestions?

Thanks and Regards
ST


On Mon, Oct 31, 2011 at 1:20 AM, Kunal Ahuja <[email protected]> wrote:

> Dear All,
>
> Been trying to run install Ledger 3.0 on Ubunt 11.04
>
> Tried to run ./acprep update and ./acprep dependencies.
>
> I got the error message as follows :-
>
> ~/ledger$ ./acprep update
> acprep: INFO: Invoking primary phase: update
> acprep: INFO: Executing phase: update
> acprep: INFO: Executing phase: pull
> Already up-to-date.
> acprep: INFO: Executing phase: submodule
> Submodule 'lib/utfcpp' (git://github.com/jwiegley/utfcpp.git) registered
> for path 'lib/utfcpp'
> Cloning into lib/utfcpp...
> remote: Counting objects: 32, done.
> remote: Compressing objects: 100% (23/23), done.
> remote: Total 32 (delta 9), reused 32 (delta 9)
> Receiving objects: 100% (32/32), 18.94 KiB | 4 KiB/s, done.
> Resolving deltas: 100% (9/9), done.
> Submodule path 'lib/utfcpp': checked out
> '7875c17d76168b566805405c90cc34df2c364d33'
> acprep: INFO: Executing phase: make
> acprep: INFO: Executing phase: config
> acprep: INFO: Executing phase: submodule
> acprep: INFO: Executing phase: autoconf
> acprep: INFO: autogen.sh must be run because acprep is newer than configure
> acprep: INFO: Executing phase: autogen
> Preparing the ledger build system...please wait
>
> ERROR:  Unable to locate GNU Autoconf.
>
> ERROR:  To prepare the ledger build system from scratch,
>         at least version 2.52 of GNU Autoconf must be installed.
>
> autogen.sh does not need to be run on the same machine that will
> run configure or make.  Either the GNU Autotools will need to be installed
> or upgraded on this system, or autogen.sh must be run on the source
> code on another system and then transferred to here. -- Cheers!
>
> acprep: ERROR: Execution failed: sh tools/autogen.sh
> kunal@kunal-ThinkPad-X220:~/ledger$ ./acprep dependencies
> acprep: INFO: Invoking primary phase: dependencies
> acprep: INFO: Executing phase: dependencies
> acprep: INFO: Installing Ledger's build dependencies ...
> acprep: ERROR: Caught exception
> Traceback (most recent call last):
>   File "./acprep", line 361, in run
>     exit_code = self.main(*main_args)
>   File "./acprep", line 573, in main
>     PrepareBuild.__dict__['phase_' + cmd](self, *args)
>   File "./acprep", line 925, in phase_dependencies
>     self.log.info('Executing: ' + string.join(packages, ' '))
> UnboundLocalError: local variable 'packages' referenced before assignment
> kunal@kunal-ThinkPad-X220:~/ledger$ ./acprep dependencies
> acprep: INFO: Invoking primary phase: dependencies
> acprep: INFO: Executing phase: dependencies
> acprep: INFO: Installing Ledger's build dependencies ...
> acprep: ERROR: Caught exception
> Traceback (most recent call last):
>   File "./acprep", line 361, in run
>     exit_code = self.main(*main_args)
>   File "./acprep", line 573, in main
>     PrepareBuild.__dict__['phase_' + cmd](self, *args)
>   File "./acprep", line 925, in phase_dependencies
>     self.log.info('Executing: ' + string.join(packages, ' '))
> UnboundLocalError: local variable 'packages' referenced before assignment
> kunal@kunal-ThinkPad-X220:~/ledger$ ./acprep dependencies
> acprep: INFO: Invoking primary phase: dependencies
> acprep: INFO: Executing phase: dependencies
> acprep: INFO: Installing Ledger's build dependencies ...
> acprep: ERROR: Caught exception
> Traceback (most recent call last):
>   File "./acprep", line 361, in run
>     exit_code = self.main(*main_args)
>   File "./acprep", line 573, in main
>     PrepareBuild.__dict__['phase_' + cmd](self, *args)
>   File "./acprep", line 925, in phase_dependencies
>     self.log.info('Executing: ' + string.join(packages, ' '))
> UnboundLocalError: local variable 'packages' referenced before assignment
>
> Any ideas?
>
>
> On Mon, Oct 31, 2011 at 12:59 AM, Kunal Ahuja <[email protected]> wrote:
>
>> Dear Mr.Craig,
>>
>> Thanks. Will try to install the libraries. if I am unable to install I
>> will contact you once again or will look for someone else on the forum.
>>
>> Appreciate your time and effort to help me on this issue.
>>
>> Regards
>> ST
>>
>> On Mon, Oct 31, 2011 at 12:56 AM, Craig Earls <[email protected]> wrote:
>>
>>> ST,
>>>      OK, that's the mpfr library that it can't find.  I will fire up
>>> ubuntu later today and walk you through how to get the various libraries
>>> installed.  I won't be able to get back to you for several hours.
>>>
>>> If you can't wait, go into the ubuntu package manager and look for the
>>> mpfr library and install it.  Repeat that for each thing ledge configure
>>> can't find.
>>>
>>> On Sun, Oct 30, 2011 at 10:50, Kunal Ahuja <[email protected]> wrote:
>>>
>>>> Dear Mr.Craig,
>>>>
>>>> Thanks once again. I did it and I got a few errors as posted below:-
>>>>
>>>> checking where .elc files should go... ${datadir}/emacs/site-lisp
>>>> checking if pipes can be used... true
>>>> checking if GMP is available... true
>>>> checking if MPFR is available... false
>>>> configure: error: in `/home/kunal/ledger-pkg':
>>>> configure: error: "Could not find mpfr library 2.4.0 or higher (set
>>>> CPPFLAGS and LDFLAGS?)"
>>>> See `config.log' for more details.
>>>>
>>>> Any suggestions?
>>>>
>>>> Thanks
>>>> ST
>>>>
>>> --
>>> Craig, Corona De Tucson, AZ
>>> enderw88.wordpress.com
>>>
>>
>>
>

Reply via email to