Mail Archives: geda-help/2015/01/07/11:43:42
Am 04.08.2014 um 13:30 schrieb Vladimir Zhbanov:
> On Mon, Jun 30, 2014 at 02:48:48PM +0200, Philipp Klostermann wrote:
>> Am 30.06.2014 14:17, schrieb Peter Clifton:
>>> It sounds like your guile version may not be providing the
>>> (ensure-batch-mode!) method.
>>>
>>> Could you check which version of the guile package(s) you have
>>> installed, and additionally, report the output of:
>>>
>>> guile --version.
>>>
>>> Try tab-completing guile<tab> at the command prompt, and see what other
>>> versions are available. For example, I have guile-1.8 and guile-2.0
>>
>> albus:~# guile --version
>> guile (GNU Guile) 2.0.5-deb+1-3
>
> I have the same version of guile and all works fine.
>>
>> License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>> albus:~# guile
>> guile guile-1.8 guile-2.0 guile-config guile-snarf
>> guile-tools
>> albus:~# guile
>>
>> I've found out, that (ensure-batch-mode!) is deprecated, but I couldn't
>> find any information, that it's not available, anymore.
>
> If I say:
> locate '*.scm'|grep guile|xargs grep -l "ensure-batch-mode"
> I have
> /usr/share/guile/2.0/ice-9/boot-9.scm
> /usr/share/guile/2.0/ice-9/deprecated.scm
> /usr/share/guile/2.0/ice-9/popen.scm
> /usr/share/guile/2.0/ice-9/scm-style-repl.scm
>
> If you look at deprecated.scm you can find a line which reads:
> "`set-batch-mode?!' is deprecated. Use `ensure-batch-mode!' instead."
> So "ensure-batch-mode" is not deprecated. It is a new function.
>
> The following command
> dlocate /usr/share/guile/2.0/ice-9/boot-9.scm
> shows that the 'ensure-batch-mode' procedure lives in guile-2.0-libs. Is
> this package installed on your system? Try to reinstall it together with
> guile.
>
>>
>> Maybe it has something to do with the other problems that I had, that
>> relate to my automake version 1.11.6?
>
> I suspect something is wrong with your guile installation. Does the
> command:
> guile -c 'ensure-batch-mode!'
> work for you?
>
Well, I was an idiot. :-D
After leaving the problem beside for a while (having a working
installation on another maschine) I checked the guile subject, and just
found out, that though I had guile-2.0 installed, I also had guile-1.8
installed, and guile-2.0 didn't have the -dev package installed, but
guile-1.8 did.
I think, this is why on the command line guile-2 was called, but the
programs used guile-1.8.
Since I just removed all guile-1.8 related packages, installed
guile-2.0-dev and re-built everything, gsch2pcb & xgsch2pcb work fine!
- Raw text -