X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AYH0HHKOPDm+7JJxZ/vsyVH8OwVPYToDJ6ARQBnw6dE=; b=qvlKDQb47bEc4McPg+/8hQ5wpzzZWgHrPlOv+Dj+siRB51Li9a5HkL5LrIDZgPCM4K Qwnw8Z/hAj5OZ0xblegB915UEVxR20hsQequH6GrWhh81fjOLRf+rI+OM5Ef2JWqMEmN CAjgAc7HnBGO+jSvLW06KQylr6wE2m017j+JQbYi396JP/QT6bp35r5Dghf/HlTtwcGn PCYpv/BqKqETZ7gWpev95jBOgmo1Nz7XMWQI9XFmBNydOEVkB1B0/K9+W/c93YNBxHrp UmiOCiOGm7FwvERn1C/Hig1wNtO77+NR0l4A2sa6tcVor7xoSW/Xxe5eRC3bUkdtQo6Z lTkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=AYH0HHKOPDm+7JJxZ/vsyVH8OwVPYToDJ6ARQBnw6dE=; b=hfl729p45rfxqIfxJtFwwbr6zQy1Flj8PgUDn8cNc7Zg99pEBAoxA+5egmaatOGdX6 bfkOdKYD3HeyJBuTxQa4NwjQj/1TCW6osyYXXuuE/KbA7ZOOg1+8kaNnp8rd91M5qidu qV54xIPQh/RZsfHjrVw8r2iPi1+1aeQiY5MUYxYltr7zpGjeRN/yZbLmrSjixED5WMqb DZHUpnZa2yzI6i1sG7Oh4I8eA2K3z+0h863FzOGssYi/SXEYIivrLr3oDqIPOq5ZjE+3 fIgGofm7cQynfhnsgQ9PAQbd3PLuW7/IqHIPjWeM6hNj/o1ELIINGSFIra9bLfTONVUP ktng== X-Gm-Message-State: ALyK8tIX5rXYMppPqGdhz14BQfF18h4FshcTEz2ZzekxFXe2PZ81iE/kcvD3Eis1gA5qbg== X-Received: by 10.46.1.195 with SMTP id f64mr7636740lji.24.1468514126614; Thu, 14 Jul 2016 09:35:26 -0700 (PDT) Date: Thu, 14 Jul 2016 19:35:24 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] can't run gschem, but can run gaf --version (Guile problems?) Message-ID: <20160714163524.GD4347@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <0e645e32-dda6-7762-a528-78c019331c4f AT ecosensory DOT com> <6647c170-2564-b2f8-5ee8-94cce01b26ec AT ecosensory DOT com> <20160714152917 DOT GA15540 AT localhost DOT localdomain> <18b0d745-7657-a81d-0807-f634651ea6fa AT ecosensory DOT com> <5ca33aba-b993-d578-13bc-a11365005bf7 AT ecosensory DOT com> <20160714163205 DOT GC4347 AT localhost DOT localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160714163205.GC4347@localhost.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, Jul 14, 2016 at 07:32:05PM +0300, Vladimir Zhbanov wrote: > On Thu, Jul 14, 2016 at 11:07:03AM -0500, John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com] wrote: > > On 07/14/2016 10:56 AM, gedau AT igor2 DOT repo DOT hu wrote: > > >did you try strace? > > > > stat("/usr/lib/x86_64-linux-gnu/guile/2.0/ccache/system/base/ck.go", {st_mode=S_IFREG|0644, st_size=4304, ...}) = 0 > > open("/usr/lib/x86_64-linux-gnu/guile/2.0/ccache/system/base/ck.go", O_RDONLY|O_CLOEXEC) = 11 > > fstat(11, {st_mode=S_IFREG|0644, st_size=4304, ...}) = 0 > > mmap(NULL, 4304, PROT_READ, MAP_PRIVATE, 11, 0) = 0x7f2ac5da7000 > > close(11) = 0 > > stat("/opt/geda/share/gEDA/scheme/srfi/srfi-9/gnu.scm", 0x7ffc73f045e0) = -1 ENOENT (No such file or directory) > > stat("/opt/geda/share/gEDA/scheme/srfi/srfi-9/gnu", 0x7ffc73f045e0) = -1 ENOENT (No such file or directory) > > > > > > This seems to say that > > /usr/lib/x86_64-linux-gnu/guile/2.0/ccache/system/base/ck.go > > > > asks for /opt/geda/share/gEDA/scheme/srfi/srfi-9/gnu.scm > > > > ? > > Guile tries to find scripts it needs in the directories specified > in %load-path. This variable can be also modified using the > GUILE_LOAD_PATH environment variable. It tries all the directories > it knows one by one to find any needed module. I've searched for > the ck.scm on my system: > dlocate ck.scm > ... > guile-2.0-libs:i386: /usr/share/guile/2.0/system/base/ck.scm > > So, it is a base system file, and if gschem cannot find it then > something is wrong with your guile installation. You can use also > 'locate' and 'find' to search for it. I don't know if ck.go is > needed, it should be compiled on the fly if the ck.scm is present. > > Besides, if one of the basic guile files is missing, guile itself > won't work, try just 'guile' in a terminal. > Sorry, apparently I misunderstood what you've written. Do the same wrt gnu.scm and gnu.go. If they are missing, something is wrong with your installation. I know Debian has some means to check packages, but I cannot remember/find what they are just now. -- Vladimir