delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2015/01/07/11:43:42

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <54AD0591.6030201@philippklostermann.de>
Date: Wed, 07 Jan 2015 11:08:17 +0100
From: Philipp Klostermann <geda AT philippklostermann DOT de>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] gsch2pcb or gnetlist -g gsch2pcb fails to generate
initial pcb
References: <53A1A7F1 DOT 7030600 AT philippklostermann DOT de> <53AAC15C DOT 6000901 AT philippklostermann DOT de> <1404130652 DOT 16971 DOT 11 DOT camel AT pcjc2lap> <53B15CB0 DOT 7070103 AT philippklostermann DOT de> <20140804113014 DOT GK24580 AT localhost DOT localdomain>
In-Reply-To: <20140804113014.GK24580@localhost.localdomain>
Reply-To: geda-help AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019