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=gk4xCfw8UH5+5PvWVbiLWgyMxFKtrEUwR/pAbJcBj0Y=; b=IgVZ37HYIUicdTJUNq3Xp0tjmeI1NqA93ISyPHBbMnhhZllY5M4r1f68CvCSDnAS+O bUkQSEeD8351gvU98yWw95KDCzXiYhiey0qRLbdQ7M4wnJeT8UT6QFVlhWhMVmUllkBU V2iPvjmKssA1eP94OueGj/rHV+Plq1UivtmXDaAmMbJoeCjIX3tqSgRGjnUVgqeusbKp N9wdeSKI+4uGD/aQcvgy/U0eDIlrU0yRjpX3ihx9Sl2SVcXnCo2rJoU1IaTSSkP0XITU 19GIf+A0pwb2tR47qCBbKVwsMg9D7GUSBBBvRWmiAvM5cGrIJJnlONwWtatgEPSzugjV YklQ== 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=gk4xCfw8UH5+5PvWVbiLWgyMxFKtrEUwR/pAbJcBj0Y=; b=YPKXq+HEE4RPI8rPiyRQo+XGBaG+Pwfb7o+V1b6ok3hBhZkCrD45AMKQfwYLjSxpXy w8nkpCFcpBg4e8ihAIKC1dhpUrjyzf7B/Yg56btjm+2JhSz8QZGC2ZhhPFpbINQBztjz agfw2gcUOVhy1QdUogvfDQ/hur/MjK1v2117EQvtJsej5YxT8stQ3pA8uptmtI57dzdp m75+VaIn9d86iuSbfB/wfIsGdeGBfXEu6n7zQP4uQ74EESA26rlYq6+CQMlz5dnmIRm3 DvUH3oGhp4eEPayOL+9ConaN8mtNC1OBNtOTaOoRBOspbQTK8i0v0kIFCfk8zO9FjVqa 1mTw== X-Gm-Message-State: ALyK8tLf6IfGzIc+OJLouIFa68a1nFeraz3CT+n/7V7XxNJNPZ2b1g2iN61OmPyLWmmICw== X-Received: by 10.25.18.227 with SMTP id 96mr6908037lfs.183.1468513927704; Thu, 14 Jul 2016 09:32:07 -0700 (PDT) Date: Thu, 14 Jul 2016 19:32:05 +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: <20160714163205.GC4347@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5ca33aba-b993-d578-13bc-a11365005bf7@ecosensory.com> 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 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. -- Vladimir